Linux kernel nvme-fc work cancellation race condition
CVE-2025-40261Critical
The Linux kernel's nvme-fc driver has a race condition in nvme_fc_delete_ctrl() where the ->ioerr_work task can be queued after cancel_work_sync() has already been called. This occurs because an error during nvme_fc_delete_association() can queue the work after the cancellation point. An attacker with the ability to trigger I/O errors on an nvme-fc device could cause a use-after-free condition, leading to kernel memory corruption and potential code execution. The attacker needs local access to trigger I/O errors on the affected nvme-fc controller.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)