Menu

Star on GitHub · 3.2k

CVE-2024-26846

4.4 · MEDIUM

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 '…

Published Apr 17, 2024CWE-415EPSS 0.22%

Overview

CVE-2024-26846 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-26846?

CVE-2024-26846 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2024-26846?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26846?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26846?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26846 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all