# usb: dwc3: gadget: Fix looping of queued SG entries

CVE record · `CVE-2024-56698`

- **Identifiers:** `CVE-2024-56698`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 Dec 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 Dec 2024, 09:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before 8ceb21d76426bbe7072cc3e43281e70c0d664cc7` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before 0247da93bf62d33304b7bf97850ebf2a86e06d28` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before c9e72352a10ae89a430449f7bfeb043e75c255d9` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before 1534f6f69393aac773465d80d31801b554352627` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before b7c3d0b59213ebeedff63d128728ce0b3d7a51ec` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before 70777a23a54e359cfdfafc625a57cd56434f3859` (git)
  - affected: `c96e6725db9d6a04ac1bee881e3034b636d9f71c to before b7fc65f5141c24785dc8c19249ca4efcf71b3524` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.18`
  - unaffected: `before 4.18` (semver)
  - unaffected: `5.10.231 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.174 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.120 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.64 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.11 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12.2 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 28 Dec 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-56698](https://www.cve.org/CVERecord?id=CVE-2024-56698)
- [NVD: CVE-2024-56698](https://nvd.nist.gov/vuln/detail/CVE-2024-56698)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-56698>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-56698/>. Everything for agents: <https://agentprime.io/llms.txt>.
