# net, neigh: Fix null-ptr-deref in neigh_table_clear()

CVE record · `CVE-2022-49904`

- **Identifiers:** `CVE-2022-49904`
- **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:** 1 May 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:10 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: `9bbaed571c4bf1b62ac8703cb359dc090efc3455 to before 0d38b4ca6679e72860ff8730e79bb99d0e9fa3b0` (git)
  - affected: `05fdce1ae744dee43c9181fd063c9c0db4f777f2 to before b736592de2aa53aee2d48d6b129bc0c892007bbe` (git)
  - affected: `51be9dd391fd25872b95708a0250f2f7722d2d8e to before b49f6b2f21f543d4dc88fb7b1ec2adccb822f27c` (git)
  - affected: `c35adafe42bd6c3bf2aca0a3f523dabc38fc23c8 to before 1c89642e7f2b7ecc9635610653f5c2f0276c0051` (git)
  - affected: `db6fa03d80ab076238fc806c9925d1f8b9639d1b to before 2b45d6d0c41cb9593868e476681efb1aae5078a1` (git)
  - affected: `66ba215cb51323e4e55e38fd5f250e0fae0cbc94 to before a99a8ec4c62180c889482a2ff6465033e0743458` (git)
  - affected: `66ba215cb51323e4e55e38fd5f250e0fae0cbc94 to before f8017317cb0b279b8ab98b0f3901a2e0ac880dad` (git)
  - affected: `2dd5ed474115150d8175825bc3b56c6385c3a83b` (git)
  - affected: `4.14.292 to before 4.14.299` (semver)
  - affected: `4.19.257 to before 4.19.265` (semver)
  - affected: `5.4.212 to before 5.4.224` (semver)
  - affected: `5.10.141 to before 5.10.154` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.0`
  - unaffected: `before 6.0` (semver)
  - unaffected: `4.14.299 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.265 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.224 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.154 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.78 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.8 to 6.0.*, inclusive` (semver)
  - unaffected: `6.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

- 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.0020, the 10th 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 1 May 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/0d38b4ca6679e72860ff8730e79bb99d0e9fa3b0>
- <https://git.kernel.org/stable/c/b736592de2aa53aee2d48d6b129bc0c892007bbe>
- <https://git.kernel.org/stable/c/b49f6b2f21f543d4dc88fb7b1ec2adccb822f27c>
- <https://git.kernel.org/stable/c/1c89642e7f2b7ecc9635610653f5c2f0276c0051>
- <https://git.kernel.org/stable/c/2b45d6d0c41cb9593868e476681efb1aae5078a1>
- <https://git.kernel.org/stable/c/a99a8ec4c62180c889482a2ff6465033e0743458>
- <https://git.kernel.org/stable/c/f8017317cb0b279b8ab98b0f3901a2e0ac880dad>

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

---

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