{"id":6842,"date":"2026-09-04T18:49:19","date_gmt":"2026-09-04T10:49:19","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72213"},"modified":"2026-09-04T18:49:19","modified_gmt":"2026-09-04T10:49:19","slug":"cve-2026-72213","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72213","title":{"rendered":"CVE-2026-72213 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmm\/hugetlb: fix huget"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/hugetlb: fix hugetlb cgroup rsvd charge\/uncharge mismatch<\/p>\n<p>In alloc_hugetlb_folio(), a single h_cg pointer is used for both the rsvd<br \/>\nand non-rsvd hugetlb cgroup charges.  When map_chg is set,<br \/>\nhugetlb_cgroup_charge_cgroup_rsvd() stores the charged cgroup in h_cg, but<br \/>\nthe immediately following hugetlb_cgroup_charge_cgroup() overwrites h_cg<br \/>\nwith the non-rsvd cgroup pointer.<\/p>\n<p>As a result, hugetlb_cgroup_commit_charge_rsvd() stores the wrong<br \/>\n(non-rsvd) cgroup pointer into the folio&#8217;s rsvd slot.<\/p>\n<p>When the folio is later freed, free_huge_folio() unconditionally calls<br \/>\nboth hugetlb_cgroup_uncharge_folio() and<br \/>\nhugetlb_cgroup_uncharge_folio_rsvd().  The rsvd uncharge reads back the<br \/>\nwrong cgroup from the folio and decrements a counter that was never<br \/>\ncharged for that cgroup, causing a page_counter underflow:<\/p>\n<p>  page_counter underflow: -512 nr_pages=512<br \/>\n  WARNING: mm\/page_counter.c:61 at page_counter_cancel<\/p>\n<p>Fix this by introducing a separate h_cg_rsvd pointer exclusively for the<br \/>\nrsvd charge path, keeping the rsvd and non-rsvd charges fully independent<br \/>\nthrough their charge, commit, and error uncharge paths.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/hugetlb: fix hugetlb cgroup rsvd charge\/uncharge mismatch<\/p>\n<p>In alloc_hugetlb_folio(), a single h_cg pointer is used for both the <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6842","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6842","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=6842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}