CVE-2025-40261
BaseFortify
Publication date: 2025-12-04
Last updated on: 2026-04-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.12.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's NVMe over Fibre Channel (nvme-fc) driver. It occurs because the ioerr_work task is not properly cancelled before the nvme_fc_ctrl object is freed. Specifically, nvme_fc_delete_association() waits for pending I/O to complete, but an error can cause ioerr_work to be queued after cancel_work_sync() has been called. This can lead to ioerr_work running on a freed object, causing kernel list corruption and a kernel crash (BUG). The fix moves the cancel_work_sync() call to after nvme_fc_delete_association() to ensure ioerr_work is not running when the object is freed.
How can this vulnerability impact me? :
This vulnerability can cause kernel crashes and system instability due to list corruption and invalid memory operations in the Linux kernel NVMe over Fibre Channel driver. This can lead to denial of service (system crashes) on affected systems using this driver, potentially impacting availability and reliability.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system logs for kernel error messages related to nvme-fc, such as list_del corruption, kernel BUGs, or Oops messages referencing nvme_fc_delete_ctrl or workqueue errors. You can use commands like 'dmesg | grep -i nvme' or 'journalctl -k | grep -i nvme' to check for these error messages in the kernel logs.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to update the Linux kernel to a version where the nvme-fc ioerr_work cancellation issue in nvme_fc_delete_ctrl() has been fixed. This ensures that the workqueue is properly cancelled and prevents kernel crashes related to this bug.