What’s Vulnerable › Vulnerabilities
CVE-2022-50496: dm cache: Fix UAF in destroy()
- 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-10-04 · updated 2026-06-17
- Weakness: CWE-416
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 products
- Linux kernel: from 3.9 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.87 — fixed in 4.14.303, 4.19.270, 4.9.337, 5.10.163, 5.15.87, 5.4.229
How to fix
Upgrade to a fixed version: Linux kernel 4.14.303, 4.19.270, 4.9.337, 5.10.163. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/034cbc8d3b47a56acd89453c29632a9c117de09d
- https://git.kernel.org/stable/c/2b17026685a270b2beaf1cdd9857fcedd3505c7e
- https://git.kernel.org/stable/c/2f097dfac7579fd84ff98eb1d3acd41d53a485f3
- https://git.kernel.org/stable/c/4d20032dd90664de09f2902a7ea49ae2f7771746
- https://git.kernel.org/stable/c/6a3e412c2ab131c54945327a7676b006f000a209
- https://git.kernel.org/stable/c/6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa
- https://git.kernel.org/stable/c/6ac4f36910764cb510bafc4c3768544f86ca48ca
- https://git.kernel.org/stable/c/993406104d2b28fe470126a062ad37a1e21e792e
- https://git.kernel.org/stable/c/d2a0b298ebf83ab6236f66788a3541e91ce75a70
Get alerted when CVE-2022-50496 or the next vulnerability affects your stack