Shellfeed logo Shellfeed

CVE-2026-98227 · UNKNOWN

Summary: memstick: ms_block: destroy io_queue workqueue on removal

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.7).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 – 0ff795163f37109a134b5a421558530f8d091544]
  • Linux Kernel [3.12.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.112] [6.13.0 – 6.18.54] [6.19.0 – 7.2.8]

References