CVE-2025-40343 Details
Description
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.
A vulnerability in the Linux kernel's NVMe over Fibre Channel (nvmet-fc) implementation can lead to improper handling of association deletions. When a port is forcefully shut down via the configfs interface, the system schedules associations for deletion. However, the current implementation allows the same association to be scheduled multiple times, potentially leading to resource management issues. This vulnerability arises because the association list cannot be directly modified while being accessed, creating a scenario where deletions can be incorrectly processed.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/04d17540ef51e2c291eb863ca87fd332259b2d40 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2f4852db87e25d4e226b25cb6f652fef9504360e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/601ed47b2363c24d948d7bac0c23abc8bd459570 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/85e2ce1920cb511d57aae59f0df6ff85b28bf04d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c09ac9a63fc3aaf4670ad7b5e4f5afd764424154 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f2537be4f8421f6495edfa0bc284d722f253841d | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion