{"id":15044,"date":"2026-09-04T19:02:23","date_gmt":"2026-09-04T11:02:23","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64057"},"modified":"2026-09-04T19:02:23","modified_gmt":"2026-09-04T11:02:23","slug":"cve-2026-64057","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-64057","title":{"rendered":"CVE-2026-64057 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix the locking"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>afs: Fix the locking used by afs_get_link()<\/p>\n<p>The afs filesystem in the kernel doesn&#8217;t do locking correctly for symbolic<br \/>\nlinks.  There are a number of problems:<\/p>\n<p> (1) It doesn&#8217;t do any locking around afs_read_single() to prevent races<br \/>\n     between multiple -&gt;get_link() calls, thereby allowing the possibility<br \/>\n     of leaks.<\/p>\n<p> (2) It doesn&#8217;t use RCU barriering when accessing the buffer pointers<br \/>\n     during RCU pathwalk.<\/p>\n<p> (3) It can race with another thread updating the contents of the symlink<br \/>\n     if a third party updated it on the server.<\/p>\n<p>Fix this by the following means:<\/p>\n<p> (0) Move symlink handling into its own file as this makes it more<br \/>\n     complicated.<\/p>\n<p> (1) Take the validate_lock around afs_read_single() to prevent races<br \/>\n     between multiple -&gt;get_link() calls.<\/p>\n<p> (2) Keep a separate copy of the symlink contents with an rcu_head.  This<br \/>\n     is always going to be a lot smaller than a page, so it can be<br \/>\n     kmalloc&#8217;d and save quite a bit of memory.  It also needs a refcount<br \/>\n     for non-RCU pathwalk.<\/p>\n<p> (3) Split the symlink read and write-to-cache routines in afs from those<br \/>\n     for directories.<\/p>\n<p> (4) Discard the I\/O buffer as soon as the write-to-cache completes as this<br \/>\n     is a full page (plus a folio_queue).<\/p>\n<p> (5) If there&#8217;s no cache, discard the I\/O buffer immediately after reading<br \/>\n     and copying if there is no cache.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>afs: Fix the locking used by afs_get_link()<\/p>\n<p>The afs filesystem in the kernel doesn&#8217;t do locking correctly for symbolic<br \/>\nlinks.  The<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15044","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15044","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=15044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}