CVE-2025-40342: Linux kernel · nvme-fc: use lock accessing port_state and rport state nvme_fc_unregister_remote
Source GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to properly use locking when accessing port_state and rport state in the nvme-fc driver. Users should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
Description
A race condition vulnerability in the Linux kernel's nvme-fc driver was resolved. The issue involves improper locking when accessing port_state and rport state during remote port unregistration and association creation. This race can lead to inconsistent state changes in the NVMe over Fabrics Fibre Channel (nvme-fc) subsystem.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40342 (opens in a new tab)
- git.kernel.org/stable/c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446 (opens in a new tab)
- git.kernel.org/stable/c/4253e0a4546138a2bf9cb6acf66b32fee677fc7c (opens in a new tab)
- git.kernel.org/stable/c/891cdbb162ccdb079cd5228ae43bdeebce8597ad (opens in a new tab)
- git.kernel.org/stable/c/9950af4303942081dc8c7a5fdc3688c17c7eb6c0 (opens in a new tab)
- git.kernel.org/stable/c/a2f7fa75c4a2a07328fa22ccbef461db76790b55 (opens in a new tab)
- git.kernel.org/stable/c/de3d91af47bc015031e7721b100a29989f6498a5 (opens in a new tab)
- git.kernel.org/stable/c/e8cde03de8674b05f2c5e0870729049eba517800 (opens in a new tab)