CVE-2022-50085
dm raid: fix address sanitizer warning in raid_resume
Mitigation
- Upgrade Linux to 7dad24db59d2d2803576f2e3645728866a056dab or later.
Who should check
- Anyone running Linux >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2f075e729636a44e98d9722e3852c2fa6fa49b6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2d47bef93fb74aa97d90f9a40ca657b8f376083; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 50235d9a1f1f742619ed9963cb9f240e5b821d46; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 74af83732a39ab7d3bc9b49219a535853e25679f; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 2a9faa704d83ff0b04387e385efd8ae21cd95af6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 7dad24db59d2d2803576f2e3645728866a056dab
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2f075e729636a44e98d9722e3852c2fa6fa49b6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2d47bef93fb74aa97d90f9a40ca657b8f376083; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 50235d9a1f1f742619ed9963cb9f240e5b821d46; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 74af83732a39ab7d3bc9b49219a535853e25679f; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 2a9faa704d83ff0b04387e385efd8ae21cd95af6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 7dad24db59d2d2803576f2e3645728866a056dab; Linux 4.8
- Fixed in
- Linux 3bfdc95466f5be4d8d95db5a5b470d61641a7c24, Linux 71f601c779b3cc1baf497796f5b922c3fe5d2a1e, Linux 50235d9a1f1f742619ed9963cb9f240e5b821d46, Linux 74af83732a39ab7d3bc9b49219a535853e25679f, Linux 2a9faa704d83ff0b04387e385efd8ae21cd95af6, Linux 7dad24db59d2d2803576f2e3645728866a056dab
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2f075e729636a44e98d9722e3852c2fa6fa49b6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2d47bef93fb74aa97d90f9a40ca657b8f376083; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 50235d9a1f1f742619ed9963cb9f240e5b821d46; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 74af83732a39ab7d3bc9b49219a535853e25679f; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 2a9faa704d83ff0b04387e385efd8ae21cd95af6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 7dad24db59d2d2803576f2e3645728866a056dab | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50085. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50085.md Affected: Linux >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2f075e729636a44e98d9722e3852c2fa6fa49b6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; >= 33e53f06850f44ec9722e08… Fixed in: Linux 3bfdc95466f5be4d8d95db5a5b470d61641a7c24, Linux 71f601c779b3cc1baf497796f5b922c3fe5d2a1e, Linux 50235d9a1f1f742619ed9963cb9f240e5b821d46, Linux 74af83732a39ab7d3bc9b49219a535853e25679f, Linux 2a9faa704d83ff0b04387e385efd8ae21cd95af6, Linux 7dad24db59d2d2803576f2e3645728866a056dab Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6
- https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24
- https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e
- https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083
- https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46
- https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f
- https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6
- https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab
FAQ
Is CVE-2022-50085 being exploited?
There is no confirmed exploitation: CVE-2022-50085 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50085?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50085?
Linux >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2f075e729636a44e98d9722e3852c2fa6fa49b6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < c2d47bef93fb74aa97d90f9a40ca657b8f376083; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 50235d9a1f1f742619ed9963cb9f240e5b821d46; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 74af83732a39ab7d3bc9b49219a535853e25679f; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 2a9faa704d83ff0b04387e385efd8ae21cd95af6; >= 33e53f06850f44ec9722e08a993ecf8816e447a5, < 7dad24db59d2d2803576f2e3645728866a056dab; Linux 4.8.
Is there a fix for CVE-2022-50085?
Yes. Fixed in Linux 3bfdc95466f5be4d8d95db5a5b470d61641a7c24, Linux 71f601c779b3cc1baf497796f5b922c3fe5d2a1e, Linux 50235d9a1f1f742619ed9963cb9f240e5b821d46, Linux 74af83732a39ab7d3bc9b49219a535853e25679f, Linux 2a9faa704d83ff0b04387e385efd8ae21cd95af6, Linux 7dad24db59d2d2803576f2e3645728866a056dab. Upgrade Linux to 7dad24db59d2d2803576f2e3645728866a056dab or later.
How do I check if I'm affected by CVE-2022-50085?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.