CVE-2025-40011 drm/gma500: Fix null dereference in hdmi teardown

Not scored Published Updated

A null pointer dereference in the gma500 HDMI teardown allows local attackers to cause a system crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-40011?

CVE-2025-40011 is a vulnerability in Linux, published on 20 Oct 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/gma500: Fix null dereference in hdmi teardown

pci_set_drvdata sets the value of pdev->driver_data to NULL, after which the driver_data obtained from the same dev is dereferenced in oaktrail_hdmi_i2c_exit, and the i2c_dev is extracted from it. To prevent this, swap these calls.

Found by Linux Verification Center (linuxtesting.org) with Svacer.

Which versions are affected by CVE-2025-40011?

How do I fix CVE-2025-40011?

Apply the vendor's patch.

Is CVE-2025-40011 being exploited?

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

Sources

Also known as BELL-CVE-2025-40011, DEBIAN-CVE-2025-40011, GHSA-69p9-3qcg-w5mw, ROOT-OS-DEBIAN-11-CVE-2025-40011, ROOT-OS-DEBIAN-12-CVE-2025-40011, ROOT-OS-DEBIAN-13-CVE-2025-40011 and 2 more.

Is CVE-2025-40011 in your software?

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

Check your SBOMs for free