usb: gadget: core: Check for unset descriptor
Summary
| CVE | CVE-2024-44960 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-04 19:15:30 UTC |
| Updated | 2026-05-12 12:17:09 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d1c188d330ca33cc35d1590441ba276f31144299 ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e df8e734ae5e605348aa0ca2498aedb73e815f244 git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e 50c5248b0ea8aae0529fdf28dac42a41312d3b62 git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e a0362cd6e503278add954123957fd47990e8d9bf git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e 1a9df57d57452b104c46c918569143cf21d7ebf1 git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e 716cba46f73a92645cf13eded8d257ed48afc2a4 git | Not specified |
| CNA | Linux | Linux | affected 54f83b8c8ea9b22082a496deadf90447a326954e 973a57891608a98e894db2887f278777f564de18 git | Not specified |
| CNA | Linux | Linux | affected d7e3f2fe01372eb914d0e451f0e7a46cbcb98f9e git | Not specified |
| CNA | Linux | Linux | affected 85c9ece11264499890d0e9f0dee431ac1bda981c git | Not specified |
| CNA | Linux | Linux | affected fc71e39a6c07440e6968227f3db1988f45d7a7b7 git | Not specified |
| CNA | Linux | Linux | affected 94f5de2eefae22c449e367c2dacafe869af73e3f git | Not specified |
| CNA | Linux | Linux | affected 8212b44b7109bd30dbf7eb7f5ecbbc413757a7d7 git | Not specified |
| CNA | Linux | Linux | affected 5.4 | Not specified |
| CNA | Linux | Linux | unaffected 5.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.320 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.282 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.224 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.165 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.105 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.46 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.5 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.1 custom | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.1 custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | unaffected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/973a57891608a98e894db2887f278777f564de18 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a0362cd6e503278add954123957fd47990e8d9bf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/10/msg00003.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| cert-portal.siemens.com/productcert/html/ssa-355557.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.