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

CVE-2026-98759
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 < 75dc6cb377efd2f4428b7f76d3a590a0bbc10399
affectée : ≥ 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 < 5414144e202a32437e3eb436cd3f5f00d79ad86e
affectée : ≥ 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 < 88c7e458af53ff781a3f1051708395892b325576
Autres versions : non affectée
Linux · Linux
affectée : 6.18
non affectée : ≥ 0 < 6.18
non affectée : ≥ 6.18.56 ≤ 6.18.*
non affectée : ≥ 7.2.10 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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