Skip to content
Heist/ feed
Back to feed
HighFix available

scsi: bsg: Fix TOCTOU in io_uring passthrough command setup

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
7.2.5
CVEs
CVE-2026-90009
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:04 UTC · Revision 1

Source evidence

scsi: bsg: Fix TOCTOU in io_uring passthrough command setup

core-osv · Original source

Published 16 Sept 2026, 10:33 UTC

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.

osv:CVE-2026-90009

Kernel

Fixed versions: 7.2.5

Complete source record
{
  "id": "2c4eb4bd5c9b7b8eb52183ba7ad159a776bcef866ba75881d2f44b098447a182",
  "url": "https://osv.dev/vulnerability/CVE-2026-90009",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: bsg: Fix TOCTOU in io_uring passthrough command setup",
    "summary": "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.",
    "evidence": "osv:CVE-2026-90009",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-90009",
      "aliases": [
        "CVE-2026-90009"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7b6d3255e7f8c6df2d21504c47808e3ce84649ac"
                },
                {
                  "fixed": "f033530105aa73d82c121d54b57f358e4865d2f4"
                },
                {
                  "fixed": "4b3c5965fca99f62d31c963294bd5b23cc488e97"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90009.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.1.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90009.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.997018499Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4b3c5965fca99f62d31c963294bd5b23cc488e97",
        "https://git.kernel.org/stable/c/f033530105aa73d82c121d54b57f358e4865d2f4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90009.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90009",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90009.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90009",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498176,
  "published_at": "2026-09-16T10:33:17.446+00:00"
}