{"id":"CVE-2024-56698","published":"2024-12-28T09:46:21Z","modified":"2026-05-11T20:57:31Z","title":"usb: dwc3: gadget: Fix looping of queued SG entries","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: gadget: Fix looping of queued SG entries\n\nThe dwc3_request->num_queued_sgs is decremented on completion. If a\npartially completed request is handled, then the\ndwc3_request->num_queued_sgs no longer reflects the total number of\nnum_queued_sgs (it would be cleared).\n\nCorrectly check the number of request SG entries remained to be prepare\nand queued. Failure to do this may cause null pointer dereference when\naccessing non-existent SG entry.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00308,"percentile":0.16107,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/8ceb21d76426bbe7072cc3e43281e70c0d664cc7","tags":[]},{"url":"https://git.kernel.org/stable/c/0247da93bf62d33304b7bf97850ebf2a86e06d28","tags":[]},{"url":"https://git.kernel.org/stable/c/c9e72352a10ae89a430449f7bfeb043e75c255d9","tags":[]},{"url":"https://git.kernel.org/stable/c/1534f6f69393aac773465d80d31801b554352627","tags":[]},{"url":"https://git.kernel.org/stable/c/b7c3d0b59213ebeedff63d128728ce0b3d7a51ec","tags":[]},{"url":"https://git.kernel.org/stable/c/70777a23a54e359cfdfafc625a57cd56434f3859","tags":[]},{"url":"https://git.kernel.org/stable/c/b7fc65f5141c24785dc8c19249ca4efcf71b3524","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.22},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 8ceb21d76426bbe7072cc3e43281e70c0d664cc7",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 0247da93bf62d33304b7bf97850ebf2a86e06d28",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < c9e72352a10ae89a430449f7bfeb043e75c255d9",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 1534f6f69393aac773465d80d31801b554352627",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < b7c3d0b59213ebeedff63d128728ce0b3d7a51ec",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < 70777a23a54e359cfdfafc625a57cd56434f3859",">= c96e6725db9d6a04ac1bee881e3034b636d9f71c, < b7fc65f5141c24785dc8c19249ca4efcf71b3524"]},{"vendor":"Linux","product":"Linux","versions":["4.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:58:57.794637Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53346","exploited":false,"provenance":"source"}}