CVE-2024-40948

MEDIUM

Linux Kernel 5.17-6.1.95, 6.2-6.6.35, 6.7-6.9.6 - Denial of Service via ZONE_DEVICE Page Table Check

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0025
EPSS Percentile 16.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (15)
linux/Kernel 5.17.0 - 6.1.96linux
linux/Kernel 6.2.0 - 6.6.36linux
linux/Kernel 6.7.0 - 6.9.7linux
Linux/Linux < 5.17
Linux/Linux 5.17
Linux/Linux 6.1.96 - 6.1.*
Linux/Linux 6.10
Linux/Linux 6.6.36 - 6.6.*
Linux/Linux 6.9.7 - 6.9.*
Linux/Linux df4e817b710809425d899340dbfa8504a3ca4ba5 - 51897f99351fff7b57f4f141940fa93b4e90fd2b
... and 5 more
Published Jul 12, 2024
Tracked Since Feb 18, 2026