USB: serial: fix port tear down use-after-free
In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.273, 5.15.224, 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
- CVEs
- CVE-2026-98772
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:23 UTC · Revision 1
Source evidence
USB: serial: fix port tear down use-after-free
core-osv · Original sourcePublished 18 Oct 2026, 15:48 UTC
In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.
osv:CVE-2026-98772
Kernel
Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10
Complete source record
{
"id": "207b4872f9c0c9d8bf7054adf4b7580a1230ed07c90c00025e438d86bb4a1ccc",
"url": "https://osv.dev/vulnerability/CVE-2026-98772",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "USB: serial: fix port tear down use-after-free",
"summary": "In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.",
"evidence": "osv:CVE-2026-98772",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.273",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.224",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.191",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.56",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98772",
"aliases": [
"CVE-2026-98772"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2d93148ab6988cad872e65d694c95e8944e1b626"
},
{
"fixed": "8ed69d299b9d7872f911f089e00cdd2ea6969d2c"
},
{
"fixed": "bf296d7b75bfd49dc519ad0406e89ddc5c3f02e3"
},
{
"fixed": "94601d83fc4811485ca6fb1d50bece589fe1c24d"
},
{
"fixed": "e4a6883ad9b4686a5f4bd90ff55a44d7ab65bd3c"
},
{
"fixed": "60cc9379c3e650d1ebfba4de63f1242537a62a32"
},
{
"fixed": "5e8980a81af195c49084be5b4c031085b56c7443"
},
{
"fixed": "e80ee74206f260eb1282e7d1339ff146a4a410d0"
},
{
"fixed": "33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98772.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.30"
},
{
"fixed": "5.10.273"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.224"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.191"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.113"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98772.json"
}
}
],
"modified": "2026-11-01T02:30:31.704981997Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b",
"https://git.kernel.org/stable/c/5e8980a81af195c49084be5b4c031085b56c7443",
"https://git.kernel.org/stable/c/60cc9379c3e650d1ebfba4de63f1242537a62a32",
"https://git.kernel.org/stable/c/8ed69d299b9d7872f911f089e00cdd2ea6969d2c",
"https://git.kernel.org/stable/c/94601d83fc4811485ca6fb1d50bece589fe1c24d",
"https://git.kernel.org/stable/c/bf296d7b75bfd49dc519ad0406e89ddc5c3f02e3",
"https://git.kernel.org/stable/c/e4a6883ad9b4686a5f4bd90ff55a44d7ab65bd3c",
"https://git.kernel.org/stable/c/e80ee74206f260eb1282e7d1339ff146a4a410d0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98772.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98772",
"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/98xxx/CVE-2026-98772.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98772",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 496786,
"published_at": "2026-10-18T15:48:08.184+00:00"
}