# ipv6: prevent possible NULL deref in fib6_nh_init()

CVE record · `CVE-2024-40961`

- **Identifiers:** `CVE-2024-40961`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Jul 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Jul 2024, 12:32 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: `428604fb118facce1309670779a35baf27ad044c to before 3200ffeec4d59aad5bc9ca75d2c1fae47c0aeade` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before de5ad4d45cd0128a2a37555f48ab69aa19d78adc` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before 4cdfe813015d5a24586bd0a84fa0fa6eb0a1f668` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before 88b9a55e2e35ea846d41f4efdc29d23345bd1aa4` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before b6947723c9eabcab58cfb33cdb0a565a6aee6727` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before ae8d3d39efe366c2198f530e01e4bf07830bf403` (git)
  - affected: `428604fb118facce1309670779a35baf27ad044c to before 2eab4543a2204092c3a7af81d7d6c506e59a03a6` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.17`
  - unaffected: `before 4.17` (semver)
  - unaffected: `5.4.279 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.221 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.162 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.96 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.36 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.7 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 21 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 12 Jul 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/3200ffeec4d59aad5bc9ca75d2c1fae47c0aeade>
- <https://git.kernel.org/stable/c/de5ad4d45cd0128a2a37555f48ab69aa19d78adc>
- <https://git.kernel.org/stable/c/4cdfe813015d5a24586bd0a84fa0fa6eb0a1f668>
- <https://git.kernel.org/stable/c/88b9a55e2e35ea846d41f4efdc29d23345bd1aa4>
- <https://git.kernel.org/stable/c/b6947723c9eabcab58cfb33cdb0a565a6aee6727>
- <https://git.kernel.org/stable/c/ae8d3d39efe366c2198f530e01e4bf07830bf403>
- <https://git.kernel.org/stable/c/2eab4543a2204092c3a7af81d7d6c506e59a03a6>

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

---

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