CVE-2025-40343: nvmet-fc: avoid scheduling association deletion twice

Published Dec 9, 2025
·
Updated

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, nvmetportsubsysdroplink() first calls nvmetportdelctrls() and then nvmetdisableport(). 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 Software

2 affected componentsFixes available
linux/kernel
Microsoft azl3 kernel 6.6.112.1-2

Event History

Dec 9, 2025
CVE Published
via MITRE·04:10 AM
Data Sourced
via MITRE·04:10 AM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
DescriptionSeverity
Dec 10, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-40343?

CVE-2025-40343 has a moderate severity rating due to its impact on the stability of the Linux kernel.

2

How do I fix CVE-2025-40343?

To fix CVE-2025-40343, update the Linux kernel to the latest stable version where the vulnerability has been patched.

3

What systems are affected by CVE-2025-40343?

CVE-2025-40343 affects Linux kernel versions prior to the security patch addressing this vulnerability.

4

What are the potential risks of CVE-2025-40343?

The risks of CVE-2025-40343 include potential instability and security issues when forcefully shutting down ports.

5

When was CVE-2025-40343 discovered?

CVE-2025-40343 was disclosed in 2025 as part of ongoing security assessments of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203