# CVE-2024-56662: acpi: nfit: vmalloc-out-of-bounds Read in acpi\_nfit\_ctl

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2024-12-27T15:06:24.661Z
- **Modified:** 2026-08-05T11:45:56.280Z

## Who should check

- Anyone running Linux \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 616aa5f3c86e0479bcbb81e41c08c43ff32af637; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< bbdb3307f609ec4dc9558770f464ede01fe52aed; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 212846fafb753a48e869e2a342fc1e24048da771; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 265e98f72bac6c41a4492d3e30a8e5fd22fe0779; 63108f2a408abea7ecab063efa0f398da4d0d14b; f5878c4f084dc6b1386dad03970bb61ad5e9dc4b; 0c79794474895dbbc3c52225f7e9f73cfecbb7dd; \>= 4.14.176, \< 4.15; …
- Anyone running Linux 5.1

## Description

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.

## Affected and fixed versions

- Linux: \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 616aa5f3c86e0479bcbb81e41c08c43ff32af637; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< bbdb3307f609ec4dc9558770f464ede01fe52aed; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 212846fafb753a48e869e2a342fc1e24048da771; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 265e98f72bac6c41a4492d3e30a8e5fd22fe0779; 63108f2a408abea7ecab063efa0f398da4d0d14b; f5878c4f084dc6b1386dad03970bb61ad5e9dc4b; 0c79794474895dbbc3c52225f7e9f73cfecbb7dd; \>= 4.14.176, \< 4.15; … (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56662.md
Affected: Linux >= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 616aa5f3c86e0479bcbb81e41c08c43ff32af637; >= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < bbdb3307f609ec4dc9558770f464ede01fe52aed; >= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, < 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0; >= ebe9f6f19d80d8978d16078…
Fixed in: Linux 616aa5f3c86e0479bcbb81e41c08c43ff32af637, Linux 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0, Linux 212846fafb753a48e869e2a342fc1e24048da771, Linux 265e98f72bac6c41a4492d3e30a8e5fd22fe0779, Linux 4.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56662 being exploited?

There is no confirmed exploitation: CVE-2024-56662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-56662?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56662?

Linux \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 616aa5f3c86e0479bcbb81e41c08c43ff32af637; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< bbdb3307f609ec4dc9558770f464ede01fe52aed; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 212846fafb753a48e869e2a342fc1e24048da771; \>= ebe9f6f19d80d8978d16078dff3d5bd93ad8d102, \< 265e98f72bac6c41a4492d3e30a8e5fd22fe0779; 63108f2a408abea7ecab063efa0f398da4d0d14b; f5878c4f084dc6b1386dad03970bb61ad5e9dc4b; 0c79794474895dbbc3c52225f7e9f73cfecbb7dd; \>= 4.14.176, \< 4.15; …; Linux 5.1.

### Is there a fix for CVE-2024-56662?

Yes. Fixed in Linux 616aa5f3c86e0479bcbb81e41c08c43ff32af637, Linux 143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0, Linux 212846fafb753a48e869e2a342fc1e24048da771, Linux 265e98f72bac6c41a4492d3e30a8e5fd22fe0779, Linux 4.15. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/616aa5f3c86e0479bcbb81e41c08c43ff32af637>
- patch: <https://git.kernel.org/stable/c/bbdb3307f609ec4dc9558770f464ede01fe52aed>
- patch: <https://git.kernel.org/stable/c/143f723e9eb4f0302ffb7adfdc7ef77eab3f68e0>
- patch: <https://git.kernel.org/stable/c/e08dc2dc3c3f7938df0e4476fe3e6fdec5583c1d>
- patch: <https://git.kernel.org/stable/c/212846fafb753a48e869e2a342fc1e24048da771>
- patch: <https://git.kernel.org/stable/c/265e98f72bac6c41a4492d3e30a8e5fd22fe0779>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56662>

HTML: <https://flawdb.com/CVE-2024-56662> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56662>
