CVE-2024-35924 usb: typec: ucsi: Limit read size on v1.2
A buffer overflow in the Linux kernel UCSI driver allows attackers to cause denial of service or execute code via crafted USB Type-C messages.
- 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-35924?
CVE-2024-35924 is a high-severity memory corruption vulnerability in Linux kernel, published on 19 May 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: Limit read size on v1.2
Between UCSI 1.2 and UCSI 2.0, the size of the MESSAGE_IN region was increased from 16 to 256. In order to avoid overflowing reads for older systems, add a mechanism to use the read UCSI version to truncate read sizes on UCSI v1.2.
Which versions are affected by CVE-2024-35924?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35924?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-35924 being exploited?
There is no known exploitation of CVE-2024-35924 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35924, DEBIAN-CVE-2024-35924, GHSA-58xp-fvvp-586w, ROOT-OS-DEBIAN-11-CVE-2024-35924, ROOT-OS-DEBIAN-12-CVE-2024-35924, ROOT-OS-UBUNTU-2204-CVE-2024-35924 and 1 more.