CVE-2024-50135: Linux kernel · nvme-pci: fix race condition between reset and nvme_dev_disable()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium.
Data as of 30 Oct 2026, 15:04 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 4.7 |
|---|
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
AI-suggested
A fix is available that addresses the race condition by introducing proper locking with the shutdown_lock mutex. Users should apply the official Linux kernel updates that include this patch to resolve the issue.
Description
CVE-2024-50135 addresses a race condition vulnerability in the Linux kernel's nvme-pci driver. The issue occurs between the reset operation and the nvme_dev_disable() function, which modifies the device's online_queues field. Without proper synchronization, this can lead to invalid values being passed to blk_mq_update_nr_hw_queues(), potentially causing system instability or crashes. The fix involves locking a mutex to prevent concurrent access during shutdown operations.
References
- git.kernel.org/stable/c/0beb55fc6086c86eb07954c914e728a8cb0cd57e (opens in a new tab)
- git.kernel.org/stable/c/4ed32cc0939b64e3d7b48c8c0d63ea038775f304 (opens in a new tab)
- git.kernel.org/stable/c/b33e49a5f254474b33ce98fd45dd0ffdc247a0be (opens in a new tab)
- git.kernel.org/stable/c/26bc0a81f64ce00fc4342c38eeb2eddaad084dd2 (opens in a new tab)