Skip to main content
Network Thinking Solutions Logo

CVE-2024-26846

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

All CVEs
CVE-2024-26846Published 4/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'.

Vendor advisory
CVSS4.4Medium

Overview

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.

Published
4/17/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.10.211

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.150

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.80

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.19

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.7.7

Verify advisory

Source
linux kernel
linux
6.8

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
10.0

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < 4f2c95015ec2a1899161be6c0bdaecedd5a7bfb2

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < 0bf567d6d9ffe09e059bbdfb4d07143cef42c75c

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < 085195aa90a924c79e35569bcdad860d764a8e17

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < baa6b7eb8c66486bd64608adc63fe03b30d3c0b9

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < c0882c366418bf9c19e1ba7f270fe377a9bf5d67

Verify advisory

Source
Linux
Linux
≥ 4c73cbdff1119d088ed16d63def59ad32b11b18f, < 70fbfc47a392b98e5f8dba70c6efc6839205c982

Verify advisory

Source
Linux
Linux
5.3

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.4. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.