# nvme-fc: use lock accessing port_state and rport state

CVE record · `CVE-2025-40342`

- **Identifiers:** `CVE-2025-40342`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 9 Dec 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 9 Dec 2025, 04:09 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: `e399441de9115cd472b8ace6c517708273ca7997 to before de3d91af47bc015031e7721b100a29989f6498a5` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before e8cde03de8674b05f2c5e0870729049eba517800` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before 4253e0a4546138a2bf9cb6acf66b32fee677fc7c` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before 25f4bf1f7979a7871974fd36c79d69ff1cf4b446` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before 9950af4303942081dc8c7a5fdc3688c17c7eb6c0` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before a2f7fa75c4a2a07328fa22ccbef461db76790b55` (git)
  - affected: `e399441de9115cd472b8ace6c517708273ca7997 to before 891cdbb162ccdb079cd5228ae43bdeebce8597ad` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.10`
  - unaffected: `before 4.10` (semver)
  - unaffected: `5.10.247 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.197 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.159 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.117 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.58 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.8 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

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0040, the 34th 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 9 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/de3d91af47bc015031e7721b100a29989f6498a5>
- <https://git.kernel.org/stable/c/e8cde03de8674b05f2c5e0870729049eba517800>
- <https://git.kernel.org/stable/c/4253e0a4546138a2bf9cb6acf66b32fee677fc7c>
- <https://git.kernel.org/stable/c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446>
- <https://git.kernel.org/stable/c/9950af4303942081dc8c7a5fdc3688c17c7eb6c0>
- <https://git.kernel.org/stable/c/a2f7fa75c4a2a07328fa22ccbef461db76790b55>
- <https://git.kernel.org/stable/c/891cdbb162ccdb079cd5228ae43bdeebce8597ad>

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

---

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