CVE-2024-26846
MediumIn 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.
CVSS 3.1 score
4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-415CVE-2024-26846 is classified as CWE-415
See CWE-415 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.3
and later are affected. Fixed in
5.10.211,
5.15.150,
6.1.80,
6.6.19,
6.7.7,
6.8
and their respective stable series.
References
7 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-26846?
CVE-2024-26846 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.4 out of 10 . It affects Linux kernel versions from 5.3 onward and has been patched in 5.10.211, 5.15.150, 6.1.80 and others. CVE-2024-26846 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-26846?
CVE-2024-26846 has a CVSS score of 4.4 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-26846?
Yes. CVE-2024-26846 has been patched. Fixed versions include 5.10.211, 5.15.150, 6.1.80 and others. If you are running Linux kernel 5.3 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-26846 actively exploited?
No. CVE-2024-26846 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.