CVE-2023-53316 drm/msm/dp: Free resources after unregistering them

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's DisplayPort driver allows attackers to cause denial of service or execute arbitrary code during device unbinding.

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

CVE-2023-53316 is a high-severity use after free vulnerability in Linux kernel, published on 16 Sep 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/msm/dp: Free resources after unregistering them

The DP component's unbind operation walks through the submodules to unregister and clean things up. But if the unbind happens because the DP controller itself is being removed, all the memory for those submodules has just been freed.

Change the order of these operations to avoid the many use-after-free that otherwise happens in this code path.

Patchwork: https://patchwork.freedesktop.org/patch/542166/

Weakness: CWE-416

Which versions are affected by CVE-2023-53316?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53316?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53316, DEBIAN-CVE-2023-53316, GHSA-hph3-9q45-4pf2, UBUNTU-CVE-2023-53316.

Is CVE-2023-53316 in your software?

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

Check your SBOMs for free