CVE-2025-40343
BaseFortify
Publication date: 2025-12-09
Last updated on: 2025-12-09
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's nvmet-fc component, where during a forced shutdown of a port via the configfs interface, the system may schedule the deletion of the same association twice. Specifically, two functions, nvmet_port_del_ctrls() and nvmet_disable_port(), both schedule deletion of remaining associations. The implementation only checks if an association is about to be removed after scheduling the work item, which can lead to the same deletion task being scheduled twice. Since the association list uses an RCU list, it cannot be locked or directly removed, so a flag is used to track if an association is already being deleted to prevent double deletion.
How can this vulnerability impact me? :
This vulnerability can lead to double scheduling of deletion tasks for the same association, which may cause resource management issues such as attempting to free already freed resources. This could potentially lead to system instability or crashes during forced port shutdowns in the nvmet-fc subsystem of the Linux kernel.