drm/gma500: Fix null dereference in hdmi teardown
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.245, 5.15.194, 5.4.300, 6.1.155, 6.12.50, 6.16.10, 6.6.109
- CVEs
- CVE-2025-40011
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 16:47 UTC · Revision 1
Source evidence
drm/gma500: Fix null dereference in hdmi teardown
core-osv · Original sourcePublished 20 Oct 2025, 15:26 UTC
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.
osv:CVE-2025-40011
Kernel
Fixed versions: 5.4.300, 5.10.245, 5.15.194, 6.1.155, 6.6.109, 6.12.50, 6.16.10
Complete source record
{
"id": "6cea7fabbf6ca2444706cd8b3d9e98bd4aeb0f75c5b16ee791de443abb5776c1",
"url": "https://osv.dev/vulnerability/CVE-2025-40011",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/gma500: Fix null dereference in hdmi teardown",
"summary": "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.",
"evidence": "osv:CVE-2025-40011",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.300",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.245",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.194",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.155",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.109",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.50",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-40011",
"aliases": [
"CVE-2025-40011"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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/cve-osv-conversion/osv-output/CVE-2025-40011.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40011.json"
}
}
],
"modified": "2026-10-28T02:30:44.389498725Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7",
"https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc",
"https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff",
"https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e",
"https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba",
"https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62",
"https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b",
"https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40011.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40011",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40011.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40011",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 512443,
"published_at": "2025-10-20T15:26:56.558+00:00"
}