一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月16日

CVE-2026-90009 – In the Linux kernel, the following vulnerability has been resolved: scsi: bsg: Fix TOCTOU

未分类
📑 文章目录

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.