{"id":"CVE-2024-56662","aliases":["CVE-2024-56662"],"related":[],"kind":"vulnerability","state":"published","title":"acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: acpi: nfit: vmalloc-out-of-bounds Lectura en acpi_nfit_ctl Se soluciona un problema detectado por syzbot con KASAN: ERROR: KASAN: vmalloc-out-of-bounds en cmd_to_func drivers/acpi/nfit/ core.c:416 [en línea] ERROR: KASAN: vmalloc-out-of-bounds en acpi_nfit_ctl+0x20e8/0x24a0 drivers/acpi/nfit/core.c:459 El problema ocurre en cmd_to_func cuando se accede a la matriz call_pkg-&gt;nd_reserved2 sin verificar que call_pkg apunte a un búfer que tenga el tamaño adecuado como una estructura nd_cmd_pkg. Esto puede provocar un acceso fuera de los límites y un comportamiento indefinido si el búfer no tiene suficiente espacio. Para solucionar este problema, se agregó una verificación en acpi_nfit_ctl() para garantizar que buf no sea NULL y que buf_len sea menor que sizeof(*call_pkg) antes de acceder a él. Esto garantiza un acceso seguro a los miembros de call_pkg, incluida la matriz nd_reserved2.","source":"nvd"}],"published":"2024-12-27T15:06:24.661Z","modified":"2026-08-05T11:45:56.280Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H","score":6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H","score":6,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"616aa5f3c86e0479bcbb81e41c08c43ff32af637","status":"affected"},{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"bbdb3307f609ec4dc9558770f464ede01fe52aed","status":"affected"},{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0","status":"affected"},{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d","status":"affected"},{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"212846fafb753a48e869e2a342fc1e24048da771","status":"affected"},{"type":"git","introduced":"ebe9f6f19d80d8978d16078dff3d5bd93ad8d102","fixed":"265e98f72bac6c41a4492d3e30a8e5fd22fe0779","status":"affected"},{"type":"git","version":"63108f2a408abea7ecab063efa0f398da4d0d14b","status":"affected"},{"type":"git","version":"f5878c4f084dc6b1386dad03970bb61ad5e9dc4b","status":"affected"},{"type":"git","version":"0c79794474895dbbc3c52225f7e9f73cfecbb7dd","status":"affected"},{"type":"semver","introduced":"4.14.176","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.31","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.0.4","fixed":"5.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.10.232","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.175","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.121","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.67","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.6","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.176","fixed":"4.15"},{"status":"affected","introduced":"4.19.31","fixed":"4.20"},{"status":"affected","introduced":"5.0.4","fixed":"5.10.232"},{"status":"affected","introduced":"5.11","fixed":"5.15.175"},{"status":"affected","introduced":"5.16","fixed":"6.1.121"},{"status":"affected","introduced":"6.2","fixed":"6.6.67"},{"status":"affected","introduced":"6.7","fixed":"6.12.6"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/616aa5f3c86e0479bcbb81e41c08c43ff32af637","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbdb3307f609ec4dc9558770f464ede01fe52aed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/212846fafb753a48e869e2a342fc1e24048da771","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/265e98f72bac6c41a4492d3e30a8e5fd22fe0779","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:59:57.981Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56662","url":"https://www.cve.org/CVERecord?id=CVE-2024-56662","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:56.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56662","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56662","licence":"Public domain","modified":"2026-08-04T11:22:19.407Z"}],"updatedAt":"2026-11-25T22:58:50.510Z","epss":{"score":0.00611,"percentile":0.50638,"date":"2026-12-01T12:00:22.000Z"}}