Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-54299

usb: typec: bus: verify partner exists in typec_altmode_attention

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < 5f71716772b88cbe0e1788f6a38d7871aff2120baffected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < 38e1f2ee82bacbbfded8f1c06794a443d038d054affected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < 0ad6bad31da692f8d7acacab07eabe7586239ae0affected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < 0d3b5fe47938e9c451466845304a2bd74e967a80affected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < d49547950bf7f3480d6ca05fe055978e5f0d9e5baffected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < 1101867a1711c27d8bbe0e83136bec47f8c1ca2aaffected
  • 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 to < f23643306430f86e2f413ee2b986e0773e79da31affected

Linux Linux

Default version status: affected

  • 4.19affected
  • 0 to < 4.19unaffected
  • 5.4.257 to ≤ 5.4.*unaffected
  • 5.10.195 to ≤ 5.10.*unaffected
  • 5.15.132 to ≤ 5.15.*unaffected
  • 6.1.53 to ≤ 6.1.*unaffected
  • 6.4.16 to ≤ 6.4.*unaffected
  • 6.5.3 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References