CVE-2026-23155: can: gs_usb: gs_usb_receive_bulk_callback(): fix error message
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
can: gs_usb: gs_usb_receive_bulk_callback(): fix error message
Sinc commit 79a6d1bfe114 ("can: gs_usb: gs_usb_receive_bulk_callback():
unanchor URL on usb_submit_urb() error") a failing resubmit URB will print an info message.
In the case of a short read where netdev has not yet been assigned, initialize as NULL to avoid dereferencing an undefined value. Also report the error value of the failed resubmit.
The Linux kernel CVE team has assigned CVE-2026-23155 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.122 with commit ce4352057fc5a986c76ece90801b9755e7c6e56c and fixed in 6.6.123 with commit 923379f1d7e3af8ccbf11edbbcf41f1bb3e9cfe6 Issue introduced in 6.12.68 with commit c610b550ccc0438d456dfe1df9f4f36254ccaae3 and fixed in 6.12.69 with commit 8986cdf52f86208df9c7887fee23365b5d37da26 Issue introduced in 6.18.8 with commit c3edc14da81a8d8398682f6e4ab819f09f37c0b7 and fixed in 6.18.9 with commit 713ba826ae114ab339c9a1b31e209bebdadb0ac9
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-2026-23155
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/gs_usb.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/aed58a28ea71a0d7d0947190fab1e3f4daa1d4a5 https://git.kernel.org/stable/c/923379f1d7e3af8ccbf11edbbcf41f1bb3e9cfe6 https://git.kernel.org/stable/c/8986cdf52f86208df9c7887fee23365b5d37da26 https://git.kernel.org/stable/c/713ba826ae114ab339c9a1b31e209bebdadb0ac9 https://git.kernel.org/stable/c/494fc029f662c331e06b7c2031deff3c64200eed