CVE-2024-56698
usb: dwc3: gadget: Fix looping of queued SG entries
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.18
References 7
git.kernel.org
- stable/c/8ceb21d76426bbe7072cc3e43281e70c0d664cc7
- stable/c/0247da93bf62d33304b7bf97850ebf2a86e06d28
- stable/c/c9e72352a10ae89a430449f7bfeb043e75c255d9
- stable/c/1534f6f69393aac773465d80d31801b554352627
- stable/c/b7c3d0b59213ebeedff63d128728ce0b3d7a51ec
- stable/c/70777a23a54e359cfdfafc625a57cd56434f3859
- stable/c/b7fc65f5141c24785dc8c19249ca4efcf71b3524