### [CVE-2024-56698](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56698) ![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=c96e6725db9d6a04ac1bee881e3034b636d9f71c%3C%208ceb21d76426bbe7072cc3e43281e70c0d664cc7%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description In the Linux kernel, the following vulnerability has been resolved:usb: dwc3: gadget: Fix looping of queued SG entriesThe dwc3_request->num_queued_sgs is decremented on completion. If apartially completed request is handled, then thedwc3_request->num_queued_sgs no longer reflects the total number ofnum_queued_sgs (it would be cleared).Correctly check the number of request SG entries remained to be prepareand queued. Failure to do this may cause null pointer dereference whenaccessing non-existent SG entry. ### POC #### Reference No PoCs from references. #### Github - https://github.com/cku-heise/euvd-api-doc