CVE-2025-40020

published 24 Oct 2025 · updated 11 May 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 176c81cbf9c4e348610a421aad800087c0401f60, Kernel 17edec1830e48c0becd61642d0e40bc753243b16, Kernel 394c58017e5f41043584c345106cae16a4613710 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.4, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <176c81cbf9c4e348610a421aad800087c0401f60, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <17edec1830e48c0becd61642d0e40bc753243b16, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <394c58017e5f41043584c345106cae16a4613710, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <48822a59ecc47d353400d38b1941d3ae7591ffff, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <572c656802781cc57f4a3231eefa83547e75ed78, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <61b1dd4c614935169d12bdecc26906e37b508618, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <c443be70aaee42c2d1d251e0329e0a69dd96ae54, >=bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d <eb79ed970670344380e77d62f8188e8015648d94176c81cbf9c4e348610a421aad800087c0401f60, 17edec1830e48c0becd61642d0e40bc753243b16, 394c58017e5f41043584c345106cae16a4613710, 48822a59ecc47d353400d38b1941d3ae7591ffff, 572c656802781cc57f4a3231eefa83547e75ed78, 61b1dd4c614935169d12bdecc26906e37b508618, c443be70aaee42c2d1d251e0329e0a69dd96ae54, eb79ed970670344380e77d62f8188e8015648d94

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40020 severity on Zeptric[![CVE-2025-40020](https://zeptric.io/badge/cve/CVE-2025-40020.svg)](https://zeptric.io/cve/CVE-2025-40020)