CVE-2024-56698
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < 8ceb21d76426bbe7072cc3e43281e70c0d664cc7 | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < 0247da93bf62d33304b7bf97850ebf2a86e06d28 | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < c9e72352a10ae89a430449f7bfeb043e75c255d9 | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < 1534f6f69393aac773465d80d31801b554352627 | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < b7c3d0b59213ebeedff63d128728ce0b3d7a51ec | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < 70777a23a54e359cfdfafc625a57cd56434f3859 | affected |
| Linux | Linux | c96e6725db9d6a04ac1bee881e3034b636d9f71c < b7fc65f5141c24785dc8c19249ca4efcf71b3524 | affected |
| Linux | Linux | 4.18 | affected |
| Linux | Linux | 0 < 4.18 | unaffected |
| Linux | Linux | 5.10.231 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.174 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.120 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.64 <= 6.6.* | unaffected |
| Linux | Linux | 6.11.11 <= 6.11.* | unaffected |
| Linux | Linux | 6.12.2 <= 6.12.* | unaffected |
| Linux | Linux | 6.13 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
References
- https://git.kernel.org/stable/c/8ceb21d76426bbe7072cc3e43281e70c0d664cc7
- https://git.kernel.org/stable/c/0247da93bf62d33304b7bf97850ebf2a86e06d28
- https://git.kernel.org/stable/c/c9e72352a10ae89a430449f7bfeb043e75c255d9
- https://git.kernel.org/stable/c/1534f6f69393aac773465d80d31801b554352627
- https://git.kernel.org/stable/c/b7c3d0b59213ebeedff63d128728ce0b3d7a51ec
- https://git.kernel.org/stable/c/70777a23a54e359cfdfafc625a57cd56434f3859
- https://git.kernel.org/stable/c/b7fc65f5141c24785dc8c19249ca4efcf71b3524
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.