# CVE-2022-50496: dm cache: Fix UAF in destroy()

> 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-04T15:43:47.948Z
- **Modified:** 2026-06-17T05:23:40.087Z

## Who should check

- Anyone running Linux \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 034cbc8d3b47a56acd89453c29632a9c117de09d; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 993406104d2b28fe470126a062ad37a1e21e792e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 4d20032dd90664de09f2902a7ea49ae2f7771746; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2f097dfac7579fd84ff98eb1d3acd41d53a485f3; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2b17026685a270b2beaf1cdd9857fcedd3505c7e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< d2a0b298ebf83ab6236f66788a3541e91ce75a70; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6ac4f36910764cb510bafc4c3768544f86ca48ca; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a3e412c2ab131c54945327a7676b006f000a209; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa
- Anyone running Linux 3.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

dm cache: Fix UAF in destroy()

Dm\_cache also has the same UAF problem when dm\_resume()
and dm\_destroy() are concurrent.

Therefore, cancelling timer again in destroy().

## Affected and fixed versions

- Linux: \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 034cbc8d3b47a56acd89453c29632a9c117de09d; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 993406104d2b28fe470126a062ad37a1e21e792e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 4d20032dd90664de09f2902a7ea49ae2f7771746; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2f097dfac7579fd84ff98eb1d3acd41d53a485f3; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2b17026685a270b2beaf1cdd9857fcedd3505c7e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< d2a0b298ebf83ab6236f66788a3541e91ce75a70; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6ac4f36910764cb510bafc4c3768544f86ca48ca; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a3e412c2ab131c54945327a7676b006f000a209; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa 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-50496. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50496.md
Affected: Linux >= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, < 034cbc8d3b47a56acd89453c29632a9c117de09d; >= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, < 993406104d2b28fe470126a062ad37a1e21e792e; >= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, < 4d20032dd90664de09f2902a7ea49ae2f7771746; >= c6b4fcbad044e6fffcc75bb…
Fixed in: Linux 034cbc8d3b47a56acd89453c29632a9c117de09d, Linux 993406104d2b28fe470126a062ad37a1e21e792e, Linux 4d20032dd90664de09f2902a7ea49ae2f7771746, Linux 2f097dfac7579fd84ff98eb1d3acd41d53a485f3, Linux 2b17026685a270b2beaf1cdd9857fcedd3505c7e, Linux 6ac4f36910764cb510bafc4c3768544f86ca48ca, Linux 6a3e4…

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-50496 being exploited?

There is no confirmed exploitation: CVE-2022-50496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50496?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50496?

Linux \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 034cbc8d3b47a56acd89453c29632a9c117de09d; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 993406104d2b28fe470126a062ad37a1e21e792e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 4d20032dd90664de09f2902a7ea49ae2f7771746; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2f097dfac7579fd84ff98eb1d3acd41d53a485f3; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 2b17026685a270b2beaf1cdd9857fcedd3505c7e; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< d2a0b298ebf83ab6236f66788a3541e91ce75a70; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6ac4f36910764cb510bafc4c3768544f86ca48ca; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a3e412c2ab131c54945327a7676b006f000a209; \>= c6b4fcbad044e6fffcc75bba160e720eb8d67d17, \< 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa; Linux 3.9.

### Is there a fix for CVE-2022-50496?

Yes. Fixed in Linux 034cbc8d3b47a56acd89453c29632a9c117de09d, Linux 993406104d2b28fe470126a062ad37a1e21e792e, Linux 4d20032dd90664de09f2902a7ea49ae2f7771746, Linux 2f097dfac7579fd84ff98eb1d3acd41d53a485f3, Linux 2b17026685a270b2beaf1cdd9857fcedd3505c7e, Linux 6ac4f36910764cb510bafc4c3768544f86ca48ca, Linux 6a3e412c2ab131c54945327a7676b006f000a209, Linux 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa. Upgrade Linux to 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa or later.

### How do I check if I'm affected by CVE-2022-50496?

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/034cbc8d3b47a56acd89453c29632a9c117de09d>
- patch: <https://git.kernel.org/stable/c/993406104d2b28fe470126a062ad37a1e21e792e>
- patch: <https://git.kernel.org/stable/c/4d20032dd90664de09f2902a7ea49ae2f7771746>
- patch: <https://git.kernel.org/stable/c/2f097dfac7579fd84ff98eb1d3acd41d53a485f3>
- patch: <https://git.kernel.org/stable/c/2b17026685a270b2beaf1cdd9857fcedd3505c7e>
- patch: <https://git.kernel.org/stable/c/d2a0b298ebf83ab6236f66788a3541e91ce75a70>
- patch: <https://git.kernel.org/stable/c/6ac4f36910764cb510bafc4c3768544f86ca48ca>
- patch: <https://git.kernel.org/stable/c/6a3e412c2ab131c54945327a7676b006f000a209>
- patch: <https://git.kernel.org/stable/c/6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa>

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

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