{"id":"CVE-2024-56662","published":"2024-12-27T15:06:24Z","modified":"2026-08-05T11:45:56Z","title":"acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nacpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl\n\nFix an issue detected by syzbot with KASAN:\n\nBUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/\ncore.c:416 [inline]\nBUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0\ndrivers/acpi/nfit/core.c:459\n\nThe issue occurs in cmd_to_func when the call_pkg->nd_reserved2\narray is accessed without verifying that call_pkg points to a buffer\nthat is appropriately sized as a struct nd_cmd_pkg. This can lead\nto out-of-bounds access and undefined behavior if the buffer does not\nhave sufficient space.\n\nTo address this, a check was added in acpi_nfit_ctl() to ensure that\nbuf is not NULL and that buf_len is less than sizeof(*call_pkg)\nbefore accessing it. This ensures safe access to the members of\ncall_pkg, including the nd_reserved2 array.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.16879,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/616aa5f3c86e0479bcbb81e41c08c43ff32af637","tags":[]},{"url":"https://git.kernel.org/stable/c/bbdb3307f609ec4dc9558770f464ede01fe52aed","tags":[]},{"url":"https://git.kernel.org/stable/c/143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0","tags":[]},{"url":"https://git.kernel.org/stable/c/e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d","tags":[]},{"url":"https://git.kernel.org/stable/c/212846fafb753a48e869e2a342fc1e24048da771","tags":[]},{"url":"https://git.kernel.org/stable/c/265e98f72bac6c41a4492d3e30a8e5fd22fe0779","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":8.8,"factors":[{"name":"EPSS percentile","points":3.38},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 616aa5f3c86e0479bcbb81e41c08c43ff32af637",">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < bbdb3307f609ec4dc9558770f464ede01fe52aed",">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0",">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d",">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 212846fafb753a48e869e2a342fc1e24048da771",">= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 265e98f72bac6c41a4492d3e30a8e5fd22fe0779","63108f2a408abea7ecab063efa0f398da4d0d14b","f5878c4f084dc6b1386dad03970bb61ad5e9dc4b","0c79794474895dbbc3c52225f7e9f73cfecbb7dd",">= 4.14.176, < 4.15"]},{"vendor":"Linux","product":"Linux","versions":["5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:59:57.981489Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53310","exploited":false,"provenance":"source"}}