# CVE-2024-40917: linux: In the Linux kernel, the following vulnerability has been resolved:  memblock: make memblock_set_node() also warn abo...

CVE-2024-40917 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-40917, released July 12, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-40917
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 12, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 13.5 (trixie) | 6.9.7-1 | [DEBIAN-CVE-2024-40917](https://patchblox.com/security/data/fix/linux/debian-cve-2024-40917.md) | Jul 12, 2024 |
| Linux | linux Debian 14 | 6.9.7-1 | [DEBIAN-CVE-2024-40917](https://patchblox.com/security/data/fix/linux/debian-cve-2024-40917.md) | Jul 12, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
