Kernel memory access via mismatched RAID array bounds
Published Jun 18, 2025 · Updated May 11, 2026
Out-of-bounds access in dm-raid in affected Linux kernel versions allows local users to touch memory beyond a RAID device array. In attempt_restore_of_faulty_devices(), raid_resume iterates to mddev->raid_disks even when the allocated rs->dev array has only rs->raid_disks entries. Triggering the device-mapper ioctl path requires CAP_SYS_ADMIN in the initial user namespace; published evidence confirms a KASAN-detected memory-safety violation but does not establish a reliable crash, disclosure, or privilege gain.
Summary
What happened
Out-of-bounds access in dm-raid in affected Linux kernel versions allows local users to touch memory beyond a RAID device array. In attempt_restore_of_faulty_devices(), raid_resume iterates to mddev->raid_disks even when the allocated rs->dev array has only rs->raid_disks entries. Triggering the device-mapper ioctl path requires CAP_SYS_ADMIN in the initial user namespace; published evidence confirms a KASAN-detected memory-safety violation but does not establish a reliable crash, disclosure, or privilege gain.
The record
- CVE
- CVE-2022-50085
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- admin
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=33e53f06850f44ec9722e08a993ecf8816e447a5 <2a9faa704d83ff0b04387e385efd8ae21cd95af6
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <3bfdc95466f5be4d8d95db5a5b470d61641a7c24
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <50235d9a1f1f742619ed9963cb9f240e5b821d46
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <71f601c779b3cc1baf497796f5b922c3fe5d2a1e
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <74af83732a39ab7d3bc9b49219a535853e25679f
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <7dad24db59d2d2803576f2e3645728866a056dab
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2d47bef93fb74aa97d90f9a40ca657b8f376083
- Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2f075e729636a44e98d9722e3852c2fa6fa49b6
- Affected versionversion=4.8
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
No sourced classifications are available.
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