What’s Vulnerable › Vulnerabilities
CVE-2022-50085: dm raid: fix address sanitizer warning in raid_resume
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
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 products
- Linux kernel: from 4.8 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18 — fixed in 4.14.291, 4.19.256, 5.10.137, 5.15.61, 5.18.18, 5.19.2
How to fix
Upgrade to a fixed version: Linux kernel 4.14.291, 4.19.256, 5.10.137, 5.15.61. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6
- https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24
- https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46
- https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e
- https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f
- https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab
- https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083
- https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6
Get alerted when CVE-2022-50085 or the next vulnerability affects your stack