CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

5.5 CVSS

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.

Classification

CVE ID: CVE-2024-44960

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

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

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

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-44960
https://git.kernel.org/stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a
https://git.kernel.org/stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244
https://git.kernel.org/stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e
https://git.kernel.org/stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62
https://git.kernel.org/stable/c/a0362cd6e503278add954123957fd47990e8d9bf
https://git.kernel.org/stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1
https://git.kernel.org/stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4
https://git.kernel.org/stable/c/973a57891608a98e894db2887f278777f564de18

Timeline