1. Home
  2. Vulnerabilities
  3. CVE-2024-44960

CVE-2024-44960

usb: gadget: core: Check for unset descriptor

Published 4 Sept 2024 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 26/100

Summary

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 and versions

Linux (20 line(s))
Linux
ProductVersionsFixed inSource
Linux from 4.19.82 (included) to 4.19.320 (excluded) — CNA (vendor or assigner)
Linux from 3.16.80 (included) to 3.17 (excluded) — CNA (vendor or assigner)
Linux from 4.4.199 (included) to 4.5 (excluded) — CNA (vendor or assigner)
Linux from 4.9.199 (included) to 4.10 (excluded) — CNA (vendor or assigner)
Linux from 4.14.152 (included) to 4.15 (excluded) — CNA (vendor or assigner)
Linux from 5.3.9 (included) to 5.4 (excluded) — CNA (vendor or assigner)
Linux 5.4 — CNA (vendor or assigner)
Linux kernel before 3.16.80 (excluded) — NVD
Linux kernel from 3.17 (included) to 4.4.199 (excluded) — NVD
Linux kernel from 4.5 (included) to 4.9.199 (excluded) — NVD
Linux kernel from 4.10 (included) to 4.14.152 (excluded) — NVD
Linux kernel from 4.15 (included) to 4.19.320 (excluded) — NVD
Linux kernel from 4.20 (included) to 5.3.9 (excluded) — NVD
Linux kernel from 5.4 (included) to 5.4.282 (excluded) — NVD
Linux kernel from 5.5 (included) to 5.10.224 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.165 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.105 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.46 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.10.5 (excluded) — NVD
Linux kernel 6.11 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-476 · Corruption mémoire

How this data is obtained and calculated