{"id":15989,"date":"2026-09-04T19:04:38","date_gmt":"2026-09-04T11:04:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-46280"},"modified":"2026-09-04T19:04:38","modified_gmt":"2026-09-04T11:04:38","slug":"cve-2026-46280","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-46280","title":{"rendered":"CVE-2026-46280 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nlib: test_hmm: evict"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>lib: test_hmm: evict device pages on file close to avoid use-after-free<\/p>\n<p>Patch series &#8220;Minor hmm_test fixes and cleanups&#8221;.<\/p>\n<p>Two bugfixes a cleanup for the HMM kernel selftests.  These were mostly<br \/>\nreported by Zenghui Yu with special thanks to Lorenzo for analysing and<br \/>\npointing out the problems.<\/p>\n<p>This patch (of 3):<\/p>\n<p>When dmirror_fops_release() is called it frees the dmirror struct but<br \/>\ndoesn&#8217;t migrate device private pages back to system memory first.  This<br \/>\nleaves those pages with a dangling zone_device_data pointer to the freed<br \/>\ndmirror.<\/p>\n<p>If a subsequent fault occurs on those pages (eg.  during coredump) the<br \/>\ndmirror_devmem_fault() callback dereferences the stale pointer causing a<br \/>\nkernel panic.  This was reported [1] when running mm\/ksft_hmm.sh on arm64,<br \/>\nwhere a test failure triggered SIGABRT and the resulting coredump walked<br \/>\nthe VMAs faulting in the stale device private pages.<\/p>\n<p>Fix this by calling dmirror_device_evict_chunk() for each devmem chunk in<br \/>\ndmirror_fops_release() to migrate all device private pages back to system<br \/>\nmemory before freeing the dmirror struct.  The function is moved earlier<br \/>\nin the file to avoid a forward declaration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>lib: test_hmm: evict device pages on file close to avoid use-after-free<\/p>\n<p>Patch series &#8220;Minor hmm_test fixes and cleanups&#8221;.<\/p>\n<p>Two bug<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15989","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}