CVE-2024-53149 usb: typec: ucsi: glink: fix off-by-one in connector_status
An off-by-one error in the Linux kernel UCSI GLINK driver causes incorrect Type-C orientation reporting for the third connector.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-53149?
CVE-2024-53149 is a medium-severity vulnerability in Linux kernel, published on 24 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: glink: fix off-by-one in connector_status
UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS. Correct the condition in the pmic_glink_ucsi_connector_status() callback, fixing Type-C orientation reporting for the third USB-C connector.
Weakness: CWE-193
Which versions are affected by CVE-2024-53149?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53149?
Apply the vendor's patch.
Is CVE-2024-53149 being exploited?
There is no known exploitation of CVE-2024-53149 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-53149, DEBIAN-CVE-2024-53149, GHSA-qfgm-256j-rghm, UBUNTU-CVE-2024-53149.