VDB

CVE-2025-40343

CVE-2025-40343 PUBLISHED CVSS 9.8 CRITICAL

nvmet-fc: avoid scheduling association deletion twice

Reported by linux · Published December 9, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux85e2ce1920cb511d57aae59f0df6ff85b28bf04d

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa07b4970f464f13640e28e16dad6cfa33647cc99, a07b4970f464f13640e28e16dad6cfa33647cc99, a07b4970f464f13640e28e16dad6cfa33647cc99
LinuxLinux4.8, 0, 5.15.197
LinuxLinux*, *, *
linuxlinux_kernel4.8, 4.8, 4.8

Timeline

  • Dec 8, 2025 CVE Published
  • Dec 9, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (130 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (134 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40343
vulnetix vdb fixes CVE-2025-40343

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40343/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›