CVE-2024-53203 usb: typec: fix potential array underflow in ucsi_ccg_sync_control()

High 7.8 Published Updated

A local attacker with debugfs access can trigger an array underflow in the Linux kernel USB TypeC driver, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53203?

CVE-2024-53203 is a high-severity vulnerability in Linux kernel, published on 27 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: fix potential array underflow in ucsi_ccg_sync_control()

The "command" variable can be controlled by the user via debugfs. The worry is that if con_index is zero then "&uc->ucsi->connector[con_index - 1]" would be an array underflow.

Weakness: CWE-129

Which versions are affected by CVE-2024-53203?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53203?

Apply the vendor's patch.

Is CVE-2024-53203 being exploited?

There is no known exploitation of CVE-2024-53203 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55733, AZL-55788, BELL-CVE-2024-53203, DEBIAN-CVE-2024-53203, GHSA-q2w6-3cqh-h6qq, ROOT-OS-DEBIAN-11-CVE-2024-53203 and 3 more.

Is CVE-2024-53203 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free