CVE-2024-56698: usb: dwc3: gadget: Fix looping of queued SG entries
Vulnerability summary
CVE-2024-56698 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 34 · Related 34Timeline
- 28-12-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu131 products
- linuxAll versions (No fix recorded) | < 5.15.0-135.146 | < 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1080.87 | < 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 8ceb21d76426bbe7072cc3e43281e70c0d664cc7 | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 0247da93bf62d33304b7bf97850ebf2a86e06d28 | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < c9e72352a10ae89a430449f7bfeb043e75c255d9 | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 1534f6f69393aac773465d80d31801b554352627 | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < b7c3d0b59213ebeedff63d128728ce0b3d7a51ec | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 70777a23a54e359cfdfafc625a57cd56434f3859 | ≥ c96e6725db9d6a04ac1bee881e3034b636d9f71c, < b7fc65f5141c24785dc8c19249ca4efcf71b3524 | 4.18
- linux_kernel≥ 4.18, < 5.10.231 | ≥ 5.11, < 5.15.174 | ≥ 5.16, < 6.1.120 | ≥ 6.2, < 6.6.64 | ≥ 6.7, < 6.11.11 | ≥ 6.12, < 6.12.2
Debian1 product
- linux< 6.1.123-1 | < 6.12.3-1
3 vendors · 134 products