{"id":"CVE-2024-56756","published":"2024-12-29T11:30:20Z","modified":"2026-05-11T20:58:28Z","title":"nvme-pci: fix freeing of the HMB descriptor table","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-pci: fix freeing of the HMB descriptor table\n\nThe HMB descriptor table is sized to the maximum number of descriptors\nthat could be used for a given device, but __nvme_alloc_host_mem could\nbreak out of the loop earlier on memory allocation failure and end up\nusing less descriptors than planned for, which leads to an incorrect\nsize passed to dma_free_coherent.\n\nIn practice this was not showing up because the number of descriptors\ntends to be low and the dma coherent allocator always allocates and\nfrees at least a page.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00316,"percentile":0.16969,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ac22240540e0c5230d8c4138e3778420b712716a","tags":[]},{"url":"https://git.kernel.org/stable/c/452f9ddd12bebc04cef741e8ba3806bf0e1fd015","tags":[]},{"url":"https://git.kernel.org/stable/c/869cf50b9c9d1059f5223f79ef68fc0bc6210095","tags":[]},{"url":"https://git.kernel.org/stable/c/fb96d5cfa97a7363245b3dd523f475b04296d87b","tags":[]},{"url":"https://git.kernel.org/stable/c/cee3bff51a35cab1c5d842d409a7b11caefe2386","tags":[]},{"url":"https://git.kernel.org/stable/c/6d0f599db73b099aa724a12736369c4d4d92849d","tags":[]},{"url":"https://git.kernel.org/stable/c/582d9ed999b004fb1d415ecbfa86d4d8df455269","tags":[]},{"url":"https://git.kernel.org/stable/c/3c2fb1ca8086eb139b2a551358137525ae8e0d7a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.39},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < ac22240540e0c5230d8c4138e3778420b712716a",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 452f9ddd12bebc04cef741e8ba3806bf0e1fd015",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 869cf50b9c9d1059f5223f79ef68fc0bc6210095",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < fb96d5cfa97a7363245b3dd523f475b04296d87b",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < cee3bff51a35cab1c5d842d409a7b11caefe2386",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 6d0f599db73b099aa724a12736369c4d4d92849d",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 582d9ed999b004fb1d415ecbfa86d4d8df455269",">= 87ad72a59a38d1df217cfd95bc222a2edfe5d399, < 3c2fb1ca8086eb139b2a551358137525ae8e0d7a"]},{"vendor":"Linux","product":"Linux","versions":["4.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:57:11.822534Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53399","exploited":false,"provenance":"source"}}