{"id":"CVE-2026-90267","aliases":["CVE-2026-90267"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: sd: Fix special_vec mempool leak when scsi_alloc_sgtables() fails","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T16:08:02.624Z","modified":"2026-10-30T13:20:48.500Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"05bc68669549bfddfdeef2fd119855cab3e9615a","status":"affected"},{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"710a2448a06a8215ba8acb4a2791954800f7db0a","status":"affected"},{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"744a65e113094756e6c1cfba9ff1bf4247cb68d4","status":"affected"},{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"e90f746f4ca3896ca560e820b7b6b0a467026938","status":"affected"},{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d","status":"affected"},{"type":"git","introduced":"81d926e8b5520e38f1f72dd7bb7cfc81c1a69d87","fixed":"bb31844d88b77138b67aa20c3600203baff40140","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/05bc68669549bfddfdeef2fd119855cab3e9615a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/710a2448a06a8215ba8acb4a2791954800f7db0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/744a65e113094756e6c1cfba9ff1bf4247cb68d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e90f746f4ca3896ca560e820b7b6b0a467026938","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d7d1b8b525e5eff33a01d07dfcf7bdd3b6d790d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb31844d88b77138b67aa20c3600203baff40140","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90267","url":"https://www.cve.org/CVERecord?id=CVE-2026-90267","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:01.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90267","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90267","licence":"Public domain","modified":"2026-10-30T13:20:48.500Z"}],"updatedAt":"2026-11-25T22:59:39.363Z","epss":{"score":0.00173,"percentile":0.07069,"date":"2026-12-01T12:00:22.000Z"}}