CVE-2022-49659

can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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 to ensure skbs are sent from softirq context") the RX path for peripheral devices was switched to RX-offload.

Received CAN frames are pushed to RX-offload together with a timestamp. RX-offload is designed to handle overflows of the timestamp correctly, if 32 bit timestamps are provided.

The timestamps of m_can core are only 16 bits wide. So this patch shifts them to full 32 bit before passing them to RX-offload.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 to before c7333f79888497bfd75dcd02a94eaf836dd1042cAffected
  • 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 to before 2a2914a5bd7f38efe55a8372178146de82e0bce9Affected
  • 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 to before 4c3333693f07313f5f0145a922f14a7d3c0f4f21Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.54 through 5.15.*Not affected
  • 5.18.11 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.