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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-09-04T18:35:58.469Z
- Modified: 2026-10-15T01:18:50.283Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d1c188d330ca33cc35d1590441ba276f31144299 before ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a; from 54f83b8c8ea9b22082a496deadf90447a326954e before df8e734ae5e605348aa0ca2498aedb73e815f244; from 54f83b8c8ea9b22082a496deadf90447a326954e before 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e; from 54f83b8c8ea9b22082a496deadf90447a326954e before 50c5248b0ea8aae0529fdf28dac42a41312d3b62; from 54f83b8c8ea9b22082a496deadf90447a326954e before a0362cd6e503278add954123957fd47990e8d9bf; from 54f83b8c8ea9b22082a496deadf90447a326954e before 1a9df57d57452b104c46c918569143cf21d7ebf1; from 54f83b8c8ea9b22082a496deadf90447a326954e before 716cba46f73a92645cf13eded8d257ed48afc2a4; from 54f83b8c8ea9b22082a496deadf90447a326954e before 973a57891608a98e894db2887f278777f564de18; d7e3f2fe01372eb914d0e451f0e7a46cbcb98f9e; 85c9ece11264499890d0e9f0dee431ac1bda981c; fc71e39a6c07440e6968227f3db1988f45d7a7b7; 94f5de2eefae22c449e367c2dacafe869af73e3f; and 8 more (not affected: before 5.4; from 4.19.320 up to 4.19.*; from 5.4.282 up to 5.4.*; from 5.10.224 up to 5.10.*; from 5.15.165 up to 5.15.*; from 6.1.105 up to 6.1.*; from 6.6.46 up to 6.6.*; from 6.10.5 up to 6.10.*; from 6.11 up to *)
- linux linux_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; from 5.4 before 5.4.282; from 5.5 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.105; from 6.2 before 6.6.46; from 6.7 before 6.10.5; and 1 more

## References

- <https://git.kernel.org/stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a> (patch)
- <https://git.kernel.org/stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244> (patch)
- <https://git.kernel.org/stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e> (patch)
- <https://git.kernel.org/stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62> (patch)
- <https://git.kernel.org/stable/c/a0362cd6e503278add954123957fd47990e8d9bf> (patch)
- <https://git.kernel.org/stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1> (patch)
- <https://git.kernel.org/stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4> (patch)
- <https://git.kernel.org/stable/c/973a57891608a98e894db2887f278777f564de18> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-44960](https://www.cve.org/CVERecord?id=CVE-2024-44960), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-44960](https://nvd.nist.gov/vuln/detail/CVE-2024-44960), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-44960 · Whole record: https://cve.day/CVE-2024-44960.json · Rebuilt by cve.day 2026-11-25T22:58:45.076Z
