{"id":15023,"date":"2026-09-04T19:02:22","date_gmt":"2026-09-04T11:02:22","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64031"},"modified":"2026-09-04T19:02:22","modified_gmt":"2026-09-04T11:02:22","slug":"cve-2026-64031","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64031","title":{"rendered":"CVE-2026-64031 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix managed ca"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>erofs: fix managed cache race for unaligned extents<\/p>\n<p>After unaligned compressed extents were introduced, the following race<br \/>\ncould occur:<\/p>\n<p>[Thread 1]                                   [Thread 2]<br \/>\n(z_erofs_fill_bio_vec)<\/p>\n<p>&#8230;<br \/>\nfilemap_add_folio (1)<br \/>\n                                             (z_erofs_bind_cache)<\/p>\n<p>                                             ..<br \/>\n                                             ..<br \/>\nfolio_attach_private (2)<br \/>\n                                             filemap_add_folio (3) again<\/p>\n<p>Since (1) is executed but (2) hasn&#8217;t been executed yet, it&#8217;s possible<br \/>\nthat another thread finds the same managed folio in z_erofs_bind_cache()<br \/>\nfor a different pcluster and calls filemap_add_folio() again since<br \/>\nfolio-&gt;private is still Z_EROFS_PREALLOCATED_FOLIO.<\/p>\n<p>Fix this by explicitly clearing folio-&gt;private before making the folio<br \/>\nvisible in the managed cache so that another pcluster can simply wait<br \/>\non the locked managed folio as what we did for other shared cases [1].<\/p>\n<p>This only impacts unaligned data compression (`-E48bit` with zstd,<br \/>\nfor example).<\/p>\n<p>[1] Commit 9e2f9d34dd12 (&#8220;erofs: handle overlapped pclusters out of<br \/>\n crafted images properly&#8221;) was originally introduced to handle crafted<br \/>\n overlapped extents, but it addresses unaligned extents as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>erofs: fix managed cache race for unaligned extents<\/p>\n<p>After unaligned compressed extents were introduced, the following race<br \/>\ncould o<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15023","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15023","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=15023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}