Skip to main content
Network Thinking Solutions Logo

CVE-2024-40917

Linux kernel: memblock: make memblock_set_node() also warn about use of MAX_NUMNODES

All CVEs
CVE-2024-40917Published 7/12/2024

Linux kernel: memblock: make memblock_set_node() also warn about use of MAX_NUMNODES

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
7/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.6.70, < 6.6.72

Verify advisory

Source
linux kernel
linux
≥ 6.8, < 6.9.6

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 6fdc770506eb8379bf68a49d4e193c8364ac64e0, < 4ddb7f966f3d06fcf1ba5ee298af6714b593584b

Verify advisory

Source
Linux
Linux
≥ ff6c3d81f2e86b63a3a530683f89ef393882782a, < 22f742b8f738918f683198a18ec3c691acda14c4

Verify advisory

Source
Linux
Linux
≥ ff6c3d81f2e86b63a3a530683f89ef393882782a, < e0eec24e2e199873f43df99ec39773ad3af2bff7

Verify advisory

Source
Linux
Linux
≥ 6.6.70, < 6.6.72

Verify advisory

Source
Linux
Linux
6.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.