Kernel crash via premature bio release
Published Sep 18, 2025 · Updated Sep 18, 2025
NULL pointer dereference in Linux kernel md allows local users to crash the kernel during concurrent RAID metadata flushes. In super_written and md_end_flush, pending-I/O counters are decremented before bio_put releases the bio, allowing a waiter to destroy the bioset before mempool_free uses it. The race requires local access and concurrent md RAID flush completion; the demonstrated consequence is a kernel crash, not data disclosure or code execution.
Summary
What happened
NULL pointer dereference in Linux kernel md allows local users to crash the kernel during concurrent RAID metadata flushes. In super_written and md_end_flush, pending-I/O counters are decremented before bio_put releases the bio, allowing a waiter to destroy the bioset before mempool_free uses it. The race requires local access and concurrent md RAID flush completion; the demonstrated consequence is a kernel crash, not data disclosure or code execution.
The record
- CVE
- CVE-2022-50381
- Published
- Sep 18, 2025
- Updated
- Sep 18, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 18, 2025CVE publishedPublication date reported by the CVE source.
- Sep 18, 2025Record 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <341097ee53573e06ab9fc675d96a052385b851fa
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <384ef33d37cefb2ac539d44597d03f06c9b8975c
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <732cd66ec19a17f2b9183d7d5b7bdb9c39b0776e
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <842f222fc42a9239831e15b1fd49a51c546902cb
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <91bd504128a51776472445070e11a3b0f9348c90
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <97ce99984be12b9acb49ddce0f5d8ebb037adbb6
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ae7793027766491c5f8635b12d15a5940d3b8698
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b5be563b4356b3089b3245d024cae3f248ba7090
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cf06b162f5b6337b688072a1a47941280b8f7110
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.
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