Timestamp Overflow Vulnerability in Linux Kernel CAN Module

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49659: In the Linux kernel, the following vulnerability has been resolved: can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits In commit 1be37d3b0414 ("can: m_can: fix periph RX path: use rx-offload t... Affects linux versions < 5.18.14-1. Fixed in 5.18.14-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is a core component of the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The CAN (Controller Area Network) module in the Linux kernel facilitates communication between devices in automotive and industrial applications. This vulnerability specifically affects the m_can module, which handles CAN communication, and is critical for ensuring accurate timestamping of received frames.

Vulnerability Detail

The vulnerability, identified as CVE-2022-49659, arises from the m_can module's handling of timestamps. The module originally utilized 16-bit timestamps, which are insufficient for RX-offload operations that expect 32-bit timestamps. This discrepancy can lead to incorrect timestamp handling, potentially causing data integrity issues in CAN communications. The issue was introduced in commit 1be37d3b0414, which switched the RX path for peripheral devices to RX-offload, thus exposing the vulnerability.

How To Fix

Minimum fixed version

5.18.14-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

CVE-2022-49659 is a significant vulnerability in the Linux kernel's m_can module that affects timestamp handling. Users are advised to update to the patched version 5.18.14-1 to ensure the integrity of CAN communications. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49659 is a vulnerability in the Linux kernel's m_can module that affects timestamp handling, potentially leading to data integrity issues.

If your system uses the m_can module for CAN communications, this vulnerability could result in incorrect timestamps, affecting the reliability of data transmission.

Yes, the patched version of the Linux kernel is 5.18.14-1. Users should update to this version to mitigate the vulnerability.

Yes, you can use Vulert to monitor your application for open-source vulnerabilities. It requires only a manifest file like package-lock.json to provide real-time alerts.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.18.14-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback