CVE-2026-98227

memstick: ms_block: destroy io_queue workqueue on removal

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 0ff795163f37109a134b5a421558530f8d091544Affected
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 19c3da6621a253f1f8b937ed91bc22330a930d9cAffected
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 9a2e7cdc0880e735aff0968ee402f2c92a992b9bAffected
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 6611f78ec3fd4b33a00bfda20725b254a22979f6Affected
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before f222bb8c30cf5699c560b29179ff2bddcac1f950Affected
  • 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 90af7fde083e1b22c349c3a8b1626728e44e474cAffected
LinuxLinux
  • 3.12Affected
  • before 3.12Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.