What’s Vulnerable › Vulnerabilities

CVE-2024-44960: usb: gadget: core: Check for unset descriptor

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 3.16.80, 4.14.152, 4.19.320, 4.4.199. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-44960 or the next vulnerability affects your stack