---
id: CVE-2026-90267
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails

  sd_set_special_bvec() allocates a special payload page for UNMAP and
  WRITE SAME commands
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails

  sd_set_special_bvec() allocates a special payload page for UNMAP and
  WRITE SAME commands. If sc…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-772
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87 <
    5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d
  - >-
    Linux >= 81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87 <
    bb31844d88b77138b67aa20c3600203baff40140
  - Linux 4.12
published: '2026-09-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:18:00.077'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90267'
references:
  - url: 'https://git.kernel.org/stable/c/5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bb31844d88b77138b67aa20c3600203baff40140'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e90f746f4ca3896ca560e820b7b6b0a467026938'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90267.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-90267'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536584'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-90267'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90267'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90267.mbox
  - url: 'https://git.kernel.org/stable/c/710a2448a06a8215ba8acb4a2791954800f7db0a'
  - url: 'https://git.kernel.org/stable/c/744a65e113094756e6c1cfba9ff1bf4247cb68d4'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00209
epssPercentile: 0.1095
cvssSource: vendor
ingestedAt: '2026-09-17T16:21:47.839Z'
---

## Overview

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

scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails

sd_set_special_bvec() allocates a special payload page for UNMAP and
WRITE SAME commands. If scsi_alloc_sgtables() fails afterward in
sd_setup_unmap_cmnd() or sd_setup_write_same{10,16}_cmnd(), the SCSI
midlayer does not call uninit_command() because RQF_DONTPREP is not set
yet, leaking the page.

Call sd_uninit_command() on error, and clear RQF_SPECIAL_PAYLOAD after
freeing the page.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-10-05 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90267.json)
