# CVE-2023-54299: usb: typec: bus: verify partner exists in typec\_altmode\_attention

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:23:35.146Z
- **Modified:** 2026-06-17T06:47:10.947Z

## Who should check

- Anyone running Linux \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 5f71716772b88cbe0e1788f6a38d7871aff2120b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 38e1f2ee82bacbbfded8f1c06794a443d038d054; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0ad6bad31da692f8d7acacab07eabe7586239ae0; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0d3b5fe47938e9c451466845304a2bd74e967a80; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< d49547950bf7f3480d6ca05fe055978e5f0d9e5b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 1101867a1711c27d8bbe0e83136bec47f8c1ca2a; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< f23643306430f86e2f413ee2b986e0773e79da31
- Anyone running Linux 4.19

## 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 and fixed versions

- Linux: \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 5f71716772b88cbe0e1788f6a38d7871aff2120b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 38e1f2ee82bacbbfded8f1c06794a443d038d054; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0ad6bad31da692f8d7acacab07eabe7586239ae0; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0d3b5fe47938e9c451466845304a2bd74e967a80; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< d49547950bf7f3480d6ca05fe055978e5f0d9e5b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 1101867a1711c27d8bbe0e83136bec47f8c1ca2a; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< f23643306430f86e2f413ee2b986e0773e79da31 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54299. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54299.md
Affected: Linux >= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, < 5f71716772b88cbe0e1788f6a38d7871aff2120b; >= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, < 38e1f2ee82bacbbfded8f1c06794a443d038d054; >= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, < 0ad6bad31da692f8d7acacab07eabe7586239ae0; >= 8a37d87d72f0c69f837229c…
Fixed in: Linux 5f71716772b88cbe0e1788f6a38d7871aff2120b, Linux 38e1f2ee82bacbbfded8f1c06794a443d038d054, Linux 0ad6bad31da692f8d7acacab07eabe7586239ae0, Linux 0d3b5fe47938e9c451466845304a2bd74e967a80, Linux 1101867a1711c27d8bbe0e83136bec47f8c1ca2a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54299 being exploited?

There is no confirmed exploitation: CVE-2023-54299 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54299?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54299?

Linux \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 5f71716772b88cbe0e1788f6a38d7871aff2120b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 38e1f2ee82bacbbfded8f1c06794a443d038d054; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0ad6bad31da692f8d7acacab07eabe7586239ae0; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 0d3b5fe47938e9c451466845304a2bd74e967a80; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< d49547950bf7f3480d6ca05fe055978e5f0d9e5b; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< 1101867a1711c27d8bbe0e83136bec47f8c1ca2a; \>= 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, \< f23643306430f86e2f413ee2b986e0773e79da31; Linux 4.19.

### Is there a fix for CVE-2023-54299?

Yes. Fixed in Linux 5f71716772b88cbe0e1788f6a38d7871aff2120b, Linux 38e1f2ee82bacbbfded8f1c06794a443d038d054, Linux 0ad6bad31da692f8d7acacab07eabe7586239ae0, Linux 0d3b5fe47938e9c451466845304a2bd74e967a80, Linux 1101867a1711c27d8bbe0e83136bec47f8c1ca2a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54299?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b>
- other: <https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054>
- other: <https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0>
- other: <https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80>
- other: <https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b>
- other: <https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a>
- other: <https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54299>

HTML: <https://flawdb.com/CVE-2023-54299> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54299>
