# usbip: validate number_of_packets in usbip_pack_ret_submit()

CVE record · `CVE-2026-31607`

- **Identifiers:** `CVE-2026-31607`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-787](https://cwe.mitre.org/data/definitions/787.html) · [CWE-805](https://cwe.mitre.org/data/definitions/805.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 Apr 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 Apr 2026, 14:42 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 324262c38438255bf6bdbf6342ca47c0badaab76` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 973f2c250289f5bf6cc146b98aa6fdde11fe50d6` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before ce744264b06b97069b3722511ab355738311fee0` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 885c8591784da6314f9aa82fa460ac69f9f79e5f` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 8d155e2d1c4102f74f82a2bf9c016164bb0f7384` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 906f16a836de13fe61f49cdce2f66f2dbd14caf4` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before ef8ebb1c637b4cfb61a9dd2e013376774ee2033b` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 5e1c4ece08ccdc197177631f111845a2c68eede3` (git)
  - affected: `1325f85fa49f57df034869de430f7c302ae23109 to before 2ab833a16a825373aad2ba7d54b572b277e95b71` (git)
  - affected: `d9638d9236eed035a575feddec61d036dacc2676` (git)
  - affected: `ca7d3501b7a287c18b5b470e871d3029b0f4842a` (git)
  - affected: `1ce528277e1a66856ed3f7526c1e3458c0ed4a70` (git)
  - and 7 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.39`
  - unaffected: `before 2.6.39` (semver)
  - unaffected: `5.10.258 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.83 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.24 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.14 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0.1 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.3 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`, from ADP (redhat-SADP)

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

## Timeline

- 24 Apr 2026, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31607)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/324262c38438255bf6bdbf6342ca47c0badaab76>
- <https://git.kernel.org/stable/c/973f2c250289f5bf6cc146b98aa6fdde11fe50d6>
- <https://git.kernel.org/stable/c/ce744264b06b97069b3722511ab355738311fee0>
- <https://git.kernel.org/stable/c/885c8591784da6314f9aa82fa460ac69f9f79e5f>
- <https://git.kernel.org/stable/c/8d155e2d1c4102f74f82a2bf9c016164bb0f7384>
- <https://git.kernel.org/stable/c/906f16a836de13fe61f49cdce2f66f2dbd14caf4>
- <https://git.kernel.org/stable/c/ef8ebb1c637b4cfb61a9dd2e013376774ee2033b>
- <https://git.kernel.org/stable/c/5e1c4ece08ccdc197177631f111845a2c68eede3>
- <https://git.kernel.org/stable/c/2ab833a16a825373aad2ba7d54b572b277e95b71>

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-2026-31607>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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