# CVE-2026-98227: memstick: ms_block: destroy io_queue workqueue on removal

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:02.265Z
- Modified: 2026-10-19T10:18:23.430Z
- Assigned by: Linux

## Description

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

memstick: ms_block: destroy io_queue workqueue on removal

msb_init_disk() creates the per-card ordered workqueue msb->io_queue with
alloc_ordered_workqueue(). It is torn down with destroy_workqueue() only
on the init error path; msb_remove() never destroys it. msb_stop() merely
flushes the queue, and neither msb_data_clear() nor put_disk() free it. As
a result every card insert/remove cycle leaks the workqueue and its
kworker, exhausting kernel memory over repeated cycles.

Destroy the workqueue in msb_remove() after the disk has been removed and
the queue drained.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before 0ff795163f37109a134b5a421558530f8d091544; from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before 19c3da6621a253f1f8b937ed91bc22330a930d9c; from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before 9a2e7cdc0880e735aff0968ee402f2c92a992b9b; from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before 6611f78ec3fd4b33a00bfda20725b254a22979f6; from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before f222bb8c30cf5699c560b29179ff2bddcac1f950; from 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 before 90af7fde083e1b22c349c3a8b1626728e44e474c; 3.12 (not affected: before 3.12; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0ff795163f37109a134b5a421558530f8d091544>
- <https://git.kernel.org/stable/c/19c3da6621a253f1f8b937ed91bc22330a930d9c>
- <https://git.kernel.org/stable/c/9a2e7cdc0880e735aff0968ee402f2c92a992b9b>
- <https://git.kernel.org/stable/c/6611f78ec3fd4b33a00bfda20725b254a22979f6>
- <https://git.kernel.org/stable/c/f222bb8c30cf5699c560b29179ff2bddcac1f950>
- <https://git.kernel.org/stable/c/90af7fde083e1b22c349c3a8b1626728e44e474c>

## Sources

- CVE List: [CVE-2026-98227](https://www.cve.org/CVERecord?id=CVE-2026-98227), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98227](https://nvd.nist.gov/vuln/detail/CVE-2026-98227), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98227 · Whole record: https://cve.day/CVE-2026-98227.json · Rebuilt by cve.day 2026-11-25T22:59:42.295Z
