{"id":"CVE-2025-40020","summary":"can: peak_usb: fix shift-out-of-bounds issue","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_usb: fix shift-out-of-bounds issue\n\nExplicitly uses a 64-bit constant when the number of bits used for its\nshifting is 32 (which is the case for PC CAN FD interfaces supported by\nthis driver).\n\n[mkl: update subject, apply manually]","modified":"2026-04-16T04:33:36.443292791Z","published":"2025-10-24T12:24:56.311Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21080-1","SUSE-SU-2025:21147-1","SUSE-SU-2025:21180-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1","openSUSE-SU-2025:20091-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40020.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/176c81cbf9c4e348610a421aad800087c0401f60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/17edec1830e48c0becd61642d0e40bc753243b16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/394c58017e5f41043584c345106cae16a4613710"},{"type":"WEB","url":"https://git.kernel.org/stable/c/48822a59ecc47d353400d38b1941d3ae7591ffff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/572c656802781cc57f4a3231eefa83547e75ed78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61b1dd4c614935169d12bdecc26906e37b508618"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c443be70aaee42c2d1d251e0329e0a69dd96ae54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb79ed970670344380e77d62f8188e8015648d94"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40020.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40020"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d"},{"fixed":"572c656802781cc57f4a3231eefa83547e75ed78"},{"fixed":"61b1dd4c614935169d12bdecc26906e37b508618"},{"fixed":"48822a59ecc47d353400d38b1941d3ae7591ffff"},{"fixed":"176c81cbf9c4e348610a421aad800087c0401f60"},{"fixed":"17edec1830e48c0becd61642d0e40bc753243b16"},{"fixed":"eb79ed970670344380e77d62f8188e8015648d94"},{"fixed":"394c58017e5f41043584c345106cae16a4613710"},{"fixed":"c443be70aaee42c2d1d251e0329e0a69dd96ae54"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40020.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"5.4.300"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.245"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.194"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.155"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.16.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40020.json"}}],"schema_version":"1.7.5"}