{"id":"CVE-2025-40011","summary":"drm/gma500: Fix null dereference in hdmi teardown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gma500: Fix null dereference in hdmi teardown\n\npci_set_drvdata sets the value of pdev-\u003edriver_data to NULL,\nafter which the driver_data obtained from the same dev is\ndereferenced in oaktrail_hdmi_i2c_exit, and the i2c_dev is\nextracted from it. To prevent this, swap these calls.\n\nFound by Linux Verification Center (linuxtesting.org) with Svacer.","modified":"2026-04-16T00:00:11.391942662Z","published":"2025-10-20T15:26:56.558Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21080-1","SUSE-SU-2025:21147-1","SUSE-SU-2025:21180-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1","openSUSE-SU-2025:20091-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40011.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40011.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40011"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb"},{"fixed":"70b0c11483d3b90b2d0f416026e475e084a77e62"},{"fixed":"4bbfd1b290857b9d14ea9d91562bde55ff2bc85e"},{"fixed":"e15de80737d444ed743b1c60ced4a3a97913169b"},{"fixed":"02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7"},{"fixed":"6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba"},{"fixed":"f800f7054d2cf28b51296c7c575da27c29e3859b"},{"fixed":"0fc650fa475b50c1da8236c5e900b9460c7027bc"},{"fixed":"352e66900cde63f3dadb142364d3c35170bbaaff"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40011.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"5.4.300"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.245"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.194"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.155"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.16.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40011.json"}}],"schema_version":"1.7.5"}