{"id":"CVE-2026-90267","summary":"scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails\n\nsd_set_special_bvec() allocates a special payload page for UNMAP and\nWRITE SAME commands. If scsi_alloc_sgtables() fails afterward in\nsd_setup_unmap_cmnd() or sd_setup_write_same{10,16}_cmnd(), the SCSI\nmidlayer does not call uninit_command() because RQF_DONTPREP is not set\nyet, leaking the page.\n\nCall sd_uninit_command() on error, and clear RQF_SPECIAL_PAYLOAD after\nfreeing the page.","modified":"2026-11-01T02:30:58.109196403Z","published":"2026-09-17T16:08:02.624Z","related":["openSUSE-SU-2026:11893-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90267.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05bc68669549bfddfdeef2fd119855cab3e9615a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/710a2448a06a8215ba8acb4a2791954800f7db0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/744a65e113094756e6c1cfba9ff1bf4247cb68d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb31844d88b77138b67aa20c3600203baff40140"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e90f746f4ca3896ca560e820b7b6b0a467026938"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90267.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90267"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87"},{"fixed":"05bc68669549bfddfdeef2fd119855cab3e9615a"},{"fixed":"710a2448a06a8215ba8acb4a2791954800f7db0a"},{"fixed":"744a65e113094756e6c1cfba9ff1bf4247cb68d4"},{"fixed":"e90f746f4ca3896ca560e820b7b6b0a467026938"},{"fixed":"5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d"},{"fixed":"bb31844d88b77138b67aa20c3600203baff40140"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90267.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90267.json"}}],"schema_version":"1.9.2"}