# CVE-2022-49659: can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T02:23:57.411Z
- Modified: 2026-06-17T05:18:46.670Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 before c7333f79888497bfd75dcd02a94eaf836dd1042c; from 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 before 2a2914a5bd7f38efe55a8372178146de82e0bce9; from 1be37d3b0414e3db47f6fcba6c16286bbae0cb65 before 4c3333693f07313f5f0145a922f14a7d3c0f4f21; 5.13 (not affected: before 5.13; from 5.15.54 up to 5.15.*; from 5.18.11 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.13 before 5.15.54; from 5.16 before 5.18.11; 5.19

## References

- <https://git.kernel.org/stable/c/c7333f79888497bfd75dcd02a94eaf836dd1042c> (patch)
- <https://git.kernel.org/stable/c/2a2914a5bd7f38efe55a8372178146de82e0bce9> (patch)
- <https://git.kernel.org/stable/c/4c3333693f07313f5f0145a922f14a7d3c0f4f21> (patch)

## Sources

- CVE List: [CVE-2022-49659](https://www.cve.org/CVERecord?id=CVE-2022-49659), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49659](https://nvd.nist.gov/vuln/detail/CVE-2022-49659), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49659 · Whole record: https://cve.day/CVE-2022-49659.json · Rebuilt by cve.day 2026-11-25T22:58:20.789Z
