CVE-2025-21968 drm/amd/display: Fix slab-use-after-free on hdcp_work

High 7.8 Published Updated

A use-after-free in the Linux kernel's AMD display driver allows attackers to cause denial of service or execute code via HDCP destruction.

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-2025-21968?

CVE-2025-21968 is a high-severity use after free vulnerability in Linux kernel, published on 1 Apr 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/amd/display: Fix slab-use-after-free on hdcp_work

[Why] A slab-use-after-free is reported when HDCP is destroyed but the property_validate_dwork queue is still running.

[How] Cancel the delayed work when destroying workqueue.

(cherry picked from commit 725a04ba5a95e89c89633d4322430cfbca7ce128)

Weakness: CWE-416

Which versions are affected by CVE-2025-21968?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21968?

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-2025-21968 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-21968, DEBIAN-CVE-2025-21968, GHSA-rvg2-pv9x-xxhg, ROOT-OS-UBUNTU-2404-CVE-2025-21968, UBUNTU-CVE-2025-21968.

Is CVE-2025-21968 in your software?

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

Check your SBOMs for free