# CVE-2025-40020: can: peak_usb: fix shift-out-of-bounds issue

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-10-24T12:24:56.311Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

can: peak_usb: fix shift-out-of-bounds issue

Explicitly uses a 64-bit constant when the number of bits used for its
shifting is 32 (which is the case for PC CAN FD interfaces supported by
this driver).

[mkl: update subject, apply manually]

(As written by CVE List.)

## Affected

- Linux Linux: from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 572c656802781cc57f4a3231eefa83547e75ed78; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 61b1dd4c614935169d12bdecc26906e37b508618; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 48822a59ecc47d353400d38b1941d3ae7591ffff; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 176c81cbf9c4e348610a421aad800087c0401f60; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 17edec1830e48c0becd61642d0e40bc753243b16; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before eb79ed970670344380e77d62f8188e8015648d94; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before 394c58017e5f41043584c345106cae16a4613710; from bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d before c443be70aaee42c2d1d251e0329e0a69dd96ae54; 3.4 (not affected: before 3.4; from 5.4.300 up to 5.4.*; from 5.10.245 up to 5.10.*; from 5.15.194 up to 5.15.*; from 6.1.155 up to 6.1.*; from 6.6.109 up to 6.6.*; from 6.12.50 up to 6.12.*; from 6.16.10 up to 6.16.*; from 6.17 up to *)

## References

- <https://git.kernel.org/stable/c/572c656802781cc57f4a3231eefa83547e75ed78>
- <https://git.kernel.org/stable/c/61b1dd4c614935169d12bdecc26906e37b508618>
- <https://git.kernel.org/stable/c/48822a59ecc47d353400d38b1941d3ae7591ffff>
- <https://git.kernel.org/stable/c/176c81cbf9c4e348610a421aad800087c0401f60>
- <https://git.kernel.org/stable/c/17edec1830e48c0becd61642d0e40bc753243b16>
- <https://git.kernel.org/stable/c/eb79ed970670344380e77d62f8188e8015648d94>
- <https://git.kernel.org/stable/c/394c58017e5f41043584c345106cae16a4613710>
- <https://git.kernel.org/stable/c/c443be70aaee42c2d1d251e0329e0a69dd96ae54>

## Sources

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

---

Page: https://cve.day/CVE-2025-40020 · Whole record: https://cve.day/CVE-2025-40020.json · Rebuilt by cve.day 2026-11-25T22:59:06.780Z
