# CVE-2022-50085: dm raid: fix address sanitizer warning in raid\_resume

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-06-18T11:02:26.700Z
- **Modified:** 2026-06-17T05:22:43.620Z

## 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

## 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

- Linux: \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< c2f075e729636a44e98d9722e3852c2fa6fa49b6; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 3bfdc95466f5be4d8d95db5a5b470d61641a7c24; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 71f601c779b3cc1baf497796f5b922c3fe5d2a1e; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< c2d47bef93fb74aa97d90f9a40ca657b8f376083; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 50235d9a1f1f742619ed9963cb9f240e5b821d46; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 74af83732a39ab7d3bc9b49219a535853e25679f; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 2a9faa704d83ff0b04387e385efd8ae21cd95af6; \>= 33e53f06850f44ec9722e08a993ecf8816e447a5, \< 7dad24db59d2d2803576f2e3645728866a056dab (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 7dad24db59d2d2803576f2e3645728866a056dab or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6>
- patch: <https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24>
- patch: <https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e>
- patch: <https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083>
- patch: <https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46>
- patch: <https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f>
- patch: <https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6>
- patch: <https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50085>

HTML: <https://flawdb.com/CVE-2022-50085> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50085>
