[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025102402-CVE-2025-40020-490f@gregkh>
Date: Fri, 24 Oct 2025 14:25:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40020: can: peak_usb: fix shift-out-of-bounds issue
From: Greg Kroah-Hartman <gregkh@...nel.org>
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]
The Linux kernel CVE team has assigned CVE-2025-40020 to this issue.
Affected and fixed versions
===========================
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 5.4.300 with commit 572c656802781cc57f4a3231eefa83547e75ed78
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 5.10.245 with commit 61b1dd4c614935169d12bdecc26906e37b508618
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 5.15.194 with commit 48822a59ecc47d353400d38b1941d3ae7591ffff
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 6.1.155 with commit 176c81cbf9c4e348610a421aad800087c0401f60
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 6.6.109 with commit 17edec1830e48c0becd61642d0e40bc753243b16
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 6.12.50 with commit eb79ed970670344380e77d62f8188e8015648d94
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 6.16.10 with commit 394c58017e5f41043584c345106cae16a4613710
	Issue introduced in 3.4 with commit bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d and fixed in 6.17 with commit c443be70aaee42c2d1d251e0329e0a69dd96ae54
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-40020
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
	drivers/net/can/usb/peak_usb/pcan_usb_core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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
Powered by blists - more mailing lists
 
