CVE-2025-40020 Details
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]
A shift-out-of-bounds vulnerability has been identified in the Linux kernel's USB CAN interface driver for PEAK-System Technik adapters. This issue arises because a 32-bit shift operation can inadvertently exceed the bounds of the data, particularly in PC CAN FD interfaces. The vulnerability has been addressed by modifying the code to use a 64-bit constant for the shift operation, preventing any out-of-bounds errors.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/176c81cbf9c4e348610a421aad800087c0401f60 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/17edec1830e48c0becd61642d0e40bc753243b16 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/394c58017e5f41043584c345106cae16a4613710 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/48822a59ecc47d353400d38b1941d3ae7591ffff | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/572c656802781cc57f4a3231eefa83547e75ed78 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/61b1dd4c614935169d12bdecc26906e37b508618 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c443be70aaee42c2d1d251e0329e0a69dd96ae54 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/eb79ed970670344380e77d62f8188e8015648d94 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| PEAK-System Technik PCAN-USB | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 24, 2025 | New CVE Received | kernel.org |
Volerion