{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40948","id":"CVE-2024-40948","title":"mm/page_table_check: fix crash on ZONE_DEVICE","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_table_check: fix crash on ZONE_DEVICE\n\nNot all pages may apply to pgtable check.  One example is ZONE_DEVICE\npages: they map PFNs directly, and they don't allocate page_ext at all\neven if there's struct page around.  One may reference\ndevm_memremap_pages().\n\nWhen both ZONE_DEVICE and page-table-check enabled, then try to ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_table_check: fix crash on ZONE_DEVICE\n\nNot all pages may apply to pgtable check.  One example is ZONE_DEVICE\npages: they map PFNs directly, and they don't allocate page_ext at all\neven if there's struct page around.  One may reference\ndevm_memremap_pages().\n\nWhen both ZONE_DEVICE and page-table-check enabled, then try to map some\ndax memories, one can trigger kernel bug constantly now when the kernel\nwas trying to inject some pfn maps on the dax device:\n\n kernel BUG at mm/page_table_check.c:55!\n\nWhile it's pretty legal to use set_pxx_at() for ZONE_DEVICE pages for page\nfault resolutions, skip all the checks if page_ext doesn't even exist in\npgtable checker, which applies to ZONE_DEVICE but maybe more.","published":"2024-07-12T12:31:53.478Z","updated":"2026-10-28T02:30:27.985814966Z","reserved":"2024-07-12T12:17:45.591Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"df4e817b710809425d899340dbfa8504a3ca4ba5","lessThan":"51897f99351fff7b57f4f141940fa93b4e90fd2b","status":"affected","versionType":"git"},{"version":"df4e817b710809425d899340dbfa8504a3ca4ba5","lessThan":"84d3549d54f5ff9fa3281257be3019386f51d1a0","status":"affected","versionType":"git"},{"version":"df4e817b710809425d899340dbfa8504a3ca4ba5","lessThan":"dec2382247860d2134c8d41e103e26460c099629","status":"affected","versionType":"git"},{"version":"df4e817b710809425d899340dbfa8504a3ca4ba5","lessThan":"8bb592c2eca8fd2bc06db7d80b38da18da4a2f43","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","status":"unaffected","versionType":"semver"},{"version":"6.1.96","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.36","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.7","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/51897f99351fff7b57f4f141940fa93b4e90fd2b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/84d3549d54f5ff9fa3281257be3019386f51d1a0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/dec2382247860d2134c8d41e103e26460c099629","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8bb592c2eca8fd2bc06db7d80b38da18da4a2f43","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40948.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40948","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00249,"epssPercentile":0.16368,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40948","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40948","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40948","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-40948","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}