Bug 2536584 (CVE-2026-90267) - CVE-2026-90267 kernel: scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails
Summary: CVE-2026-90267 kernel: scsi: sd: Fix special_vec mempool leak when scsi_alloc...
Keywords:
Status: NEW
Alias: CVE-2026-90267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 18:33 UTC by OSIDB Bzimport
Modified: 2026-10-05 13:47 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 18:33:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.