# pid: Add a judgment for ns null in pid_nr_ns

CVE record · `CVE-2025-40178`

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

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 21:56 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: `17cf22c33e1f1b5e435469c84e43872579497653 to before 75dbc029c5359438be4a6f908bfbfdab969af776` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before c2d09d724856b6f82ab688f65fc1ce833bb56333` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before c3b654021931dc806ba086c549e8756c3f204a67` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before e10c36a771c5cc910abd9fe4aa9033ee32a47c38` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before 09d227c59d97efda7d5cc878a4335a6b2bb224c2` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before 2076b916bf41be48799d1443df0f8fc75d12ccd0` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before a0212978af1825b37da0b453b94d9b0e5af11478` (git)
  - affected: `17cf22c33e1f1b5e435469c84e43872579497653 to before 006568ab4c5ca2309ceb36fa553e390b4aa9c0c7` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.8`
  - unaffected: `before 3.8` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.157 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.113 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.54 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.4 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 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 19 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 Nov 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/75dbc029c5359438be4a6f908bfbfdab969af776>
- <https://git.kernel.org/stable/c/c2d09d724856b6f82ab688f65fc1ce833bb56333>
- <https://git.kernel.org/stable/c/c3b654021931dc806ba086c549e8756c3f204a67>
- <https://git.kernel.org/stable/c/e10c36a771c5cc910abd9fe4aa9033ee32a47c38>
- <https://git.kernel.org/stable/c/09d227c59d97efda7d5cc878a4335a6b2bb224c2>
- <https://git.kernel.org/stable/c/2076b916bf41be48799d1443df0f8fc75d12ccd0>
- <https://git.kernel.org/stable/c/a0212978af1825b37da0b453b94d9b0e5af11478>
- <https://git.kernel.org/stable/c/006568ab4c5ca2309ceb36fa553e390b4aa9c0c7>

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

---

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