driver core: platform: use generic driver_override infrastructure
In the Linux kernel, the following vulnerability has been resolved: driver core: platform: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.80, 6.18.21, 6.19.11, 6.6.142
- CVEs
- CVE-2026-31527
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:24 UTC · Revision 1
Source evidence
driver core: platform: use generic driver_override infrastructure
core-osv · Original sourcePublished 22 Apr 2026, 13:54 UTC
In the Linux kernel, the following vulnerability has been resolved: driver core: platform: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1]
osv:CVE-2026-31527
Kernel
Fixed versions: 6.6.142, 6.12.80, 6.18.21, 6.19.11
Complete source record
{
"id": "a81e48c2b2a0cc999c647a79c676e1756ec7606bba9d36317486cb92cd729be9",
"url": "https://osv.dev/vulnerability/CVE-2026-31527",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "driver core: platform: use generic driver_override infrastructure",
"summary": "In the Linux kernel, the following vulnerability has been resolved: driver core: platform: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1]",
"evidence": "osv:CVE-2026-31527",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.142",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.80",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.21",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-31527",
"aliases": [
"CVE-2026-31527"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3d713e0e382e6fcfb4bba1501645b66c129ad60b"
},
{
"fixed": "492349e5e4a369a8b62781100a3ade470bf1ce6b"
},
{
"fixed": "9a6086d2a828dd2ff74cf9abcae456670febd71f"
},
{
"fixed": "7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1"
},
{
"fixed": "edee7ee5a14c3b33f6d54641f5af5c5e9180992d"
},
{
"fixed": "2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31527.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.17.0"
},
{
"fixed": "6.6.142"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.80"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.21"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31527.json"
}
}
],
"modified": "2026-10-28T02:30:42.625255741Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d",
"https://git.kernel.org/stable/c/492349e5e4a369a8b62781100a3ade470bf1ce6b",
"https://git.kernel.org/stable/c/7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1",
"https://git.kernel.org/stable/c/9a6086d2a828dd2ff74cf9abcae456670febd71f",
"https://git.kernel.org/stable/c/edee7ee5a14c3b33f6d54641f5af5c5e9180992d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31527.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31527",
"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/2026/31xxx/CVE-2026-31527.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31527",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 510260,
"published_at": "2026-04-22T13:54:40.485+00:00"
}