CVE-2023-52931Published Mar 27, 2025 · Mar 27Updated Oct 28
drm/i915: Avoid potential vm use-after-free
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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)
From the CVE record · Linux
The Linux kernel’s drm/i915 driver can expose a VM to userspace before taking an extra reference to it. Local userspace could race to close the VM, potentially causing a use-after-free.
Engineers running Linux kernels with the drm/i915 driver should check whether their kernel includes the fix; affected versions are not specified.