CVE-2023-52801·Kernel vulnerability
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.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 6.6.3
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update your Linux kernel to version 6.6.3 or later to patch a critical memory management flaw in the iommufd subsystem. This vulnerability affects systems running kernel versions 6.6 through 6.6.2 and can lead to use-after-free conditions when the iommu page table tree structure is not properly maintained during memory area splits. Immediate kernel upgrade is strongly recommended for all affected systems.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — ensure version is 6.6.3 or later
- Verify iommufd is in use: grep -i iommu /proc/cmdline or check dmesg for iommufd initialization messages
- Review kernel logs for memory faults: dmesg | grep -i 'UAF\|use-after-free\|iommufd' or journalctl -k | grep iommufd
- Confirm the patch was applied: grep -i 'domains_itree' /boot/config-$(uname -r) to verify iommufd support, then verify kernel version matches 6.6.3+
FAQ
What is CVE-2023-52801?
This is a critical use-after-free vulnerability in the Linux kernel's iommufd (IOMMU file descriptor) subsystem. When an I/O memory page table area is split, the associated domain tree structure fails to update correctly, leading to memory corruption and potential kernel crashes or privilege escalation.
Is CVE-2023-52801 being actively exploited?
No, CVE-2023-52801 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, the critical CVSS 9.1 score warrants immediate patching.
What versions of Kernel are affected by CVE-2023-52801?
Linux kernel versions 6.6.0 through 6.6.2 are vulnerable. The fix was released in kernel 6.6.3 and later stable branches.
How do I check if my server is vulnerable to CVE-2023-52801?
Run 'uname -r' to display your kernel version. If the output shows version 6.6.0, 6.6.1, or 6.6.2, your system is vulnerable and requires immediate kernel upgrade and reboot.
Does Defensia detect CVE-2023-52801?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52801 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/836db2e7e4565d8218923b3552304a1637e2f28d
- https://git.kernel.org/stable/c/e7250ab7ca4998fe026f2149805b03e09dc32498
- https://git.kernel.org/stable/c/fcb32111f01ddf3cbd04644cde1773428e31de6a
- https://git.kernel.org/stable/c/836db2e7e4565d8218923b3552304a1637e2f28d
- https://git.kernel.org/stable/c/e7250ab7ca4998fe026f2149805b03e09dc32498
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52801. Free for 1 server.
Get started free