# CVE-2026-90009: scsi: bsg: Fix TOCTOU in io_uring passthrough command setup

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-09-16T10:33:17.446Z
- Modified: 2026-10-19T09:18:48.710Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: bsg: Fix TOCTOU in io_uring passthrough command setup

scsi_bsg_uring_cmd() reads bsg_uring_cmd from the shared mmap'd SQE.
Userspace can change a field after we check it and before we use it.
request_len is the sharp case: it can grow past sizeof(scmd->cmnd) after
the bound check and overflow scmd->cmnd in copy_from_user().

READ_ONCE() the SQE fields we check or use into locals before use.

(As written by CVE List.)

## Affected

- Linux Linux: from 7b6d3255e7f8c6df2d21504c47808e3ce84649ac before f033530105aa73d82c121d54b57f358e4865d2f4; from 7b6d3255e7f8c6df2d21504c47808e3ce84649ac before 4b3c5965fca99f62d31c963294bd5b23cc488e97; 7.1 (not affected: before 7.1; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/f033530105aa73d82c121d54b57f358e4865d2f4>
- <https://git.kernel.org/stable/c/4b3c5965fca99f62d31c963294bd5b23cc488e97>

## Sources

- CVE List: [CVE-2026-90009](https://www.cve.org/CVERecord?id=CVE-2026-90009), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90009](https://nvd.nist.gov/vuln/detail/CVE-2026-90009), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90009 · Whole record: https://cve.day/CVE-2026-90009.json · Rebuilt by cve.day 2026-11-25T22:59:39.013Z
