# CVE-2025-40261: nvme: nvme-fc: Ensure -\>ioerr\_work is cancelled in nvme\_fc\_delete\_ctrl()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.18% (percentile 68, 2026-11-26)
- **Published:** 2025-12-04T16:08:21.345Z
- **Modified:** 2026-11-10T13:17:55.677Z

## Who should check

- Anyone running Linux \>= f1cd8c40936ff2b560e1f35159dd6a4602b558e5, \< 3f48cd7f35da07fc067cef926bb7f6f4735de37b; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< a9b1315ed428239612601e9e188329e7cefa32fd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 9610a2c162ef729a3988213a4604376e492f6f44; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 33f64600a12055219bda38b55320c62cdeda9167; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 48ae433c6cc6985f647b1b37d8bb002972cf9bdb; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< fbd5741a556eaaa63d0908132ca79d335b58b1cd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 0a2c5495b6d1ecb0fa18ef6631450f391a888256; \>= 5.10.9, \< 5.10.253
- Anyone running Linux 5.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvme: nvme-fc: Ensure -\>ioerr\_work is cancelled in nvme\_fc\_delete\_ctrl()

nvme\_fc\_delete\_assocation() waits for pending I/O to complete before
returning, and an error can cause -\>ioerr\_work to be queued after
cancel\_work\_sync() had been called.  Move the call to cancel\_work\_sync() to
be after nvme\_fc\_delete\_association() to ensure -\>ioerr\_work is not running
when the nvme\_fc\_ctrl object is freed.  Otherwise the following can occur:

\[ 1135.911754\] list\_del corruption, ff2d24c8093f31f8-\>next is NULL
\[ 1135.917705\] ------------\[ cut here \]------------
\[ 1135.922336\] kernel BUG at lib/list\_debug.c:52!
\[ 1135.926784\] Oops: invalid opcode: 0000 \[\#1\] SMP NOPTI
\[ 1135.931851\] CPU: 48 UID: 0 PID: 726 Comm: kworker/u449:23 Kdump: loaded Not tainted 6.12.0 \#1 PREEMPT(voluntary)
\[ 1135.943490\] Hardware name: Dell Inc. PowerEdge R660/0HGTK9, BIOS 2.5.4 01/16/2025
\[ 1135.950969\] Workqueue:  0x0 (nvme-wq)
\[ 1135.954673\] RIP: 0010:\_\_list\_del\_entry\_valid\_or\_report.cold+0xf/0x6f
\[ 1135.961041\] Code: c7 c7 98 68 72 94 e8 26 45 fe ff 0f 0b 48 c7 c7 70 68 72 94 e8 18 45 fe ff 0f 0b 48 89 fe 48 c7 c7 80 69 72 94 e8 07 45 fe ff \<0f\> 0b 48 89 d1 48 c7 c7 a0 6a 72 94 48 89 c2 e8 f3 44 fe ff 0f 0b
\[ 1135.979788\] RSP: 0018:ff579b19482d3e50 EFLAGS: 00010046
\[ 1135.985015\] RAX: 0000000000000033 RBX: ff2d24c8093f31f0 RCX: 0000000000000000
\[ 1135.992148\] RDX: 0000000000000000 RSI: ff2d24d6bfa1d0c0 RDI: ff2d24d6bfa1d0c0
\[ 1135.999278\] RBP: ff2d24c8093f31f8 R08: 0000000000000000 R09: ffffffff951e2b08
\[ 1136.006413\] R10: ffffffff95122ac8 R11: 0000000000000003 R12: ff2d24c78697c100
\[ 1136.013546\] R13: fffffffffffffff8 R14: 0000000000000000 R15: ff2d24c78697c0c0
\[ 1136.020677\] FS:  0000000000000000(0000) GS:ff2d24d6bfa00000(0000) knlGS:0000000000000000
\[ 1136.028765\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[ 1136.034510\] CR2: 00007fd207f90b80 CR3: 000000163ea22003 CR4: 0000000000f73ef0
\[ 1136.041641\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[ 1136.048776\] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
\[ 1136.055910\] PKRU: 55555554
\[ 1136.058623\] Call Trace:
\[ 1136.061074\]  \<TASK\>
\[ 1136.063179\]  ? show\_trace\_log\_lvl+0x1b0/0x2f0
\[ 1136.067540\]  ? show\_trace\_log\_lvl+0x1b0/0x2f0
\[ 1136.071898\]  ? move\_linked\_works+0x4a/0xa0
\[ 1136.075998\]  ? \_\_list\_del\_entry\_valid\_or\_report.cold+0xf/0x6f
\[ 1136.081744\]  ? \_\_die\_body.cold+0x8/0x12
\[ 1136.085584\]  ? die+0x2e/0x50
\[ 1136.088469\]  ? do\_trap+0xca/0x110
\[ 1136.091789\]  ? do\_error\_trap+0x65/0x80
\[ 1136.095543\]  ? \_\_list\_del\_entry\_valid\_or\_report.cold+0xf/0x6f
\[ 1136.101289\]  ? exc\_invalid\_op+0x50/0x70
\[ 1136.105127\]  ? \_\_list\_del\_entry\_valid\_or\_report.cold+0xf/0x6f
\[ 1136.110874\]  ? asm\_exc\_invalid\_op+0x1a/0x20
\[ 1136.115059\]  ? \_\_list\_del\_entry\_valid\_or\_report.cold+0xf/0x6f
\[ 1136.120806\]  move\_linked\_works+0x4a/0xa0
\[ 1136.124733\]  worker\_thread+0x216/0x3a0
\[ 1136.128485\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[ 1136.132758\]  kthread+0xfa/0x240
\[ 1136.135904\]  ? \_\_pfx\_kthread+0x10/0x10
\[ 1136.139657\]  ret\_from\_fork+0x31/0x50
\[ 1136.143236\]  ? \_\_pfx\_kthread+0x10/0x10
\[ 1136.146988\]  ret\_from\_fork\_asm+0x1a/0x30
\[ 1136.150915\]  \</TASK\>

## Affected and fixed versions

- Linux: \>= f1cd8c40936ff2b560e1f35159dd6a4602b558e5, \< 3f48cd7f35da07fc067cef926bb7f6f4735de37b; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< a9b1315ed428239612601e9e188329e7cefa32fd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 9610a2c162ef729a3988213a4604376e492f6f44; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 33f64600a12055219bda38b55320c62cdeda9167; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 48ae433c6cc6985f647b1b37d8bb002972cf9bdb; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< fbd5741a556eaaa63d0908132ca79d335b58b1cd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 0a2c5495b6d1ecb0fa18ef6631450f391a888256; \>= 5.10.9, \< 5.10.253 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.253 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40261. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40261.md
Affected: Linux >= f1cd8c40936ff2b560e1f35159dd6a4602b558e5, < 3f48cd7f35da07fc067cef926bb7f6f4735de37b; >= 19fce0470f05031e6af36e49ce222d0f0050d432, < a9b1315ed428239612601e9e188329e7cefa32fd; >= 19fce0470f05031e6af36e49ce222d0f0050d432, < 9610a2c162ef729a3988213a4604376e492f6f44; >= 19fce0470f05031e6af36e4…
Fixed in: Linux 3f48cd7f35da07fc067cef926bb7f6f4735de37b, Linux 9610a2c162ef729a3988213a4604376e492f6f44, Linux 33f64600a12055219bda38b55320c62cdeda9167, Linux 48ae433c6cc6985f647b1b37d8bb002972cf9bdb, Linux 0a2c5495b6d1ecb0fa18ef6631450f391a888256, Linux 5.10.253

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40261 being exploited?

There is no confirmed exploitation: CVE-2025-40261 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40261?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-40261?

Linux \>= f1cd8c40936ff2b560e1f35159dd6a4602b558e5, \< 3f48cd7f35da07fc067cef926bb7f6f4735de37b; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< a9b1315ed428239612601e9e188329e7cefa32fd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 9610a2c162ef729a3988213a4604376e492f6f44; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 33f64600a12055219bda38b55320c62cdeda9167; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 48ae433c6cc6985f647b1b37d8bb002972cf9bdb; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< fbd5741a556eaaa63d0908132ca79d335b58b1cd; \>= 19fce0470f05031e6af36e49ce222d0f0050d432, \< 0a2c5495b6d1ecb0fa18ef6631450f391a888256; \>= 5.10.9, \< 5.10.253; Linux 5.11.

### Is there a fix for CVE-2025-40261?

Yes. Fixed in Linux 3f48cd7f35da07fc067cef926bb7f6f4735de37b, Linux 9610a2c162ef729a3988213a4604376e492f6f44, Linux 33f64600a12055219bda38b55320c62cdeda9167, Linux 48ae433c6cc6985f647b1b37d8bb002972cf9bdb, Linux 0a2c5495b6d1ecb0fa18ef6631450f391a888256, Linux 5.10.253. Upgrade Linux to 5.10.253 or later.

### How do I check if I'm affected by CVE-2025-40261?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3f48cd7f35da07fc067cef926bb7f6f4735de37b>
- other: <https://git.kernel.org/stable/c/a9b1315ed428239612601e9e188329e7cefa32fd>
- other: <https://git.kernel.org/stable/c/9610a2c162ef729a3988213a4604376e492f6f44>
- other: <https://git.kernel.org/stable/c/33f64600a12055219bda38b55320c62cdeda9167>
- other: <https://git.kernel.org/stable/c/48ae433c6cc6985f647b1b37d8bb002972cf9bdb>
- other: <https://git.kernel.org/stable/c/fbd5741a556eaaa63d0908132ca79d335b58b1cd>
- other: <https://git.kernel.org/stable/c/0a2c5495b6d1ecb0fa18ef6631450f391a888256>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40261>

HTML: <https://flawdb.com/CVE-2025-40261> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40261>
