CVE-2022-50085

dm raid: fix address sanitizer warning in raid_resume

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: dm raid: fix address sanitizer warning in raid_resume There is a KASAN warning in raid_resume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev->raid_disks is greater than rs->raid_disks, so the loop touches one entry beyond the allocated length.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2114.8 ≤ v < 4.14.2914.8 ≤ v < 4.19.2564.8 ≤ v < 5.10.1374.8 ≤ v < 5.15.614.8 ≤ v < 5.18.184.8 ≤ v < 5.19.24.8 ≤ v < 5.4.2114.8 ≤ v < 6.05.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.13733e53f06850f44ec9722e08a993ecf8816e447a54.8
Vendor states this is fixed in 2a9faa704d83ff0b04387e385efd8ae21cd95af6 (fixed)
Vendor states this is fixed in 3bfdc95466f5be4d8d95db5a5b470d61641a7c24 (fixed)
Vendor states this is fixed in 50235d9a1f1f742619ed9963cb9f240e5b821d46 (fixed)
Vendor states this is fixed in 71f601c779b3cc1baf497796f5b922c3fe5d2a1e (fixed)
Vendor states this is fixed in 74af83732a39ab7d3bc9b49219a535853e25679f (fixed)
Vendor states this is fixed in 7dad24db59d2d2803576f2e3645728866a056dab (fixed)
Vendor states this is fixed in c2d47bef93fb74aa97d90f9a40ca657b8f376083 (fixed)
Vendor states this is fixed in c2f075e729636a44e98d9722e3852c2fa6fa49b6 (fixed)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card