{"id":"CVE-2026-98227","aliases":["CVE-2026-98227"],"related":[],"kind":"vulnerability","state":"published","title":"memstick: ms_block: destroy io_queue workqueue on removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick: ms_block: destroy io_queue workqueue on removal\n\nmsb_init_disk() creates the per-card ordered workqueue msb->io_queue with\nalloc_ordered_workqueue(). It is torn down with destroy_workqueue() only\non the init error path; msb_remove() never destroys it. msb_stop() merely\nflushes the queue, and neither msb_data_clear() nor put_disk() free it. As\na result every card insert/remove cycle leaks the workqueue and its\nkworker, exhausting kernel memory over repeated cycles.\n\nDestroy the workqueue in msb_remove() after the disk has been removed and\nthe queue drained.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick: ms_block: destroy io_queue workqueue on removal\n\nmsb_init_disk() creates the per-card ordered workqueue msb->io_queue with\nalloc_ordered_workqueue(). It is torn down with destroy_workqueue() only\non the init error path; msb_remove() never destroys it. msb_stop() merely\nflushes the queue, and neither msb_data_clear() nor put_disk() free it. As\na result every card insert/remove cycle leaks the workqueue and its\nkworker, exhausting kernel memory over repeated cycles.\n\nDestroy the workqueue in msb_remove() after the disk has been removed and\nthe queue drained.","source":"cvelist"}],"published":"2026-10-06T08:45:02.265Z","modified":"2026-10-19T10:18:23.430Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"0ff795163f37109a134b5a421558530f8d091544","status":"affected"},{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"19c3da6621a253f1f8b937ed91bc22330a930d9c","status":"affected"},{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"9a2e7cdc0880e735aff0968ee402f2c92a992b9b","status":"affected"},{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"6611f78ec3fd4b33a00bfda20725b254a22979f6","status":"affected"},{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"f222bb8c30cf5699c560b29179ff2bddcac1f950","status":"affected"},{"type":"git","introduced":"0ab30494bc4f3bc1ea4659b7c5d97c5218554a63","fixed":"90af7fde083e1b22c349c3a8b1626728e44e474c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","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/0ff795163f37109a134b5a421558530f8d091544","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19c3da6621a253f1f8b937ed91bc22330a930d9c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a2e7cdc0880e735aff0968ee402f2c92a992b9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6611f78ec3fd4b33a00bfda20725b254a22979f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f222bb8c30cf5699c560b29179ff2bddcac1f950","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90af7fde083e1b22c349c3a8b1626728e44e474c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98227","url":"https://www.cve.org/CVERecord?id=CVE-2026-98227","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:58.990Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98227","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98227","licence":"Public domain","modified":"2026-10-19T10:18:23.430Z"}],"updatedAt":"2026-11-25T22:59:42.295Z","epss":{"score":0.00173,"percentile":0.06989,"date":"2026-12-01T12:00:22.000Z"}}