PT-2024-7705 · Linux+9 · Linux Kernel+9
Published
2024-02-01
·
Updated
2025-09-29
·
CVE-2024-26846
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a double free error in the nvme-fc component of the Linux kernel. The module exit path has a 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. There is some logic to prevent hanging forever in wait for completion, though it does not handle all cases. For example, blktests can reproduce the situation where the module unload hangs forever. The cleanup code executed from the nvme delete ctrl path can free all IDs eventually, making ida destroy unnecessary. The fix involves flushing the nvme delete wq workqueue to ensure all nvme delete ctrl code is executed before leaving nvme fc exit module. The unused nvme fc wq workqueue is also removed.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu