{"id":65230,"date":"2025-06-28T12:32:15","date_gmt":"2025-06-28T09:02:15","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38085-linux-kernel-huge-page-table-unshare-race-condition-vulnerability\/"},"modified":"2025-06-28T12:32:15","modified_gmt":"2025-06-28T09:02:15","slug":"cve-2025-38085-linux-kernel-huge-page-table-unshare-race-condition-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38085-linux-kernel-huge-page-table-unshare-race-condition-vulnerability\/","title":{"rendered":"CVE-2025-38085 &#8211; Linux Kernel: Huge Page Table Unshare Race Condition Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38085<br \/>\n<br \/>\n<strong>Published : <\/strong> June 28, 2025, 8:15 a.m. | 44\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/hugetlb: fix huge_pmd_unshare() vs GUP-fast race<\/p>\n<p>huge_pmd_unshare() drops a reference on a page table that may have<br \/>\npreviously been shared across processes, potentially turning it into a<br \/>\nnormal page table used in another process in which unrelated VMAs can<br \/>\nafterwards be installed.<\/p>\n<p>If this happens in the middle of a concurrent gup_fast(), gup_fast() could<br \/>\nend up walking the page tables of another process.  While I don&#8217;t see any<br \/>\nway in which that immediately leads to kernel memory corruption, it is<br \/>\nreally weird and unexpected.<\/p>\n<p>Fix it with an explicit broadcast IPI through tlb_remove_table_sync_one(),<br \/>\njust like we do in khugepaged when removing page tables for a THP<br \/>\ncollapse.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-38085 Published : June 28, 2025, 8:15 a.m. | 44\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: mm\/hugetlb: fix huge_pmd_unshare() vs GUP-fast race huge_pmd_unshare() drops a reference on a page table that may have previously been shared across processes, potentially turning it into a normal page &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65230","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65230"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65230\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}