CVE-2024-26846
nvme-fc: do not wait in vain when unloading module
Reported by linux · Published April 17, 2024
In the Linux kernel, the following vulnerability has been resolved: nvme-fc: do not wait in vain when unloading module The module exit path has race between deleting all controllers and freeing 'left over IDs'. To prevent double free a synchronization between nvme_delete_ctrl and ida_destroy has been added by the initial commit. There is some logic around trying to prevent from hanging forever in wait_for_completion, though it does not handling all cases. E.g. blktests is able to reproduce the situation where the module unload hangs forever. If we completely rely on the cleanup code executed from the nvme_delete_ctrl path, all IDs will be freed eventually. This makes calling ida_destroy unnecessary. We only have to ensure that all nvme_delete_ctrl code has been executed before we leave nvme_fc_exit_module. This is done by flushing the nvme_delete_wq workqueue. While at it, remove the unused nvme_fc_wq workqueue too.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4c73cbdff1119d088ed16d63def59ad32b11b18f, 4c73cbdff1119d088ed16d63def59ad32b11b18f, 4c73cbdff1119d088ed16d63def59ad32b11b18f |
| Linux | Linux | 5.3, 0, 5.10.211 |
| linux | linux_kernel | 5.3, 5.3, 5.3 |
| Linux | Linux | 6.8, 4c73cbdff1119d088ed16d63def59ad32b11b18f, 4c73cbdff1119d088ed16d63def59ad32b11b18f |
Timeline
- Apr 17, 2024 CVE Published
- Apr 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (247 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (190 in total, the first dated here)
- Nov 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26846
vulnetix vdb fixes CVE-2024-26846
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-2024-26846/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart