CVE-2023-54299 Details
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.
A vulnerability in the Linux kernel's USB Type-C bus implementation can lead to a NULL pointer dereference. This issue arises in the handling of DisplayPort Alt mode negotiations. When a USB hub negotiates a data role swap after entering Alt mode, the connected device unregisters all Alt modes. However, the hub continues to send Attention messages, creating a mismatch. The current implementation of the typec_altmode_attention function does not verify the existence of a device's Alt mode partner, leading to a NULL pointer error when the partner's Alt mode data is accessed. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion