CVE-2025-40342
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-09

Last updated on: 2025-12-09

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-09
Last Modified
2025-12-09
Generated
2026-05-07
AI Q&A
2025-12-09
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's nvme-fc subsystem involves a race condition between removing a remote port and reconnecting it. Specifically, the function nvme_fc_unregister_remote can remove a remote port from a local port object when there is no active association, but the reconnect logic (nvme_fc_create_association) does not properly lock the port state to check and update the active count atomically. This can lead to inconsistent states or unexpected behavior.


How can this vulnerability impact me? :

The vulnerability can cause race conditions that may lead to instability or unexpected behavior in the NVMe over Fibre Channel subsystem of the Linux kernel. This could potentially result in loss of connectivity or data access issues related to NVMe devices over Fibre Channel networks.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart