CVE-2023-54299
usb: typec: bus: verify partner exists in typec_altmode_attention
Check your servers for CVE-2023-54299
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54299 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before 5f71716772b88cbe0e1788f6a38d7871aff2120b affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before 38e1f2ee82bacbbfded8f1c06794a443d038d054 affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before 0ad6bad31da692f8d7acacab07eabe7586239ae0 affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before 0d3b5fe47938e9c451466845304a2bd74e967a80 affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before d49547950bf7f3480d6ca05fe055978e5f0d9e5b affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before 1101867a1711c27d8bbe0e83136bec47f8c1ca2a affected from 8a37d87d72f0c69f837229c04d2fcd7117ea57e7, before f23643306430f86e2f413ee2b986e0773e79da31
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.4.257 up to and including 5.4.* unaffected from 5.10.195 up to and including 5.10.* unaffected from 5.15.132 up to and including 5.15.* unaffected from 6.1.53 up to and including 6.1.* unaffected from 6.4.16 up to and including 6.4.* unaffected from 6.5.3 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54299 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54299
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54299
trivy image --scanners vuln IMAGE | grep CVE-2023-54299
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b git.kernel.org
- https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054 git.kernel.org
- https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0 git.kernel.org
- https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80 git.kernel.org
- https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b git.kernel.org
- https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a git.kernel.org
- https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31 git.kernel.org
Source: the record CVE-2023-54299 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse