CVE Catalog

CVE-2026-90009

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, the scsi bsg function scsi_bsg_uring_cmd() reads bsg_uring_cmd from the shared mmap'd SQE, allowing userspace to change a field between check and use (TOCTOU). request_len can grow past sizeof(scmd->cmnd) after the bound check and overflow scmd->cmnd in copy_from_user().

Risk Assessment

It can cause a kernel buffer overflow, potentially enabling privilege escalation or system crash by a local user.

Recommendation

Update the Linux kernel to a version with the fix that uses READ_ONCE() to read SQE fields into locals before use.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS