PT-2024-11273 · Linux+3 · Linux Kernel+3
Maciej Żenczykowski
·
Published
2021-06-09
·
Updated
2025-05-20
·
CVE-2021-47267
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a null pointer dereference in the Linux kernel when a gadget driver calls
usb assign descriptors() with a NULL descriptor for super-speed-plus and is then used on a max 10gbps configuration. This can cause the kernel to crash when a 10gbps capable device port + cable + host port combination shows up. The usb assign descriptors() function is called with 5 parameters, including usb descriptor header for full-speed, high-speed, super-speed, and super-speed-plus. The differences between full/high/super-speed descriptors are substantial due to changes in the maximum USB block size and other differences in the specs. However, the difference between 5 and 10Gbps descriptors may be minimal, and in many cases, the same tuning is sufficient. The fix is to use the 5gbps descriptor as the 10gbps descriptor if a 10gbps descriptor is not provided.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os
Suse