# net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.

CVE record · `CVE-2025-23143`

- **Identifiers:** `CVE-2025-23143`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 12:55 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: `ed07536ed6731775219c1df7fa26a7588753e693 to before 83083c5fc7cf9b0f136a42f26aba60da380f3601` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before b7489b753667bc9245958a4896c9419743083c27` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before d51e47e2ab6ef10a317d576075cf625cdbf96426` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before feda73ad44a5cc80f6bf796bb1099a3fe71576d4` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before 905d43b8ad2436c240f844acb3ebcc7a99b8ebf1` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before 5f7f6abd92b6c8dc8f19625ef93c3a18549ede04` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before c11247a21aab4b50a23c8b696727d7483de2f1e1` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before 2155802d3313d7b8365935c6b8d6edc0ddd7eb94` (git)
  - affected: `ed07536ed6731775219c1df7fa26a7588753e693 to before 0bb2f7a1ad1f11d861f58e5ee5051c8974ff9569` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.20`
  - unaffected: `before 2.6.20` (semver)
  - unaffected: `5.4.300 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.245 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.194 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.153 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.107 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.24 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.12 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.3 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 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.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2025, 12:55 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-23143)
- 1 May 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-23143)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/83083c5fc7cf9b0f136a42f26aba60da380f3601>
- <https://git.kernel.org/stable/c/b7489b753667bc9245958a4896c9419743083c27>
- <https://git.kernel.org/stable/c/d51e47e2ab6ef10a317d576075cf625cdbf96426>
- <https://git.kernel.org/stable/c/feda73ad44a5cc80f6bf796bb1099a3fe71576d4>
- <https://git.kernel.org/stable/c/905d43b8ad2436c240f844acb3ebcc7a99b8ebf1>
- <https://git.kernel.org/stable/c/5f7f6abd92b6c8dc8f19625ef93c3a18549ede04>
- <https://git.kernel.org/stable/c/c11247a21aab4b50a23c8b696727d7483de2f1e1>
- <https://git.kernel.org/stable/c/2155802d3313d7b8365935c6b8d6edc0ddd7eb94>
- <https://git.kernel.org/stable/c/0bb2f7a1ad1f11d861f58e5ee5051c8974ff9569>

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

---

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