usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() cd321x_update_work() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.56, 7.2.10
- CVEs
- CVE-2026-98759
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:12 UTC · Revision 1
Source evidence
usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()
core-osv · Original sourcePublished 18 Oct 2026, 15:47 UTC
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() cd321x_update_work() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero.
osv:CVE-2026-98759
Kernel
Fixed versions: 6.18.56, 7.2.10
Complete source record
{
"id": "b54be77038910ddca1d34238301e81efee20be4d269c1f9333aba7993cda72c8",
"url": "https://osv.dev/vulnerability/CVE-2026-98759",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() cd321x_update_work() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero.",
"evidence": "osv:CVE-2026-98759",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.56",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98759",
"aliases": [
"CVE-2026-98759"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "82432bbfb9e83b7e81d04660fe129b99a29b2ac2"
},
{
"fixed": "75dc6cb377efd2f4428b7f76d3a590a0bbc10399"
},
{
"fixed": "5414144e202a32437e3eb436cd3f5f00d79ad86e"
},
{
"fixed": "88c7e458af53ff781a3f1051708395892b325576"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98759.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.18.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-98759.json"
}
}
],
"modified": "2026-10-28T02:30:31.277502695Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5414144e202a32437e3eb436cd3f5f00d79ad86e",
"https://git.kernel.org/stable/c/75dc6cb377efd2f4428b7f76d3a590a0bbc10399",
"https://git.kernel.org/stable/c/88c7e458af53ff781a3f1051708395892b325576",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98759.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98759",
"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-98759.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98759",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 498310,
"published_at": "2026-10-18T15:47:47.988+00:00"
}