CVE-2024-53113
mm: fix NULL pointer dereference in alloc_pages_bulk_noprof
Mitigation
- Upgrade Linux to 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e or later.
Who should check
- Anyone running Linux >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 903d896448c2e50e8652aaba529a30d4d1eaa0e5; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 6addb2d9501ec866d7b3a3b4e665307c437e9be2; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < d0f16cec79774c3132df006cf771eddd89d08f58; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 31502374627ba9ec3e710dbd0bb00457cc6d2c19; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 903d896448c2e50e8652aaba529a30d4d1eaa0e5; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 6addb2d9501ec866d7b3a3b4e665307c437e9be2; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < d0f16cec79774c3132df006cf771eddd89d08f58; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 31502374627ba9ec3e710dbd0bb00457cc6d2c19; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e; Linux 5.13
- Fixed in
- Linux 903d896448c2e50e8652aaba529a30d4d1eaa0e5, Linux 6addb2d9501ec866d7b3a3b4e665307c437e9be2, Linux 31502374627ba9ec3e710dbd0bb00457cc6d2c19, Linux 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm: fix NULL pointer dereference in alloc_pages_bulk_noprof We triggered a NULL pointer dereference for ac.preferred_zoneref->zone in alloc_pages_bulk_noprof() when the task is migrated between cpusets. When cpuset is enabled, in prepare_alloc_pages(), ac->nodemask may be ¤t->mems_allowed. when first_zones_zonelist() is called to find preferred_zoneref, the ac->nodemask may be modified concurrently if the task is migrated between different cpusets. Assuming we have 2 NUMA Node, when traversing Node1 in ac->zonelist, the nodemask is 2, and when traversing Node2 in ac->zonelist, the nodemask is 1. As a result, the ac->preferred_zoneref points to NULL zone. In alloc_pages_bulk_noprof(), for_each_zone_zonelist_nodemask() finds a allowable zone and calls zonelist_node_idx(ac.preferred_zoneref), leading to NULL pointer dereference. __alloc_pages_noprof() fixes this issue by checking NULL pointer in commit ea57485af8f4 ("mm, page_alloc: fix check for NULL preferred_zone") and commit df76cee6bbeb ("mm, page_alloc: remove redundant checks from alloc fastpath"). To fix it, check NULL pointer for preferred_zoneref->zone.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 903d896448c2e50e8652aaba529a30d4d1eaa0e5; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 6addb2d9501ec866d7b3a3b4e665307c437e9be2; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < d0f16cec79774c3132df006cf771eddd89d08f58; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 31502374627ba9ec3e710dbd0bb00457cc6d2c19; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-53113. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53113.md Affected: Linux >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 903d896448c2e50e8652aaba529a30d4d1eaa0e5; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 6addb2d9501ec866d7b3a3b4e665307c437e9be2; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < d0f16cec79774c3132df006cf771eddd89d08f58; >= 387ba26fb1cb9be9e35dc14… Fixed in: Linux 903d896448c2e50e8652aaba529a30d4d1eaa0e5, Linux 6addb2d9501ec866d7b3a3b4e665307c437e9be2, Linux 31502374627ba9ec3e710dbd0bb00457cc6d2c19, Linux 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e 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.
References
Patches
FAQ
Is CVE-2024-53113 being exploited?
There is no confirmed exploitation: CVE-2024-53113 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53113?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-53113?
Linux >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 903d896448c2e50e8652aaba529a30d4d1eaa0e5; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 6addb2d9501ec866d7b3a3b4e665307c437e9be2; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < d0f16cec79774c3132df006cf771eddd89d08f58; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 31502374627ba9ec3e710dbd0bb00457cc6d2c19; >= 387ba26fb1cb9be9e35dc14a6d97188e916eda05, < 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e; Linux 5.13.
Is there a fix for CVE-2024-53113?
Yes. Fixed in Linux 903d896448c2e50e8652aaba529a30d4d1eaa0e5, Linux 6addb2d9501ec866d7b3a3b4e665307c437e9be2, Linux 31502374627ba9ec3e710dbd0bb00457cc6d2c19, Linux 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e. Upgrade Linux to 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e or later.
How do I check if I'm affected by CVE-2024-53113?
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.