NetSight
medium5.5

CVE-2024-44960

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: core: Check for unset descriptor Make sure the descriptor has been set before …

Impact

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: core: Check for unset descriptor Make sure the descriptor has been set before looking at maxpacket. This fixes a null pointer panic in this case. This may happen if the gadget doesn't properly set up the endpoint for the current speed, or the gadget descriptors are malformed and the descriptor for the speed/endpoint are not found. No current gadget driver is known to have this problem, but this may cause a hard-to-find bug during development of new gadgets.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
before 3.16.80
from 3.17 before 4.4.199
from 4.5 before 4.9.199
from 4.10 before 4.14.152
from 4.15 before 4.19.320
from 4.20 before 5.3.9

Weakness classification

References