CVE-2024-40948
mm/page_table_check: fix crash on ZONE_DEVICE
Mitigation
- Upgrade Linux to 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43 or later.
Who should check
- Anyone running Linux >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43; Linux 5.17
- Fixed in
- Linux 51897f99351fff7b57f4f141940fa93b4e90fd2b, Linux 84d3549d54f5ff9fa3281257be3019386f51d1a0, Linux 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43
- 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 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/page_table_check: fix crash on ZONE_DEVICE Not all pages may apply to pgtable check. One example is ZONE_DEVICE pages: they map PFNs directly, and they don't allocate page_ext at all even if there's struct page around. One may reference devm_memremap_pages(). When both ZONE_DEVICE and page-table-check enabled, then try to map some dax memories, one can trigger kernel bug constantly now when the kernel was trying to inject some pfn maps on the dax device: kernel BUG at mm/page_table_check.c:55! While it's pretty legal to use set_pxx_at() for ZONE_DEVICE pages for page fault resolutions, skip all the checks if page_ext doesn't even exist in pgtable checker, which applies to ZONE_DEVICE but maybe more.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43 | — | cvelist |
| Linux | 5.17 | — | 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-40948. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-40948.md Affected: Linux >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629; >= df4e817b710809425d89934… Fixed in: Linux 51897f99351fff7b57f4f141940fa93b4e90fd2b, Linux 84d3549d54f5ff9fa3281257be3019386f51d1a0, Linux 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43 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-40948 being exploited?
There is no confirmed exploitation: CVE-2024-40948 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-40948?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-40948?
Linux >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629; >= df4e817b710809425d899340dbfa8504a3ca4ba5, < 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43; Linux 5.17.
Is there a fix for CVE-2024-40948?
Yes. Fixed in Linux 51897f99351fff7b57f4f141940fa93b4e90fd2b, Linux 84d3549d54f5ff9fa3281257be3019386f51d1a0, Linux 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43. Upgrade Linux to 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43 or later.
How do I check if I'm affected by CVE-2024-40948?
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.