cbcvebase.
CVE-2025-40343
published 2025-12-09

CVE-2025-40343: In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: avoid scheduling association deletion twice When forcefully shutting down a port…

PriorityP350critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.65%
50.6th percentile
In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: avoid scheduling association deletion twice When forcefully shutting down a port via the configfs interface, nvmet_port_subsys_drop_link() first calls nvmet_port_del_ctrls() and then nvmet_disable_port(). Both functions will eventually schedule all remaining associations for deletion. The current implementation checks whether an association is about to be removed, but only after the work item has already been scheduled. As a result, it is possible for the first scheduled work item to free all resources, and then for the same work item to be scheduled again for deletion. Because the association list is an RCU list, it is not possible to take a lock and remove the list entry directly, so it cannot be looked up again. Instead, a flag (terminating) must be used to determine whether the association is already in the process of being deleted.

Affected

25 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
debianlinux-6.1< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
linuxlinux——
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < 2f4852db87e25d4e226b25cb6f652fef9504360e2f4852db87e25d4e226b25cb6f652fef9504360e
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d85e2ce1920cb511d57aae59f0df6ff85b28bf04d
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < 601ed47b2363c24d948d7bac0c23abc8bd459570601ed47b2363c24d948d7bac0c23abc8bd459570
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < 04d17540ef51e2c291eb863ca87fd332259b2d4004d17540ef51e2c291eb863ca87fd332259b2d40
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < c09ac9a63fc3aaf4670ad7b5e4f5afd764424154c09ac9a63fc3aaf4670ad7b5e4f5afd764424154
linuxlinux>= a07b4970f464f13640e28e16dad6cfa33647cc99 < f2537be4f8421f6495edfa0bc284d722f253841df2537be4f8421f6495edfa0bc284d722f253841d
linuxlinux_kernel>= 0 < 6.1.159-16.1.159-1
linuxlinux_kernel>= 0 < 6.12.63-16.12.63-1
linuxlinux_kernel>= 0 < 6.17.8-16.17.8-1
linuxlinux_kernel>= 0 < 5.15.0-173.1835.15.0-173.183
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 4.8.0 < 5.15.1975.15.197
linuxlinux_kernel>= 5.16.0 < 6.1.1596.1.159
linuxlinux_kernel>= 6.13.0 < 6.17.86.17.8
linuxlinux_kernel>= 6.2.0 < 6.6.1176.6.117
linuxlinux_kernel>= 6.7.0 < 6.12.586.12.58
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0——
ubuntulinux-aws——
ubuntulinux-azure-5.15——
ubuntulinux-oracle——
ubuntulinux-xilinx——

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_msrc7.0HIGH
vendor_redhat5.2MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.