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

CVE-2026-98760
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < bab4210634be8e6d4181155d1b99106ad24cea70
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < 72582e9bb721cd766ae333af8ebf90061dfefeaf
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < a39d53f70e637ff3970046c32106a0e64fca62cd
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < 4b6823ce0e548491cb9663303cba28e18d351096
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < 282be6ae8be791762740107c79cecf5121f66063
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < dac0c073c6ad5f1bbb5e9fea9023fc1b4dab5e14
affected : ≥ 0a4c005bd1715d8b32a368ed5516a6ee7e603d18 < c4b27b3605788bbf9e4251f3cd4ab94645ab036f
Other versions : unaffected
Linux · Linux
affected : 4.15
unaffected : ≥ 0 < 4.15
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.113 ≤ 6.12.*
unaffected : ≥ 6.18.56 ≤ 6.18.*
unaffected : ≥ 7.2.10 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD