CVE-2024-44960

usb: gadget: core: Check for unset descriptor

No CVSS score yet EPSS 0.24%

Published 4 Sep 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-44960

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-44960 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d1c188d330ca33cc35d1590441ba276f31144299, before ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before df8e734ae5e605348aa0ca2498aedb73e815f244
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before 50c5248b0ea8aae0529fdf28dac42a41312d3b62
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before a0362cd6e503278add954123957fd47990e8d9bf
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before 1a9df57d57452b104c46c918569143cf21d7ebf1
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before 716cba46f73a92645cf13eded8d257ed48afc2a4
affected from 54f83b8c8ea9b22082a496deadf90447a326954e, before 973a57891608a98e894db2887f278777f564de18
affected d7e3f2fe01372eb914d0e451f0e7a46cbcb98f9e
affected 85c9ece11264499890d0e9f0dee431ac1bda981c
affected fc71e39a6c07440e6968227f3db1988f45d7a7b7
affected 94f5de2eefae22c449e367c2dacafe869af73e3f
affected 8212b44b7109bd30dbf7eb7f5ecbbc413757a7d7
affected from 4.19.82, before 4.19.320
affected from 3.16.80, before 3.17
affected from 4.4.199, before 4.5
affected from 4.9.199, before 4.10
affected from 4.14.152, before 4.15
affected from 5.3.9, before 5.4
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 4.19.320 up to and including 4.19.*
unaffected from 5.4.282 up to and including 5.4.*
unaffected from 5.10.224 up to and including 5.10.*
unaffected from 5.15.165 up to and including 5.15.*
unaffected from 6.1.105 up to and including 6.1.*
unaffected from 6.6.46 up to and including 6.6.*
unaffected from 6.10.5 up to and including 6.10.*
unaffected 6.11 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-44960 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-44960

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-44960
trivy image --scanners vuln IMAGE | grep CVE-2024-44960

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-44960 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.