Kernel crash via post-validation block adjustment
Published Jun 18, 2025 · Updated May 11, 2026
Improper block validation in Linux ext4 allows local users to crash the kernel by mounting a corrupted bigalloc filesystem. ext4_free_blocks validates a block range before bigalloc adjustments, then passes the changed range to ext4_mb_clear_bb without revalidation. Exploitation requires privileges to mount a crafted or corrupted ext4 bigalloc filesystem; reaching the invalid range triggers a kernel BUG and service interruption.
Summary
What happened
Improper block validation in Linux ext4 allows local users to crash the kernel by mounting a corrupted bigalloc filesystem. ext4_free_blocks validates a block range before bigalloc adjustments, then passes the changed range to ext4_mb_clear_bb without revalidation. Exploitation requires privileges to mount a crafted or corrupted ext4 bigalloc filesystem; reaching the invalid range triggers a kernel BUG and service interruption.
The record
- CVE
- CVE-2022-50021
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 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=3.2
- Affected versionversion=84130193e0e6568dfdfb823f0e1e19aec80aff6e <1e1c2b86ef86a8477fd9b9a4f48a6bfe235606f6
- Affected versionversion=84130193e0e6568dfdfb823f0e1e19aec80aff6e <560a2744cbbf03cac65a6394f9b0d99aa437c867
- Affected versionversion=84130193e0e6568dfdfb823f0e1e19aec80aff6e <7550aade978371ac582f6d43b14c4cb89ca54463
- Affected versionversion=84130193e0e6568dfdfb823f0e1e19aec80aff6e <a2522041d248a8c969cbbc97e1fc2cd8b4de120d
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