{"id":"CVE-2026-90009","summary":"scsi: bsg: Fix TOCTOU in io_uring passthrough command setup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: bsg: Fix TOCTOU in io_uring passthrough command setup\n\nscsi_bsg_uring_cmd() reads bsg_uring_cmd from the shared mmap'd SQE.\nUserspace can change a field after we check it and before we use it.\nrequest_len is the sharp case: it can grow past sizeof(scmd-\u003ecmnd) after\nthe bound check and overflow scmd-\u003ecmnd in copy_from_user().\n\nREAD_ONCE() the SQE fields we check or use into locals before use.","modified":"2026-09-18T03:48:34.657016146Z","published":"2026-09-16T10:33:17.446Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90009.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4b3c5965fca99f62d31c963294bd5b23cc488e97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f033530105aa73d82c121d54b57f358e4865d2f4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90009.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90009"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7b6d3255e7f8c6df2d21504c47808e3ce84649ac"},{"fixed":"f033530105aa73d82c121d54b57f358e4865d2f4"},{"fixed":"4b3c5965fca99f62d31c963294bd5b23cc488e97"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90009.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90009.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}