Local privilege escalation via freed RAID stripe
Published Jun 18, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel RAID5/6 write completion allows local users to corrupt kernel memory through filesystem writes. The raid5_end_write_request callback releases a stripe_head reference and then dereferences sh->batch_head, allowing use after reclamation. A local user needs write access to a RAID5/6-backed filesystem; exploitation can disclose or corrupt kernel memory, hijack control flow, or panic the host.
Summary
What happened
Use-after-free in Linux kernel RAID5/6 write completion allows local users to corrupt kernel memory through filesystem writes. The raid5_end_write_request callback releases a stripe_head reference and then dereferences sh->batch_head, allowing use after reclamation. A local user needs write access to a RAID5/6-backed filesystem; exploitation can disclose or corrupt kernel memory, hijack control flow, or panic the host.
The record
- CVE
- CVE-2022-50022
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=4.1
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <09cf99bace7789d91caa8d10fbcfc8b2fb35857f
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <104212471b1c1817b311771d817fb692af983173
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <5d8325fd15892c8ab1146edc1d7ed8463de39636
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <7470a4314b239e9a9580f248fdf4c9a92805490e
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <d9b94c3ace549433de8a93eeb27b0391fc8ac406
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <eb3a4f73f43f839df981dda5859e8e075067a360
- Affected versionversion=59fc630b8b5f9f21c8ce3ba153341c107dce1b0c <f5d46f1b47f65da1faf468277b261eb78c8e25b5
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