CVE-2024-40917 Details
Description
In the Linux kernel, the following vulnerability has been resolved: memblock: make memblock_set_node() also warn about use of MAX_NUMNODES On an (old) x86 system with SRAT just covering space above 4Gb: ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0xfffffffff] hotplug the commit referenced below leads to this NUMA configuration no longer being refused by a CONFIG_NUMA=y kernel (previously NUMA: nodes only cover 6144MB of your 8185MB e820 RAM. Not used. No NUMA configuration found Faking a node at [mem 0x0000000000000000-0x000000027fffffff] was seen in the log directly after the message quoted above), because of memblock_validate_numa_coverage() checking for NUMA_NO_NODE (only). This in turn led to memblock_alloc_range_nid()'s warning about MAX_NUMNODES triggering, followed by a NULL deref in memmap_init() when trying to access node 64's (NODE_SHIFT=6) node data. To compensate said change, make memblock_set_node() warn on and adjust a passed in value of MAX_NUMNODES, just like various other functions already do.
A vulnerability in the Linux kernel's memory management for Non-Uniform Memory Access (NUMA) systems has been addressed. The issue arose on older x86 systems where the System Resource Affinity Table (SRAT) only covered memory above 4GB. This configuration was not previously accepted by a kernel with NUMA support enabled. However, a recent change allowed this setup, leading to a false node being created in the memory map. The vulnerability was caused by the memory block validation process not properly handling certain NUMA configurations, which could result in a null pointer dereference when the system tried to access specific node data. The issue has been fixed by updating the memory block node setting function to warn about deprecated node values and ensure proper handling of NUMA node assignments.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6.70, < 6.6.72 >= 6.8, < 6.9.6 6.10 rc1 6.10 rc2 6.10 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Jan 17, 2025 | CVE Modified | kernel.org |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 12, 2024 | New CVE Received | kernel.org |