usb: typec: bus: verify partner exists in typec_altmode_attention
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.19
References 7
git.kernel.org
- stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b
- stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054
- stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0
- stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80
- stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b
- stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a
- stable/c/f23643306430f86e2f413ee2b986e0773e79da31