spi: ch341: fix devres lifetime
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.114, 6.18.32, 7.0.9
- CVEs
- CVE-2026-46228
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:00 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.
osv:CVE-2026-46228
Kernel
Fixed versions: 6.12.114, 6.18.32, 7.0.9
Complete source record
{
"id": "9527e47cc00215dd2e2d5eedcf5ef181608827deb087ab2b6b65eed8f1d2c8af",
"url": "https://osv.dev/vulnerability/CVE-2026-46228",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "spi: ch341: fix devres lifetime",
"summary": "In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.",
"evidence": "osv:CVE-2026-46228",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.114",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.32",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-46228",
"aliases": [
"CVE-2026-46228"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8846739f52afa07e63395c80227dc544f54bd7b1"
},
{
"fixed": "42dfcd2ced905ea3993d88a051c13e04ab1029f7"
},
{
"fixed": "4422fc2411cbbdf5104a914e0596bb483faea254"
},
{
"fixed": "108a64b27a52f781c4f3751641e3dd65c7dd2fb5"
},
{
"fixed": "abe572f630bc1f0e77041012ab075869036ede4f"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46228.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.12.114"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.32"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46228.json"
}
}
],
"modified": "2026-10-28T02:30:42.135088450Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/108a64b27a52f781c4f3751641e3dd65c7dd2fb5",
"https://git.kernel.org/stable/c/42dfcd2ced905ea3993d88a051c13e04ab1029f7",
"https://git.kernel.org/stable/c/4422fc2411cbbdf5104a914e0596bb483faea254",
"https://git.kernel.org/stable/c/abe572f630bc1f0e77041012ab075869036ede4f",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46228.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46228",
"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/46xxx/CVE-2026-46228.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46228",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 510078,
"published_at": "2026-05-28T09:40:48.689+00:00"
}