CVE Catalog

CVE-2025-40342

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

In the Linux kernel, the NVMe over Fabrics (nvme-fc) driver lacks synchronization when accessing port and rport state. The nvme_fc_unregister_remote function can remove a remote port during a reconnect attempt, causing a race condition.

Risk Assessment

The organization may experience instability in NVMe-oF connections, including data loss or crashes during concurrent disconnection and reconnection.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that adds locking when checking port state.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS