CVE-2023-52655 usb: aqc111: check packet for fixup for true limit
A malicious USB device can cause a kernel crash or undefined behavior in the aqc111 driver due to an integer underflow in packet length calculation.
- 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-2023-52655?
CVE-2023-52655 is a medium-severity vulnerability in Linux kernel, published on 13 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: aqc111: check packet for fixup for true limit
If a device sends a packet that is inbetween 0 and sizeof(u64) the value passed to skb_trim() as length will wrap around ending up as some very large value.
The driver will then proceed to parse the header located at that position, which will either oops or process some random value.
The fix is to check against sizeof(u64) rather than 0, which the driver currently does. The issue exists since the introduction of the driver.
Which versions are affected by CVE-2023-52655?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52655?
Apply the vendor's patch.
Is CVE-2023-52655 being exploited?
There is no known exploitation of CVE-2023-52655 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52655, DEBIAN-CVE-2023-52655, GHSA-mvg2-4m23-mpp3, UBUNTU-CVE-2023-52655.