CVE-2024-56756
nvme-pci: fix freeing of the HMB descriptor table
Mitigation
- Upgrade Linux to 3c2fb1ca8086eb139b2a551358137525ae8e0d7a or later.
Who should check
- Anyone running Linux >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < fb96d5cfa97a7363245b3dd523f475b04296d87b; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < cee3bff51a35cab1c5d842d409a7b11caefe2386; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 6d0f599db73b099aa724a12736369c4d4d92849d; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 582d9ed999b004fb1d415ecbfa86d4d8df455269; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 3c2fb1ca8086eb139b2a551358137525ae8e0d7a
- Anyone running Linux 4.13
Vulnerability facts
- Affected
- Linux >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < fb96d5cfa97a7363245b3dd523f475b04296d87b; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < cee3bff51a35cab1c5d842d409a7b11caefe2386; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 6d0f599db73b099aa724a12736369c4d4d92849d; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 582d9ed999b004fb1d415ecbfa86d4d8df455269; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 3c2fb1ca8086eb139b2a551358137525ae8e0d7a; Linux 4.13
- Fixed in
- Linux 452f9ddd12bebc04cef741e8ba3806bf0e1fd015, Linux 869cf50b9c9d1059f5223f79ef68fc0bc6210095, Linux 6d0f599db73b099aa724a12736369c4d4d92849d, Linux 582d9ed999b004fb1d415ecbfa86d4d8df455269, Linux 3c2fb1ca8086eb139b2a551358137525ae8e0d7a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < fb96d5cfa97a7363245b3dd523f475b04296d87b; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < cee3bff51a35cab1c5d842d409a7b11caefe2386; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 6d0f599db73b099aa724a12736369c4d4d92849d; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 582d9ed999b004fb1d415ecbfa86d4d8df455269; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 3c2fb1ca8086eb139b2a551358137525ae8e0d7a | — | cvelist |
| Linux | 4.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56756. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56756.md Affected: Linux >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095; >= 87ad72a59a38d1df217cfd9… Fixed in: Linux 452f9ddd12bebc04cef741e8ba3806bf0e1fd015, Linux 869cf50b9c9d1059f5223f79ef68fc0bc6210095, Linux 6d0f599db73b099aa724a12736369c4d4d92849d, Linux 582d9ed999b004fb1d415ecbfa86d4d8df455269, Linux 3c2fb1ca8086eb139b2a551358137525ae8e0d7a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ac22240540e0c5230d8c4138e3778420b712716a
- https://git.kernel.org/stable/c/452f9ddd12bebc04cef741e8ba3806bf0e1fd015
- https://git.kernel.org/stable/c/869cf50b9c9d1059f5223f79ef68fc0bc6210095
- https://git.kernel.org/stable/c/fb96d5cfa97a7363245b3dd523f475b04296d87b
- https://git.kernel.org/stable/c/cee3bff51a35cab1c5d842d409a7b11caefe2386
- https://git.kernel.org/stable/c/6d0f599db73b099aa724a12736369c4d4d92849d
- https://git.kernel.org/stable/c/582d9ed999b004fb1d415ecbfa86d4d8df455269
- https://git.kernel.org/stable/c/3c2fb1ca8086eb139b2a551358137525ae8e0d7a
FAQ
Is CVE-2024-56756 being exploited?
There is no confirmed exploitation: CVE-2024-56756 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56756?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56756?
Linux >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < fb96d5cfa97a7363245b3dd523f475b04296d87b; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < cee3bff51a35cab1c5d842d409a7b11caefe2386; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 6d0f599db73b099aa724a12736369c4d4d92849d; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 582d9ed999b004fb1d415ecbfa86d4d8df455269; >= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 3c2fb1ca8086eb139b2a551358137525ae8e0d7a; Linux 4.13.
Is there a fix for CVE-2024-56756?
Yes. Fixed in Linux 452f9ddd12bebc04cef741e8ba3806bf0e1fd015, Linux 869cf50b9c9d1059f5223f79ef68fc0bc6210095, Linux 6d0f599db73b099aa724a12736369c4d4d92849d, Linux 582d9ed999b004fb1d415ecbfa86d4d8df455269, Linux 3c2fb1ca8086eb139b2a551358137525ae8e0d7a. Upgrade Linux to 3c2fb1ca8086eb139b2a551358137525ae8e0d7a or later.
How do I check if I'm affected by CVE-2024-56756?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.