CVE-2023-52655: usb: aqc111: check packet for fixup for true limit

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.

Classification

CVE ID: CVE-2023-52655

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.38% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/84f2e5b3e70f08fce3cb1ff73414631c5e490204
https://git.kernel.org/stable/c/d69581c17608d81824dd497d9a54b6a5b6139975
https://git.kernel.org/stable/c/46412b2fb1f9cc895d6d4036bf24f640b5d86dab
https://git.kernel.org/stable/c/82c386d73689a45d5ee8c1290827bce64056dddd
https://git.kernel.org/stable/c/2ebf775f0541ae0d474836fa0cf3220e502f8e3e
https://git.kernel.org/stable/c/ccab434e674ca95d483788b1895a70c21b7f016a

Timeline