scsi: bsg: Cap io_uring sense copy to max_response_len
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5d326efc334ea21afd8161f6ca53e17de71948a9 and Kernel ece06de726737e887dc0225c8283477624f8ae21.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=7b6d3255e7f8c6df2d21504c47808e3ce84649ac <5d326efc334ea21afd8161f6ca53e17de71948a9, >=7b6d3255e7f8c6df2d21504c47808e3ce84649ac <ece06de726737e887dc0225c8283477624f8ae21 | 5d326efc334ea21afd8161f6ca53e17de71948a9, ece06de726737e887dc0225c8283477624f8ae21 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket