CVE-2024-44960

usb: gadget: core: Check for unset descriptor

MEDIUM
5.5
CVSS Score
Published: September 4, 2024 at 06:35 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
7 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFPRUGGEDCOM RST2428P Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.16.803.17 ≤ v < 4.4.1994.10 ≤ v < 4.14.1524.15 ≤ v < 4.19.3204.20 ≤ v < 5.3.94.5 ≤ v < 4.9.1995.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1055.4 ≤ v < 5.4.2825.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.466.7 ≤ v < 6.10.53.16.804.14.1524.19.824.4.1994.9.1995.3.954f83b8c8ea9b22082a496deadf90447a326954e6.116.11 rc16.11 rc28212b44b7109bd30dbf7eb7f5ecbbc413757a7d785c9ece11264499890d0e9f0dee431ac1bda981c94f5de2eefae22c449e367c2dacafe869af73e3fd1c188d330ca33cc35d1590441ba276f31144299d7e3f2fe01372eb914d0e451f0e7a46cbcb98f9efc71e39a6c07440e6968227f3db1988f45d7a7b7
Vendor states this is fixed in 1a9df57d57452b104c46c918569143cf21d7ebf1 (fixed)
Vendor states this is fixed in 50c5248b0ea8aae0529fdf28dac42a41312d3b62 (fixed)
Vendor states this is fixed in 716cba46f73a92645cf13eded8d257ed48afc2a4 (fixed)
Vendor states this is fixed in 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e (fixed)
Vendor states this is fixed in 973a57891608a98e894db2887f278777f564de18 (fixed)
Vendor states this is fixed in a0362cd6e503278add954123957fd47990e8d9bf (fixed)
Vendor states this is fixed in ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a (fixed)
Vendor states this is fixed in df8e734ae5e605348aa0ca2498aedb73e815f244 (fixed)
Affected range stops below 3.16.80, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.14.152, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.19.320 (unaffected)
Affected range stops below 4.4.199, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.9.199, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Affected range stops below 5.3.9, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.105 (unaffected)
Vendor states this is fixed in 6.10.5 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.46 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement

References (13)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/973a57891608a98e894db2887f278777f564de18
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0362cd6e503278add954123957fd47990e8d9bf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card