CVE-2026-98760 PUBLISHED

usb: typec: tipd: fix uninitialized typec_partner_desc in tps6598x_connect()

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: tipd: fix uninitialized typec_partner_desc in tps6598x_connect()

tps6598x_connect() 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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 to 4b6823ce0e548491cb9663303cba28e18d351096 (excl.)
  • affected from 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 to 282be6ae8be791762740107c79cecf5121f66063 (excl.)
  • affected from 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 to dac0c073c6ad5f1bbb5e9fea9023fc1b4dab5e14 (excl.)
  • affected from 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 to c4b27b3605788bbf9e4251f3cd4ab94645ab036f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References