usb: typec: bus: verify partner exists in typec_altmode_attention (Linux Linux)

CVE-2023-54299
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: bus: verify partner exists in typec_altmode_attention Some usb hubs will negotiate DisplayPort Alt mode with the device but will then negotiate a data role swap after entering the alt mode. The data role swap causes the device to unregister all alt modes, however the usb hub will still send Attention messages even after failing to reregister the Alt Mode. type_altmode_attention currently does not verify whether or not a device's altmode partner exists, which results in a NULL pointer error when dereferencing the typec_altmode and typec_altmode_ops belonging to the altmode partner. Verify the presence of a device's altmode partner before sending the Attention message to the Alt Mode driver.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < 5f71716772b88cbe0e1788f6a38d7871aff2120b ; affected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < 38e1f2ee82bacbbfded8f1c06794a443d038d054 ; affected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < 0ad6bad31da692f8d7acacab07eabe7586239ae0 ; affected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < 0d3b5fe47938e9c451466845304a2bd74e967a80 ; affected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < d49547950bf7f3480d6ca05fe055978e5f0d9e5b ; affected 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 < 1101867a1711c27d8bbe0e83136bec47f8c1ca2a
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.* ; unaffected 5.15.132 ≤ 5.15.* ; unaffected 6.1.53 ≤ 6.1.*

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