CVE-2024-56662: acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
In the Linux kernel, the following vulnerability has been resolved:
acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
Fix an issue detected by syzbot with KASAN:
BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/
core.c:416 [inline]
BUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0
drivers/acpi/nfit/core.c:459
The issue occurs in cmd_to_func when the call_pkg->nd_reserved2
array is accessed without verifying that call_pkg points to a buffer
that is appropriately sized as a struct nd_cmd_pkg. This can lead
to out-of-bounds access and undefined behavior if the buffer does not
have sufficient space.
To address this, a check was added in acpi_nfit_ctl() to ensure that
buf is not NULL and that buf_len is less than sizeof(*call_pkg)
before accessing it. This ensures safe access to the members of
call_pkg, including the nd_reserved2 array.
Security readout for executives and security teams
Plain-English summary
A flaw in Linux kernel ACPI NFIT handling can read outside allocated memory when processing a malformed command package. Because the CVSS vector requires local access and high privileges, this is mainly a concern on managed Linux systems where privileged local users or services can reach this path. Potential impact includes information exposure and kernel instability.
Executive priority
Treat as a moderate-priority kernel maintenance item. It has meaningful confidentiality and availability impact, but available evidence points to local, high-privilege access requirements and no confirmed active exploitation. Patch through normal security update processes, faster for multi-user or privileged workload hosts.
Technical view
CVE-2024-56662 is a CWE-125 out-of-bounds read in drivers/acpi/nfit/core.c. acpi_nfit_ctl could access call_pkg->nd_reserved2 before confirming the supplied buffer was large enough for struct nd_cmd_pkg. The kernel fix adds NULL and length validation before cmd_to_func processing. CVSS 3.1 is 6.0 with local, high-privilege exploitation.
Likely exposure
Exposure is likely limited to Linux systems running affected kernels where ACPI NFIT/NVDIMM-related kernel code is present and reachable by a high-privilege local actor. The source bundle lists Linux kernel affected ranges but does not identify specific distributions beyond Debian LTS advisories.
Exploitation context
The source bundle and KEV flag do not support active exploitation claims. The issue was detected by syzbot with KASAN, suggesting a fuzzing-discovered memory safety bug rather than documented in-the-wild abuse. Exploitation requires local access and high privileges according to the CVSS vector.
Researcher notes
The key boundary is buffer validation before interpreting user-supplied command package data as struct nd_cmd_pkg. Evidence names an out-of-bounds read in cmd_to_func/acpi_nfit_ctl and a fix adding NULL and size checks. Source data does not provide a public exploit or broad workaround.
Mitigation direction
Prioritize vendor kernel updates for affected Linux systems.
Confirm distribution advisories map to the stable kernel fixes.
For Debian LTS, review the cited March 2025 announcements.
If no packaged fix exists, follow vendor guidance for supported kernel branches.
Limit high-privilege local access on affected hosts.
Validation and detection
Inventory Linux kernel versions across servers and appliances.
Check whether deployed kernels fall within affected ranges listed by CVE data.
Verify installed kernels include the relevant stable fix commits.
Review distribution security advisories for backported fixes.
Assess whether systems use ACPI NFIT or NVDIMM-related functionality.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.