# net: defer final 'struct net' free in netns dismantle

CVE record · `CVE-2024-56658`

- **Identifiers:** `CVE-2024-56658`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Dec 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Dec 2024, 15:06 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: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before c261dcd61c9e88a8f1a66654354d32295a975230` (git)
  - affected: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before dac465986a4a38cd2f13e934f562b6ca344e5720` (git)
  - affected: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before 3267b254dc0a04dfa362a2be24573cfa6d2d78f5` (git)
  - affected: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before b7a79e51297f7b82adb687086f5cb2da446f1e40` (git)
  - affected: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before 6610c7f8a8d47fd1123eed55ba8c11c2444d8842` (git)
  - affected: `a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 to before 0f6ede9fbc747e2553612271bce108f7517e7a45` (git)
  - affected: `3e29fa5b742479f73400468314a1c6b9cf553ee4` (git)
  - affected: `ce43f6a650a6689551a217276fb0dcca33790425` (git)
  - affected: `eeca98948d8c4922e6deb16bfc9ee0bd9902dbb0` (git)
  - affected: `1bd631fc9a4515878c1bb7effd19335d2f2d87c2` (git)
  - affected: `3.12.54 to before 3.13` (semver)
  - affected: `3.18.27 to before 3.19` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.4`
  - unaffected: `before 4.4` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.121 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.67 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.6 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th 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 27 Dec 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/c261dcd61c9e88a8f1a66654354d32295a975230>
- <https://git.kernel.org/stable/c/dac465986a4a38cd2f13e934f562b6ca344e5720>
- <https://git.kernel.org/stable/c/3267b254dc0a04dfa362a2be24573cfa6d2d78f5>
- <https://git.kernel.org/stable/c/b7a79e51297f7b82adb687086f5cb2da446f1e40>
- <https://git.kernel.org/stable/c/6610c7f8a8d47fd1123eed55ba8c11c2444d8842>
- <https://git.kernel.org/stable/c/0f6ede9fbc747e2553612271bce108f7517e7a45>

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

---

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