{"id":"CVE-2025-40011","aliases":["CVE-2025-40011"],"related":[],"kind":"vulnerability","state":"published","title":"drm/gma500: Fix null dereference in hdmi teardown","summary":"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->driver_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->driver_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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/gma500: Corrección de desreferencia nula en el desmontaje de hdmi\n\npci_set_drvdata establece el valor de pdev->driver_data a NULL, después de lo cual el driver_data obtenido del mismo dev es desreferenciado en oaktrail_hdmi_i2c_exit, y el i2c_dev es extraído de él. Para prevenir esto, intercambiar estas llamadas.\n\nEncontrado por Linux Verification Center (linuxtesting.org) con Svacer.","source":"nvd"}],"published":"2025-10-20T15:26:56.558Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"70b0c11483d3b90b2d0f416026e475e084a77e62","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"4bbfd1b290857b9d14ea9d91562bde55ff2bc85e","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"e15de80737d444ed743b1c60ced4a3a97913169b","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"f800f7054d2cf28b51296c7c575da27c29e3859b","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"0fc650fa475b50c1da8236c5e900b9460c7027bc","status":"affected"},{"type":"git","introduced":"1b082ccf5901108d3acd860a73d8c0442556c0bb","fixed":"352e66900cde63f3dadb142364d3c35170bbaaff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"5.4.300","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.245","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.194","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.155","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.109","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.50","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.10","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40011","url":"https://www.cve.org/CVERecord?id=CVE-2025-40011","licence":"CVE Terms of Use","modified":"2026-05-11T21:40:45.348Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40011","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40011","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.578Z","epss":{"score":0.00257,"percentile":0.18482,"date":"2026-12-01T12:00:22.000Z"}}