CVE-2024-56698

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

Medium · published December 28, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
11.0
In the wild
Unconfirmed
What it is

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

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

The dwc3_request->num_queued_sgs is decremented on completion. If a

partially completed request is handled, then the

dwc3_request->num_queued_sgs no longer reflects the total number of

num_queued_sgs (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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00212 · 11.0th percentile
Published
2024-12-28T09:46Z
EPSS history
Timeline
  • 28 DEC 09:46Z
    usb: dwc3: gadget: Fix looping of queued SG entries
    cvelistv5