CVE-2025-40342
nvme-fc: use lock accessing port_state and rport state
Reported by linux · Published December 9, 2025
In the Linux kernel, the following vulnerability has been resolved: nvme-fc: use lock accessing port_state and rport state nvme_fc_unregister_remote removes the remote port on a lport object at any point in time when there is no active association. This races with with the reconnect logic, because nvme_fc_create_association is not taking a lock to check the port_state and atomically increase the active count on the rport.
EPSS 0.39% · 34.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.18, 6.17.8, 6.12.58, 6.6.117, 6.1.159, 5.15.197, 5.10.247 |
| Linux | Linux | e8cde03de8674b05f2c5e0870729049eba517800, de3d91af47bc015031e7721b100a29989f6498a5, a2f7fa75c4a2a07328fa22ccbef461db76790b55, 9950af4303942081dc8c7a5fdc3688c17c7eb6c0, 891cdbb162ccdb079cd5228ae43bdeebce8597ad, 4253e0a4546138a2bf9cb6acf66b32fee677fc7c, 25f4bf1f7979a7871974fd36c79d69ff1cf4b446 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e399441de9115cd472b8ace6c517708273ca7997, e399441de9115cd472b8ace6c517708273ca7997, e399441de9115cd472b8ace6c517708273ca7997 |
| Linux | Linux | 4.10, 0, 5.10.247 |
| linux | linux_kernel | 4.10, 4.10, 4.10 |
| Linux | Linux | *, *, 4.10 |
Timeline
- Dec 8, 2025 CVE Published
- Dec 9, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (130 in total, the first dated here)
- Mar 29, 2026 Security Advisory (134 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40342
vulnetix vdb fixes CVE-2025-40342
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40342/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart