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.
Published: 2026-10-06
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service via kernel memory exhaustion
Action: Patch Now
AI Analysis

Impact

The vulnerability arises because the msb_init_disk function creates a per-card ordered workqueue but the msb_remove function never destroys it. Each time a card is inserted and removed, the workqueue and its kworker persist, leaking kernel memory. Over many cycles, this memory leak can consume all available kernel memory, potentially causing the system to become unresponsive or crash. The weakness is a classic resource exhaustion flaw.

Affected Systems

All Linux kernel configurations that include the memstick ms_block interface are affected. The issue applies to the Linux vendor across all released kernel versions that incorporate this driver code.

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in CISA KEV, indicating a lower public exploitation footprint. The CVSS score is not provided, but an unmitigated resource leak can lead to a denial of service. The likely attack vector requires physical manipulation of a memstick device, making the risk moderate to high in environments where device insertion and removal happen frequently. Until a patch is applied, the vulnerability remains exploitable by local privileged code or automated scripts that repeatedly cycle device connections.

Generated by OpenCVE AI on October 6, 2026 at 12:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated kernel release that includes the fix for msb_remove which destroys the workqueue after draining
  • If immediate upgrade is not possible, disable the memstick ms_block module or block device insertion/removal to prevent repeated cycles
  • Monitor system memory usage and kernel logs for signs of workqueue leaks, and reboot to temporarily recover kernel memory

Generated by OpenCVE AI on October 6, 2026 at 12:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title memstick: ms_block: destroy io_queue workqueue on removal
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-06T08:45:02.265Z

Reserved: 2026-09-25T10:25:14.328Z

Link: CVE-2026-98227

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:09.963

Modified: 2026-10-06T09:18:09.963

Link: CVE-2026-98227

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-06T12:15:15Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime