{"id":25751,"date":"2026-09-18T04:31:50","date_gmt":"2026-09-17T20:31:50","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90342"},"modified":"2026-09-18T04:31:50","modified_gmt":"2026-09-17T20:31:50","slug":"cve-2026-90342","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90342","title":{"rendered":"CVE-2026-90342 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix mmap_lock de"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix mmap_lock deadlock on arena lock failure<\/p>\n<p>Reported by the Sashiko AI review.<\/p>\n<p>arena_vm_fault() returns VM_FAULT_RETRY when it can&#8217;t take<br \/>\narena-&gt;spinlock, but it never took mmap_lock. The fault path assumes a<br \/>\nVM_FAULT_RETRY handler already dropped mmap_lock and re-takes it on the<br \/>\nretry, so mmap_lock gets taken twice and can deadlock:<\/p>\n<p>\tdo_user_addr_fault()<br \/>\n\t{<br \/>\n\t\tfault = handle_mm_fault(&#8230;);   \/\/ calls arena_vm_fault()<br \/>\n\t\tif (fault &amp; VM_FAULT_RETRY)<br \/>\n\t\t\tgoto retry;   \/\/ re-locks mmap_lock<br \/>\n\t\tmmap_read_unlock(mm);<br \/>\n\t}<\/p>\n<p>Return VM_FAULT_SIGBUS instead, for two reasons:<\/p>\n<p>1. We could keep VM_FAULT_RETRY, but then we&#8217;d have to drop the fault<br \/>\n   lock first and cap the retry ourselves, the way __folio_lock_or_retry()<br \/>\n   does.<\/p>\n<p>2. A failed raw_res_spin_lock_irqsave() already means a possible deadlock<br \/>\n   was detected, so retrying just hits the same lock again.<\/p>\n<p>So returning VM_FAULT_RETRY here is overkill.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Fix mmap_lock deadlock on arena lock failure<\/p>\n<p>Reported by the Sashiko AI review.<\/p>\n<p>arena_vm_fault() returns VM_FAULT_RETRY when<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25751","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25751","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=25751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}