Linux Kernel NVMe over Fibre Channel Port State Race Condition Vulnerability

Vulnerability

A race condition vulnerability has been identified in the Linux kernel's NVMe over Fibre Channel (FC) implementation. The issue arises in the 'nvme_fc_create_association' function, where the port state is checked without proper locking, leading to a potential mismatch with the reconnect logic. Specifically, 'nvme_fc_unregister_remote' can remove a remote port at any time when there is no active association, creating a race with the reconnection process. This vulnerability affects the stable versions of the Linux kernel.

Impact

The vulnerability can lead to a race condition, where the NVMe over FC reconnect logic may not function correctly, potentially causing disruptions in the management of remote ports.

Reproduction

The vulnerability can be reproduced by allowing 'nvme_fc_unregister_remote' to remove a remote port from a lport object when there is no active association. This can be done by manipulating the association states, causing a race with the 'nvme_fc_create_association' function, which fails to properly lock and check the port state before increasing the active count on the remote port.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.

Added: Dec 9, 2025, 8:19 PM
Updated: Dec 9, 2025, 8:19 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
7.7
relevance
1.3
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.