CVE-2023-52801 iommufd: Fix missing update of domains_itree after splitting iopt_area

High 8.8 Published Updated

A use-after-free vulnerability in the Linux kernel's iommufd subsystem allows attackers to execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52801?

CVE-2023-52801 is a high-severity use after free vulnerability in Linux kernel, published on 21 May 2024. 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:

iommufd: Fix missing update of domains_itree after splitting iopt_area

In iopt_area_split(), if the original iopt_area has filled a domain and is linked to domains_itree, pages_nodes have to be properly reinserted. Otherwise the domains_itree becomes corrupted and we will UAF.

Weakness: CWE-284

Which versions are affected by CVE-2023-52801?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52801?

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-2023-52801 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52801, DEBIAN-CVE-2023-52801, GHSA-p886-4435-7m79, UBUNTU-CVE-2023-52801.

Is CVE-2023-52801 in your software?

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

Check your SBOMs for free