{"id":"CVE-2025-40342","published":"2025-12-09T04:09:59Z","modified":"2026-08-05T12:09:44Z","title":"nvme-fc: use lock accessing port_state and rport state","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fc: use lock accessing port_state and rport state\n\nnvme_fc_unregister_remote removes the remote port on a lport object at\nany point in time when there is no active association. This races with\nwith the reconnect logic, because nvme_fc_create_association is not\ntaking a lock to check the port_state and atomically increase the\nactive count on the rport.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00395,"percentile":0.34259,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/de3d91af47bc015031e7721b100a29989f6498a5","tags":[]},{"url":"https://git.kernel.org/stable/c/e8cde03de8674b05f2c5e0870729049eba517800","tags":[]},{"url":"https://git.kernel.org/stable/c/4253e0a4546138a2bf9cb6acf66b32fee677fc7c","tags":[]},{"url":"https://git.kernel.org/stable/c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446","tags":[]},{"url":"https://git.kernel.org/stable/c/9950af4303942081dc8c7a5fdc3688c17c7eb6c0","tags":[]},{"url":"https://git.kernel.org/stable/c/a2f7fa75c4a2a07328fa22ccbef461db76790b55","tags":[]},{"url":"https://git.kernel.org/stable/c/891cdbb162ccdb079cd5228ae43bdeebce8597ad","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.85},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e399441de9115cd472b8ace6c517708273ca7997, < de3d91af47bc015031e7721b100a29989f6498a5",">= e399441de9115cd472b8ace6c517708273ca7997, < e8cde03de8674b05f2c5e0870729049eba517800",">= e399441de9115cd472b8ace6c517708273ca7997, < 4253e0a4546138a2bf9cb6acf66b32fee677fc7c",">= e399441de9115cd472b8ace6c517708273ca7997, < 25f4bf1f7979a7871974fd36c79d69ff1cf4b446",">= e399441de9115cd472b8ace6c517708273ca7997, < 9950af4303942081dc8c7a5fdc3688c17c7eb6c0",">= e399441de9115cd472b8ace6c517708273ca7997, < a2f7fa75c4a2a07328fa22ccbef461db76790b55",">= e399441de9115cd472b8ace6c517708273ca7997, < 891cdbb162ccdb079cd5228ae43bdeebce8597ad"]},{"vendor":"Linux","product":"Linux","versions":["4.10"]}],"euvd":{"id":"EUVD-2025-201860","exploited":false,"provenance":"source"}}