CVE-2023-52930 drm/i915: Fix potential bit_17 double-free

High 7.8 Published Updated

A race condition in the Linux kernel's i915 driver allows a double-free, potentially leading to code execution or privilege escalation.

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-52930?

CVE-2023-52930 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: Fix potential bit_17 double-free

A userspace with multiple threads racing I915_GEM_SET_TILING to set the tiling to I915_TILING_NONE could trigger a double free of the bit_17 bitmask. (Or conversely leak memory on the transition to tiled.) Move allocation/free'ing of the bitmask within the section protected by the obj lock.

[tursulin: Correct fixes tag and added cc stable.] (cherry picked from commit 10e0cbaaf1104f449d695c80bcacf930dcd3c42e)

Weakness: CWE-415

Which versions are affected by CVE-2023-52930?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52930?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52930, DEBIAN-CVE-2023-52930, GHSA-8295-hcjh-5w9p, UBUNTU-CVE-2023-52930.

Is CVE-2023-52930 in your software?

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

Check your SBOMs for free