{"id":7498,"date":"2026-09-04T18:49:34","date_gmt":"2026-09-04T10:49:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74506"},"modified":"2026-09-04T18:49:34","modified_gmt":"2026-09-04T10:49:34","slug":"cve-2026-74506","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74506","title":{"rendered":"CVE-2026-74506 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix UAF when sen"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>afs: Fix UAF when sending a message<\/p>\n<p>In afs_make_call(), there&#8217;s a race with async call reception and<br \/>\ndestruction.  If a call is dispatched that doesn&#8217;t have call-&gt;write_iter<br \/>\nset (used to specify the data content for FS.StoreData), then the first<br \/>\nrxrpc_kernel_send_data() will not set MSG_MORE in the msghdr.<\/p>\n<p>Once rxrpc_send_data() queues the last request packet, the response could<br \/>\ncome in at any time and cause the call to be completed and put.  However,<br \/>\nafs_make_call() will look at the call again to see it -&gt;write_iter should<br \/>\nbe handled &#8211; something it&#8217;s only allowed to do if it has its own ref on the<br \/>\ncall.  Whilst this is the case for synchronous calls, it isn&#8217;t true for<br \/>\nasync calls such as FS.FetchData.<\/p>\n<p>There&#8217;s also a potential UAF in afs_make_call() in the event that an<br \/>\nasynchronous call is being sent, but the call fails in some way (e.g. it<br \/>\ngets aborted from the server).  The problem there is that afs_make_call()<br \/>\ntries to abort a call if the rxrpc send fails, but the asynchronous<br \/>\nnotification from rxrpc may have caused the afs_call to be torn down.<\/p>\n<p>generic\/650 plays games with randomly taking CPUs offline, and can<br \/>\ninterject a significant delay such that the call is deallocated before<br \/>\nafs_make_call() gets to check call-&gt;write_iter &#8211; and a UAF ensues (caught<br \/>\nby KASAN).<\/p>\n<p>   BUG: KASAN: slab-use-after-free in afs_make_call+0x1c90\/0x2210 [kafs]<br \/>\n   Read of size 8 at addr ffff888035e050e8 by task fsstress\/1409<\/p>\n<p>Fix this by making afs_make_op_call() give the op-&gt;call its own ref rather<br \/>\nthan transferring the caller&#8217;s ref to it and then dropping the ref when<br \/>\nafs_make_call() returns.<\/p>\n<p>This also means that the afs_make_call() func never loses its ref on the<br \/>\ncall now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>afs: Fix UAF when sending a message<\/p>\n<p>In afs_make_call(), there&#8217;s a race with async call reception and<br \/>\ndestruction.  If a call is di<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7498","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7498","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=7498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}