net: usb: sr9700: include receive overhead in the length check
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e1f5b74edccf4c9b671b6bce4435a98746fe5167, Kernel 05b442709bd5256c6c0e11fe56b9a0cb2455c245, Kernel 6ab6c9d120b30c94579192ef83a581a3dda6d79c and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: usb: sr9700: include receive overhead in the length check The receive fixup subtracts the Ethernet CRC from the reported packet length, but compares that payload length against the whole remaining receive buffer. The following copy starts after the three-byte header, and the cursor advance consumes both that header and the four-byte CRC. Require the payload to fit after SR_RX_OVERHEAD before copying it or advancing to the next packet. The loop already ensures that the remaining buffer is larger than the overhead, so the subtraction is safe. The issue was found by our static-analysis tool.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <e1f5b74edccf4c9b671b6bce4435a98746fe5167, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <05b442709bd5256c6c0e11fe56b9a0cb2455c245, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <6ab6c9d120b30c94579192ef83a581a3dda6d79c, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <8488779d9bddbdb33588c9fc2c0657a3da773f61, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <92d88c88390fc62444c00a1a22078f838e03891f, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <9b59b00890c5dea355b4cc8795ab8eeafc044e48, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <baf07d5153d3af8f98e65e2d3566bc0d50c4e3ac, >=c9b37458e95629b1d1171457afdcc1bf1eb7881d <c06bde80ae7a7b595732f7cabcb92cf08db9d56a, =3.12 | e1f5b74edccf4c9b671b6bce4435a98746fe5167, 05b442709bd5256c6c0e11fe56b9a0cb2455c245, 6ab6c9d120b30c94579192ef83a581a3dda6d79c, 8488779d9bddbdb33588c9fc2c0657a3da773f61, 92d88c88390fc62444c00a1a22078f838e03891f, 9b59b00890c5dea355b4cc8795ab8eeafc044e48, baf07d5153d3af8f98e65e2d3566bc0d50c4e3ac, c06bde80ae7a7b595732f7cabcb92cf08db9d56a |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.55, >=6.19.0 <7.2.9, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=3.12.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.55, 7.2.9, 6.6.158, 6.12.112, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket