CVE-2022-50496

dm cache: Fix UAF in destroy()

No CVSS score yet EPSS 0.17%

Published 4 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50496

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50496 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.83% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 034cbc8d3b47a56acd89453c29632a9c117de09d
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 993406104d2b28fe470126a062ad37a1e21e792e
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 4d20032dd90664de09f2902a7ea49ae2f7771746
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 2f097dfac7579fd84ff98eb1d3acd41d53a485f3
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 2b17026685a270b2beaf1cdd9857fcedd3505c7e
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before d2a0b298ebf83ab6236f66788a3541e91ce75a70
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 6ac4f36910764cb510bafc4c3768544f86ca48ca
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 6a3e412c2ab131c54945327a7676b006f000a209
affected from c6b4fcbad044e6fffcc75bba160e720eb8d67d17, before 6a459d8edbdbe7b24db42a5a9f21e6aa9e00c2aa
Other versions: unaffected
Linux
affected 3.9
unaffected before 3.9
unaffected from 4.9.337 up to and including 4.9.*
unaffected from 4.14.303 up to and including 4.14.*
unaffected from 4.19.270 up to and including 4.19.*
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.87 up to and including 5.15.*
unaffected from 6.0.18 up to and including 6.0.*
unaffected from 6.1.4 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50496 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50496

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50496
trivy image --scanners vuln IMAGE | grep CVE-2022-50496

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50496 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.