Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40343

CRITICAL 9.8EPSS 60%

nvmet-fc: avoid scheduling association deletion twice

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 2f4852db87e25d4e226b25cb6f652fef9504360e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 601ed47b2363c24d948d7bac0c23abc8bd459570; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04d17540ef51e2c291eb863ca87fd332259b2d40; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < c09ac9a63fc3aaf4670ad7b5e4f5afd764424154; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f2537be4f8421f6495edfa0bc284d722f253841d
  • Anyone running Linux 4.8

Vulnerability facts

Affected
Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 2f4852db87e25d4e226b25cb6f652fef9504360e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 601ed47b2363c24d948d7bac0c23abc8bd459570; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04d17540ef51e2c291eb863ca87fd332259b2d40; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < c09ac9a63fc3aaf4670ad7b5e4f5afd764424154; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f2537be4f8421f6495edfa0bc284d722f253841d; Linux 4.8
Fixed in
Linux 2f4852db87e25d4e226b25cb6f652fef9504360e, Linux 85e2ce1920cb511d57aae59f0df6ff85b28bf04d, Linux 601ed47b2363c24d948d7bac0c23abc8bd459570, Linux 04d17540ef51e2c291eb863ca87fd332259b2d40
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.96% chance of exploitation in 30 days (percentile 60, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a07b4970f464f13640e28e16dad6cfa33647cc99, < 2f4852db87e25d4e226b25cb6f652fef9504360e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 601ed47b2363c24d948d7bac0c23abc8bd459570; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04d17540ef51e2c291eb863ca87fd332259b2d40; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < c09ac9a63fc3aaf4670ad7b5e4f5afd764424154; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f2537be4f8421f6495edfa0bc284d722f253841d—cvelist
Linux4.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40343. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40343.md
Affected: Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 2f4852db87e25d4e226b25cb6f652fef9504360e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 601ed47b2363c24d948d7bac0c23abc8bd459570; >= a07b4970f464f13640e28e1…
Fixed in: Linux 2f4852db87e25d4e226b25cb6f652fef9504360e, Linux 85e2ce1920cb511d57aae59f0df6ff85b28bf04d, Linux 601ed47b2363c24d948d7bac0c23abc8bd459570, Linux 04d17540ef51e2c291eb863ca87fd332259b2d40

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40343 being exploited?

There is no confirmed exploitation: CVE-2025-40343 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40343?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-40343?

Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 2f4852db87e25d4e226b25cb6f652fef9504360e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 85e2ce1920cb511d57aae59f0df6ff85b28bf04d; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 601ed47b2363c24d948d7bac0c23abc8bd459570; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04d17540ef51e2c291eb863ca87fd332259b2d40; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < c09ac9a63fc3aaf4670ad7b5e4f5afd764424154; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f2537be4f8421f6495edfa0bc284d722f253841d; Linux 4.8.

Is there a fix for CVE-2025-40343?

Yes. Fixed in Linux 2f4852db87e25d4e226b25cb6f652fef9504360e, Linux 85e2ce1920cb511d57aae59f0df6ff85b28bf04d, Linux 601ed47b2363c24d948d7bac0c23abc8bd459570, Linux 04d17540ef51e2c291eb863ca87fd332259b2d40. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40343?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors