CVE-2024-56756: nvme-pci: fix freeing of the HMB descriptor table
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-56756 is a Linux kernel nvme-pci flaw that can cause availability impact when host memory buffer allocation fails partway through. It is local, not remote, and requires a low-privileged local context. The practical impact is likely system instability or crash, not data theft or tampering.
Executive priority
Schedule remediation in the normal kernel patch cycle, with faster handling for shared servers, virtualization hosts, and storage-heavy systems. This is not presented as actively exploited, but availability impact can still affect business continuity.
Technical view
The nvme-pci driver can allocate fewer HMB descriptors than planned, then pass an incorrect size to dma_free_coherent when freeing the HMB descriptor table. The CVSS vector is local, low complexity, low privileges, no user interaction, and high availability impact. The source notes this rarely appeared in practice because allocations typically round to at least a page.
Likely exposure
Exposure is most relevant to Linux systems using NVMe PCI storage where affected kernel versions or unpatched vendor kernels are deployed. The source bundle lists Linux as affected and references upstream stable commits plus Debian LTS advisories. Confirm exact exposure through your distribution’s kernel package status.
Exploitation context
The source bundle does not show KEV listing or active exploitation. The CVSS vector indicates local access with low privileges is required. Available evidence supports treating this as a local availability issue rather than a remote compromise path.
Researcher notes
Focus analysis on nvme-pci HMB allocation and cleanup paths. The key condition is early allocation-loop exit leading to mismatched size during dma_free_coherent. Public evidence is limited to the CVE record, upstream stable fixes, and Debian LTS references.
Mitigation direction
Apply the relevant Linux kernel update from your OS vendor.
Use upstream stable kernel commits only through normal kernel maintenance processes.
Review Debian LTS advisories if running affected Debian LTS systems.
Prioritize patching multi-tenant Linux hosts with NVMe storage.
If patch status is unclear, check vendor guidance before applying workarounds.
Validation and detection
Inventory Linux hosts and record running kernel versions.
Compare kernel packages against vendor advisories for CVE-2024-56756.
Identify systems using NVMe PCI storage drivers.
Confirm whether vendor kernels include the referenced stable fixes.
Monitor local crash, kernel, and storage-driver logs for instability.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-56756 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.