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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-10-20T15:26:56.558Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 70b0c11483d3b90b2d0f416026e475e084a77e62; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< e15de80737d444ed743b1c60ced4a3a97913169b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< f800f7054d2cf28b51296c7c575da27c29e3859b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 0fc650fa475b50c1da8236c5e900b9460c7027bc; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 352e66900cde63f3dadb142364d3c35170bbaaff
- Anyone running Linux 3.3

## 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.

## Affected and fixed versions

- Linux: \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 70b0c11483d3b90b2d0f416026e475e084a77e62; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< e15de80737d444ed743b1c60ced4a3a97913169b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< f800f7054d2cf28b51296c7c575da27c29e3859b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 0fc650fa475b50c1da8236c5e900b9460c7027bc; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 352e66900cde63f3dadb142364d3c35170bbaaff (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- Upgrade Linux to 352e66900cde63f3dadb142364d3c35170bbaaff or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40011. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40011.md
Affected: Linux >= 1b082ccf5901108d3acd860a73d8c0442556c0bb, < 70b0c11483d3b90b2d0f416026e475e084a77e62; >= 1b082ccf5901108d3acd860a73d8c0442556c0bb, < 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e; >= 1b082ccf5901108d3acd860a73d8c0442556c0bb, < e15de80737d444ed743b1c60ced4a3a97913169b; >= 1b082ccf5901108d3acd860…
Fixed in: Linux 70b0c11483d3b90b2d0f416026e475e084a77e62, Linux 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e, Linux 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7, Linux 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba, Linux 0fc650fa475b50c1da8236c5e900b9460c7027bc, Linux 352e66900cde63f3dadb142364d3c35170bbaaff

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40011 being exploited?

There is no confirmed exploitation: CVE-2025-40011 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40011?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40011?

Linux \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 70b0c11483d3b90b2d0f416026e475e084a77e62; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< e15de80737d444ed743b1c60ced4a3a97913169b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< f800f7054d2cf28b51296c7c575da27c29e3859b; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 0fc650fa475b50c1da8236c5e900b9460c7027bc; \>= 1b082ccf5901108d3acd860a73d8c0442556c0bb, \< 352e66900cde63f3dadb142364d3c35170bbaaff; Linux 3.3.

### Is there a fix for CVE-2025-40011?

Yes. Fixed in Linux 70b0c11483d3b90b2d0f416026e475e084a77e62, Linux 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e, Linux 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7, Linux 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba, Linux 0fc650fa475b50c1da8236c5e900b9460c7027bc, Linux 352e66900cde63f3dadb142364d3c35170bbaaff. Upgrade Linux to 352e66900cde63f3dadb142364d3c35170bbaaff or later.

### How do I check if I'm affected by CVE-2025-40011?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62>
- other: <https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e>
- other: <https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b>
- other: <https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7>
- other: <https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba>
- other: <https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b>
- other: <https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc>
- other: <https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40011>

HTML: <https://flawdb.com/CVE-2025-40011> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40011>
