Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40020

UNSCOREDEPSS 14%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 572c656802781cc57f4a3231eefa83547e75ed78; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 61b1dd4c614935169d12bdecc26906e37b508618; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 48822a59ecc47d353400d38b1941d3ae7591ffff; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 176c81cbf9c4e348610a421aad800087c0401f60; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 17edec1830e48c0becd61642d0e40bc753243b16; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < eb79ed970670344380e77d62f8188e8015648d94; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 394c58017e5f41043584c345106cae16a4613710; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < c443be70aaee42c2d1d251e0329e0a69dd96ae54
  • Anyone running Linux 3.4

Vulnerability facts

Affected
Linux >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 572c656802781cc57f4a3231eefa83547e75ed78; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 61b1dd4c614935169d12bdecc26906e37b508618; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 48822a59ecc47d353400d38b1941d3ae7591ffff; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 176c81cbf9c4e348610a421aad800087c0401f60; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 17edec1830e48c0becd61642d0e40bc753243b16; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < eb79ed970670344380e77d62f8188e8015648d94; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 394c58017e5f41043584c345106cae16a4613710; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < c443be70aaee42c2d1d251e0329e0a69dd96ae54; Linux 3.4
Fixed in
Linux 572c656802781cc57f4a3231eefa83547e75ed78, Linux 61b1dd4c614935169d12bdecc26906e37b508618, Linux 48822a59ecc47d353400d38b1941d3ae7591ffff, Linux 176c81cbf9c4e348610a421aad800087c0401f60, Linux 17edec1830e48c0becd61642d0e40bc753243b16, Linux 394c58017e5f41043584c345106cae16a4613710
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 572c656802781cc57f4a3231eefa83547e75ed78; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 61b1dd4c614935169d12bdecc26906e37b508618; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 48822a59ecc47d353400d38b1941d3ae7591ffff; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 176c81cbf9c4e348610a421aad800087c0401f60; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 17edec1830e48c0becd61642d0e40bc753243b16; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < eb79ed970670344380e77d62f8188e8015648d94; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 394c58017e5f41043584c345106cae16a4613710; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < c443be70aaee42c2d1d251e0329e0a69dd96ae54—cvelist
Linux3.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40020. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40020.md
Affected: Linux >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 572c656802781cc57f4a3231eefa83547e75ed78; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 61b1dd4c614935169d12bdecc26906e37b508618; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 48822a59ecc47d353400d38b1941d3ae7591ffff; >= bb4785551f64e18b2c8bb15…
Fixed in: Linux 572c656802781cc57f4a3231eefa83547e75ed78, Linux 61b1dd4c614935169d12bdecc26906e37b508618, Linux 48822a59ecc47d353400d38b1941d3ae7591ffff, Linux 176c81cbf9c4e348610a421aad800087c0401f60, Linux 17edec1830e48c0becd61642d0e40bc753243b16, Linux 394c58017e5f41043584c345106cae16a4613710

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40020 being exploited?

There is no confirmed exploitation: CVE-2025-40020 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40020?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40020?

Linux >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 572c656802781cc57f4a3231eefa83547e75ed78; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 61b1dd4c614935169d12bdecc26906e37b508618; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 48822a59ecc47d353400d38b1941d3ae7591ffff; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 176c81cbf9c4e348610a421aad800087c0401f60; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 17edec1830e48c0becd61642d0e40bc753243b16; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < eb79ed970670344380e77d62f8188e8015648d94; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < 394c58017e5f41043584c345106cae16a4613710; >= bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d, < c443be70aaee42c2d1d251e0329e0a69dd96ae54; Linux 3.4.

Is there a fix for CVE-2025-40020?

Yes. Fixed in Linux 572c656802781cc57f4a3231eefa83547e75ed78, Linux 61b1dd4c614935169d12bdecc26906e37b508618, Linux 48822a59ecc47d353400d38b1941d3ae7591ffff, Linux 176c81cbf9c4e348610a421aad800087c0401f60, Linux 17edec1830e48c0becd61642d0e40bc753243b16, Linux 394c58017e5f41043584c345106cae16a4613710. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40020?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors