CVE-2022-50843 dm clone: Fix UAF in clone_dtr()
A use-after-free vulnerability in the Linux kernel dm clone module allows local attackers with high privileges to execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50843?
CVE-2022-50843 is an use after free vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
dm clone: Fix UAF in clone_dtr()
Dm_clone also has the same UAF problem when dm_resume() and dm_destroy() are concurrent.
Therefore, cancelling timer again in clone_dtr().
Which versions are affected by CVE-2022-50843?
How do I fix CVE-2022-50843?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-50843 being exploited?
There is no known exploitation of CVE-2022-50843 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50843, GHSA-f4xq-gq7q-8jfg, UBUNTU-CVE-2022-50843.