CVE-2025-40343
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
nvmet-fc: avoid scheduling association deletion twice
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | 2f4852db87e25d4e226b25cb6f652fef9504360e | Unavailable | None listed |
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | 85e2ce1920cb511d57aae59f0df6ff85b28bf04d | Unavailable | None listed |
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | 601ed47b2363c24d948d7bac0c23abc8bd459570 | Unavailable | None listed |
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | 04d17540ef51e2c291eb863ca87fd332259b2d40 | Unavailable | None listed |
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | c09ac9a63fc3aaf4670ad7b5e4f5afd764424154 | Unavailable | None listed |
| a07b4970f464f13640e28e16dad6cfa33647cc99 | affected | git | f2537be4f8421f6495edfa0bc284d722f253841d | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.8 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.8 | Unavailable | None listed |
| 5.15.197 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.159 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.117 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.58 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.17.8 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |