CVE-2022-50889 dm integrity: Fix UAF in dm_integrity_dtr()

Not scored Published Updated

A use-after-free vulnerability in the Linux kernel dm_integrity module allows local attackers 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-50889?

CVE-2022-50889 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 integrity: Fix UAF in dm_integrity_dtr()

Dm_integrity also has the same UAF problem when dm_resume() and dm_destroy() are concurrent.

Therefore, cancelling timer again in dm_integrity_dtr().

Which versions are affected by CVE-2022-50889?

How do I fix CVE-2022-50889?

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

There is no known exploitation of CVE-2022-50889 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50889, GHSA-xvv5-rwhg-mg45, UBUNTU-CVE-2022-50889.

Is CVE-2022-50889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free