Skip to main content
EPSS 0.4%top 70%

In the Linux kernel, the following vulnerability has been resolved: nvme-fc: use lock accessing port_state and rport state nvme_fc_unregister_remote… (CVE-2025-40342)

0
High
Published: 12/09/2025 (12/09/2025, 18:30:36 UTC)
Source: GCVE Database

Description

A race condition vulnerability in the Linux kernel's nvme-fc driver was resolved. The issue involves improper locking when accessing port_state and rport state during remote port unregistration and association creation. This race can lead to inconsistent state changes in the NVMe over Fabrics Fibre Channel (nvme-fc) subsystem.

CVSS v3.1

Score 8.8high

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:54:16 UTC

Technical Analysis

The vulnerability in the Linux kernel's nvme-fc driver arises because nvme_fc_unregister_remote removes a remote port from a local port object without proper synchronization. Concurrently, nvme_fc_create_association does not take a lock when checking port_state and incrementing the active count on the remote port, leading to a race condition. This can cause corruption or inconsistent state in the NVMe over Fabrics Fibre Channel subsystem.

Potential Impact

Successful exploitation could lead to high impact on confidentiality, integrity, and availability of the affected system due to inconsistent or corrupted state in the NVMe over Fabrics Fibre Channel driver. This may result in denial of service or potential data corruption.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to properly use locking when accessing port_state and rport state in the nvme-fc driver. Users should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gvgm-wg7j-vj8f
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40342"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d49c2644c7f8478c3b

Added to database: 07/30/2026, 15:50:44 UTC

Last enriched: 07/30/2026, 17:54:16 UTC

Last updated: 09/10/2026, 19:38:45 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses