Local denial of service via blk-mq memory leak
Published May 1, 2025 · Updated May 11, 2026
Missing memory release in blk-mq in Linux kernel 5.2 through 6.0.7 allows local users to exhaust kernel memory by loading null_blk. When blk_mq_alloc_and_init_hctx fails after creating a hardware context, blk_mq_init_allocated_queue clears q->mq_ops before queue release, so blk_mq_release skips contexts moved to q->unused_hctx_list. The path requires local module loading and a later hardware-context allocation failure; repeated triggers consume kernel memory and interrupt service.
Summary
What happened
Missing memory release in blk-mq in Linux kernel 5.2 through 6.0.7 allows local users to exhaust kernel memory by loading null_blk. When blk_mq_alloc_and_init_hctx fails after creating a hardware context, blk_mq_init_allocated_queue clears q->mq_ops before queue release, so blk_mq_release skips contexts moved to q->unused_hctx_list. The path requires local module loading and a later hardware-context allocation failure; repeated triggers consume kernel memory and interrupt service.
The record
- CVE
- CVE-2022-49901
- Published
- May 1, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2f8f1336a48bd5186de3476da0a3e2ec06d0533a <2dc97e15a54b7bdf457848aa8c663c98a24e58a6
- Affected versionversion=2f8f1336a48bd5186de3476da0a3e2ec06d0533a <943f45b9399ed8b2b5190cbc797995edaa97f58f
- Affected versionversion=5.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo