CVE-2023-52931 drm/i915: Avoid potential vm use-after-free
A race condition in the Linux kernel's i915 driver allows a use-after-free, potentially enabling local attackers to execute 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-52931?
CVE-2023-52931 is a high-severity use after free vulnerability in Linux kernel, published on 27 Mar 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:
drm/i915: Avoid potential vm use-after-free
Adding the vm to the vm_xa table makes it visible to userspace, which could try to race with us to close the vm. So we need to take our extra reference before putting it in the table.
(cherry picked from commit 99343c46d4e2b34c285d3d5f68ff04274c2f9fb4)
Weakness: CWE-416
Which versions are affected by CVE-2023-52931?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52931?
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-52931 being exploited?
There is no known exploitation of CVE-2023-52931 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52931, DEBIAN-CVE-2023-52931, GHSA-fj6j-g6mj-6hf2, UBUNTU-CVE-2023-52931.