CVE-2024-56756
nvme-pci: fix freeing of the HMB descriptor table
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix freeing of the HMB descriptor table The HMB descriptor table is sized to the maximum number of descriptors that could be used for a given device, but __nvme_alloc_host_mem could break out of the loop earlier on memory allocation failure and end up using less descriptors than planned for, which leads to an incorrect size passed to dma_free_coherent. In practice this was not showing up because the number of descriptors tends to be low and the dma coherent allocator always allocates and frees at least a page.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.13
References 8
git.kernel.org
- stable/c/ac22240540e0c5230d8c4138e3778420b712716a
- stable/c/452f9ddd12bebc04cef741e8ba3806bf0e1fd015
- stable/c/869cf50b9c9d1059f5223f79ef68fc0bc6210095
- stable/c/fb96d5cfa97a7363245b3dd523f475b04296d87b
- stable/c/cee3bff51a35cab1c5d842d409a7b11caefe2386
- stable/c/6d0f599db73b099aa724a12736369c4d4d92849d
- stable/c/582d9ed999b004fb1d415ecbfa86d4d8df455269
- stable/c/3c2fb1ca8086eb139b2a551358137525ae8e0d7a