{"id":"CVE-2026-98759","state":"PUBLISHED","title":"usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()\n\ncd321x_update_work() passes a stack-allocated typec_partner_desc to\ntypec_register_partner() after initializing only usb_pd, accessory and\nidentity.\n\ntypec_register_partner() copies attach and deattach from the descriptor\ninto the partner. With those fields left unset, garbage function pointers\nmay be stored and later invoked from typec_partner_link_device() when a USB\ndevice is linked to the port. Uninitialized pd_revision and usb_capability\nsimilarly leak stack data through partner sysfs.\n\nZero-initialize the descriptor so optional callbacks remain NULL and the\nremaining fields are zero.","publishedAt":"2026-10-18T15:47:47.988Z","updatedAt":"2026-10-19T09:25:12.754Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"75dc6cb377efd2f4428b7f76d3a590a0bbc10399","versionType":"git"},{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"5414144e202a32437e3eb436cd3f5f00d79ad86e","versionType":"git"},{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"88c7e458af53ff781a3f1051708395892b325576","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/tipd/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/tipd/core.c"]}],"references":["https://git.kernel.org/stable/c/75dc6cb377efd2f4428b7f76d3a590a0bbc10399","https://git.kernel.org/stable/c/5414144e202a32437e3eb436cd3f5f00d79ad86e","https://git.kernel.org/stable/c/88c7e458af53ff781a3f1051708395892b325576"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98759.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98759","state":"PUBLISHED","datePublished":"2026-10-18T15:47:47.988Z","dateUpdated":"2026-10-19T09:25:12.754Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.368Z"},"containers":{"cna":{"title":"usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()\n\ncd321x_update_work() passes a stack-allocated typec_partner_desc to\ntypec_register_partner() after initializing only usb_pd, accessory and\nidentity.\n\ntypec_register_partner() copies attach and deattach from the descriptor\ninto the partner. With those fields left unset, garbage function pointers\nmay be stored and later invoked from typec_partner_link_device() when a USB\ndevice is linked to the port. Uninitialized pd_revision and usb_capability\nsimilarly leak stack data through partner sysfs.\n\nZero-initialize the descriptor so optional callbacks remain NULL and the\nremaining fields are zero."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"75dc6cb377efd2f4428b7f76d3a590a0bbc10399","versionType":"git"},{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"5414144e202a32437e3eb436cd3f5f00d79ad86e","versionType":"git"},{"version":"82432bbfb9e83b7e81d04660fe129b99a29b2ac2","status":"affected","lessThan":"88c7e458af53ff781a3f1051708395892b325576","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/tipd/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/tipd/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/75dc6cb377efd2f4428b7f76d3a590a0bbc10399"},{"url":"https://git.kernel.org/stable/c/5414144e202a32437e3eb436cd3f5f00d79ad86e"},{"url":"https://git.kernel.org/stable/c/88c7e458af53ff781a3f1051708395892b325576"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:25:12.754Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}