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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-10-20T15:26:56.558Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 70b0c11483d3b90b2d0f416026e475e084a77e62; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before e15de80737d444ed743b1c60ced4a3a97913169b; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before f800f7054d2cf28b51296c7c575da27c29e3859b; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 0fc650fa475b50c1da8236c5e900b9460c7027bc; from 1b082ccf5901108d3acd860a73d8c0442556c0bb before 352e66900cde63f3dadb142364d3c35170bbaaff; 3.3 (not affected: before 3.3; from 5.4.300 up to 5.4.*; from 5.10.245 up to 5.10.*; from 5.15.194 up to 5.15.*; from 6.1.155 up to 6.1.*; from 6.6.109 up to 6.6.*; from 6.12.50 up to 6.12.*; from 6.16.10 up to 6.16.*; from 6.17 up to *)

## References

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

## Sources

- CVE List: [CVE-2025-40011](https://www.cve.org/CVERecord?id=CVE-2025-40011), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40011](https://nvd.nist.gov/vuln/detail/CVE-2025-40011), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40011 · Whole record: https://cve.day/CVE-2025-40011.json · Rebuilt by cve.day 2026-11-25T22:59:06.578Z
