CVE-2026-90010: scsi: bsg: Cap io_uring sense copy to max_response_len
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: bsg: Cap io_uring sense copy to max_response_len
Completion copied scmd->sense_len to the user response buffer without honoring max_response_len. After a valid sense, the midlayer sets sense_len to the real length (up to SCSI_SENSE_BUFFERSIZE), so a smaller user buffer was overrun.
The Linux kernel CVE team has assigned CVE-2026-90010 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1 with commit 7b6d3255e7f8c6df2d21504c47808e3ce84649ac and fixed in 7.2.5 with commit 5d326efc334ea21afd8161f6ca53e17de71948a9 Issue introduced in 7.1 with commit 7b6d3255e7f8c6df2d21504c47808e3ce84649ac and fixed in 7.3-rc2 with commit ece06de726737e887dc0225c8283477624f8ae21
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-90010
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/scsi/scsi_bsg.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/5d326efc334ea21afd8161f6ca53e17de71948a9 https://git.kernel.org/stable/c/ece06de726737e887dc0225c8283477624f8ae21