Skip to main content
EPSS 0.6%top 55%

In the Linux kernel, the following vulnerability has been resolved: nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()… (CVE-2025-40261)

0
Critical
Published: 12/04/2025 (12/04/2025, 18:30:53 UTC)
Source: GCVE Database

Description

A critical vulnerability in the Linux kernel's NVMe Fibre Channel driver (nvme-fc) was resolved by ensuring that the ioerr_work work item is properly cancelled in the nvme_fc_delete_ctrl() function. The flaw involved a race condition where ioerr_work could be queued after cancel_work_sync() was called, leading to use-after-free and kernel list corruption, causing kernel crashes (oops) and invalid opcode exceptions. This vulnerability could result in system instability or denial of service due to kernel panics.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/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:23:35 UTC

Technical Analysis

The Linux kernel NVMe Fibre Channel driver had a flaw in the nvme_fc_delete_ctrl() function where the ioerr_work work item was not reliably cancelled before the nvme_fc_ctrl object was freed. Specifically, nvme_fc_delete_association() waits for pending I/O to complete, but an error could cause ioerr_work to be queued after cancel_work_sync() had been called. The fix moves the cancel_work_sync() call to after nvme_fc_delete_association() to ensure ioerr_work is not running when the control object is freed. Without this fix, use-after-free conditions could cause list corruption and kernel crashes, as demonstrated by kernel oops and invalid opcode errors in the provided logs.

Potential Impact

Exploitation of this vulnerability can cause kernel memory corruption leading to system crashes (kernel oops), denial of service, and potential loss of data integrity. The vulnerability affects system stability by triggering invalid memory operations in kernel space. There is no indication of privilege escalation or remote code execution in the provided data.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by reordering the cancellation of ioerr_work to occur after nvme_fc_delete_association() completes. Users should update their Linux kernel to a version that includes this fix. Since no explicit patch links or fixed versions are provided, check the official Linux kernel advisories or vendor updates for the fixed kernel version. No other mitigations are indicated.

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-9x2f-7mf8-f579
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40261"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a6b72d59c2644c7f8479c3d

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

Last enriched: 07/30/2026, 17:23:35 UTC

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

Views: 17

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