{"id":"CVE-2023-54299","summary":"usb: typec: bus: verify partner exists in typec_altmode_attention","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: bus: verify partner exists in typec_altmode_attention\n\nSome usb hubs will negotiate DisplayPort Alt mode with the device\nbut will then negotiate a data role swap after entering the alt\nmode. The data role swap causes the device to unregister all alt\nmodes, however the usb hub will still send Attention messages\neven after failing to reregister the Alt Mode. type_altmode_attention\ncurrently does not verify whether or not a device's altmode partner\nexists, which results in a NULL pointer error when dereferencing\nthe typec_altmode and typec_altmode_ops belonging to the altmode\npartner.\n\nVerify the presence of a device's altmode partner before sending\nthe Attention message to the Alt Mode driver.","modified":"2026-04-02T09:45:45.462366Z","published":"2025-12-30T12:23:35.146Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54299.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54299.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54299"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8a37d87d72f0c69f837229c04d2fcd7117ea57e7"},{"fixed":"5f71716772b88cbe0e1788f6a38d7871aff2120b"},{"fixed":"38e1f2ee82bacbbfded8f1c06794a443d038d054"},{"fixed":"0ad6bad31da692f8d7acacab07eabe7586239ae0"},{"fixed":"0d3b5fe47938e9c451466845304a2bd74e967a80"},{"fixed":"d49547950bf7f3480d6ca05fe055978e5f0d9e5b"},{"fixed":"1101867a1711c27d8bbe0e83136bec47f8c1ca2a"},{"fixed":"f23643306430f86e2f413ee2b986e0773e79da31"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54299.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"5.4.257"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.132"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.5.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54299.json"}}],"schema_version":"1.7.5"}