{"id":40977,"date":"2026-10-19T00:31:43","date_gmt":"2026-10-18T16:31:43","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98505"},"modified":"2026-10-19T00:31:43","modified_gmt":"2026-10-18T16:31:43","slug":"cve-2026-98505","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98505","title":{"rendered":"CVE-2026-98505 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmm\/damon\/vaddr: avoid"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/damon\/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()<\/p>\n<p>damon_hugetlb_mkold() reads the page table entry into a local variable,<br \/>\nunsets the accessed bit in the variable, and updates the page table entry<br \/>\nwith the updated variable value.  If hardware updates the same page table<br \/>\nentry in parallel, the hw updates could be lost.  For example,<br \/>\nhardware-updated dirty bits might be lost.<\/p>\n<p>Avoid the parallel updates by clearing the page table entry when reading<br \/>\nit together, using huge_ptep_get_and_clear().  If a parallel write to the<br \/>\nmemory is made after the clearing, the hw will see the page table entry is<br \/>\ncleared, trigger page fault and wait until it is handled.  The page fault<br \/>\nhandling will wait for damon_hugetlb_mkold() due to the page table lock.<\/p>\n<p>Because hugetlbfs is an in-memory file system and hugetlb pages cannot be<br \/>\nreclaimed, no critical issue is expected to my best knowledge.  But<br \/>\ndefinitely this is a nasty bug that should be fixed sooner rather than<br \/>\nlater.<\/p>\n<p>The issue was discovered [1] by Sashiko.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/damon\/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()<\/p>\n<p>damon_hugetlb_mkold() reads the page table entry into a l<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40977","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40977","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=40977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}