U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2024-56756 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://git.kernel.org/stable/c/3c2fb1ca8086eb139b2a551358137525ae8e0d7a Patch 
https://git.kernel.org/stable/c/452f9ddd12bebc04cef741e8ba3806bf0e1fd015 Patch 
https://git.kernel.org/stable/c/582d9ed999b004fb1d415ecbfa86d4d8df455269 Patch 
https://git.kernel.org/stable/c/6d0f599db73b099aa724a12736369c4d4d92849d Patch 
https://git.kernel.org/stable/c/869cf50b9c9d1059f5223f79ef68fc0bc6210095 Patch 
https://git.kernel.org/stable/c/ac22240540e0c5230d8c4138e3778420b712716a Patch 
https://git.kernel.org/stable/c/cee3bff51a35cab1c5d842d409a7b11caefe2386 Patch 
https://git.kernel.org/stable/c/fb96d5cfa97a7363245b3dd523f475b04296d87b Patch 

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

2 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2024-56756
NVD Published Date:
12/29/2024
NVD Last Modified:
01/06/2025
Source:
kernel.org