Skip to main content
Network Thinking Solutions Logo

CVE-2024-40948

Linux kernel: mm/page_table_check: fix crash on ZONE_DEVICE

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

Linux kernel: mm/page_table_check: fix crash on ZONE_DEVICE

Vendor advisory
CVSS5.5Medium

Overview

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.

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
≥ 5.17, < 6.1.96

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.36

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.7

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
≥ df4e817b710809425d899340dbfa8504a3ca4ba5, < 51897f99351fff7b57f4f141940fa93b4e90fd2b

Verify advisory

Source
Linux
Linux
≥ df4e817b710809425d899340dbfa8504a3ca4ba5, < 84d3549d54f5ff9fa3281257be3019386f51d1a0

Verify advisory

Source
Linux
Linux
≥ df4e817b710809425d899340dbfa8504a3ca4ba5, < dec2382247860d2134c8d41e103e26460c099629

Verify advisory

Source
Linux
Linux
≥ df4e817b710809425d899340dbfa8504a3ca4ba5, < 8bb592c2eca8fd2bc06db7d80b38da18da4a2f43

Verify advisory

Source
Linux
Linux
5.17

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.