CVE-2024-56698

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56698
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56698.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56698
Downstream
Related
Published
2024-12-28T10:15:16Z
Modified
2025-10-01T20:17:41Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: dwc3: gadget: Fix looping of queued SG entries

The dwc3request->numqueuedsgs is decremented on completion. If a partially completed request is handled, then the dwc3request->numqueuedsgs no longer reflects the total number of numqueuedsgs (it would be cleared).

Correctly check the number of request SG entries remained to be prepare and queued. Failure to do this may cause null pointer dereference when accessing non-existent SG entry.

References

Affected packages