CVE-2022-50085

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.

CVSS severity7.8
High
EPSS probability0.19%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

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

  1. Jun 18, 2025CVE publishedPublication date reported by the CVE source.
  2. 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.

  1. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <2a9faa704d83ff0b04387e385efd8ae21cd95af6
  2. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <3bfdc95466f5be4d8d95db5a5b470d61641a7c24
  3. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <50235d9a1f1f742619ed9963cb9f240e5b821d46
  4. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <71f601c779b3cc1baf497796f5b922c3fe5d2a1e
  5. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <74af83732a39ab7d3bc9b49219a535853e25679f
  6. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <7dad24db59d2d2803576f2e3645728866a056dab
  7. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2d47bef93fb74aa97d90f9a40ca657b8f376083
  8. Affected versionversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2f075e729636a44e98d9722e3852c2fa6fa49b6
  9. Affected versionversion=4.8

What conditions does exploitation require?

Attack vectorlocal
Required privilegesadmin

What is affected?

The Linux Kernel Organization · Linuxversion=33e53f06850f44ec9722e08a993ecf8816e447a5 <2a9faa704d83ff0b04387e385efd8ae21cd95af6; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <3bfdc95466f5be4d8d95db5a5b470d61641a7c24; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <50235d9a1f1f742619ed9963cb9f240e5b821d46; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <71f601c779b3cc1baf497796f5b922c3fe5d2a1e; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <74af83732a39ab7d3bc9b49219a535853e25679f; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <7dad24db59d2d2803576f2e3645728866a056dab; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2d47bef93fb74aa97d90f9a40ca657b8f376083; version=33e53f06850f44ec9722e08a993ecf8816e447a5 <c2f075e729636a44e98d9722e3852c2fa6fa49b6; version=4.8

Published CVSS scores

7.8UbuntuCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesadmin
Known exploitationUnconfirmed
Public exploitUnconfirmed

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