{"id":5449,"date":"2026-09-04T18:47:50","date_gmt":"2026-09-04T10:47:50","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68384"},"modified":"2026-09-04T18:47:50","modified_gmt":"2026-09-04T10:47:50","slug":"cve-2026-68384","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68384","title":{"rendered":"CVE-2026-68384 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndrm\/xe\/vf: Fix VF CCS"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/xe\/vf: Fix VF CCS attach\/detach race with in-flight BO moves<\/p>\n<p>xe_bo_move() attaches VF CCS read\/write batch buffers (BBs) to a BO<br \/>\nafter it transitions NULL\/SYSTEM -&gt; TT, and detaches them after it<br \/>\ntransitions TT -&gt; SYSTEM. Both operations were done synchronously on<br \/>\nthe CPU immediately after building the move&#8217;s copy\/clear fence,<br \/>\nwithout waiting for that fence to signal. This creates two races with<br \/>\nVF migration:<\/p>\n<p>&#8211; Attach happens too late relative to the copy job it is meant to<br \/>\n  protect. If the copy job is submitted before the CCS BBs are<br \/>\n  attached, a VF migration event that pauses execution mid-copy can<br \/>\n  observe partially copied CCS metadata without the attach state<br \/>\n  needed to correctly save\/restore it.<\/p>\n<p>&#8211; Detach happens too early relative to the copy job that moves data<br \/>\n  out of TT. The CCS BBs are torn down right after the copy fence is<br \/>\n  obtained, while the actual blit may still be in flight. A VF<br \/>\n  migration event that pauses execution mid-copy can then race the<br \/>\n  save\/restore path against the still-running blit, and the CCS BBs<br \/>\n  it would need to make sense of the paused state have already been<br \/>\n  removed.<\/p>\n<p>Fix both races:<\/p>\n<p>&#8211; Move the attach call to before the copy\/clear job is submitted, so<br \/>\n  the CCS BBs are already registered by the time the copy runs. On<br \/>\n  attach failure, unwind and bail out of the move. xe_migrate_ccs_rw_copy()<br \/>\n  now takes the destination resource explicitly, since bo-&gt;ttm.resource<br \/>\n  is not updated to the new resource until after the move commits.<\/p>\n<p>&#8211; Detach only after explicitly waiting for the copy fence to signal,<br \/>\n  instead of tearing down the CCS BBs immediately after obtaining it.<\/p>\n<p>While here, also fix xe_sriov_vf_ccs_attach_bo() to properly unwind and<br \/>\npropagate errors: the per-context loop previously never broke out on<br \/>\nerror, silently discarding earlier failures. Unwind by clearing each<br \/>\nattached context directly via xe_migrate_ccs_rw_copy_clear() instead of<br \/>\nreusing xe_sriov_vf_ccs_detach_bo(), which requires both contexts to be<br \/>\nattached before it will clean up either one.<\/p>\n<p>(cherry picked from commit d45ad0aa7a1eb5d7288b5ed948b05695611dc39e)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/xe\/vf: Fix VF CCS attach\/detach race with in-flight BO moves<\/p>\n<p>xe_bo_move() attaches VF CCS read\/write batch buffers (BBs) to a <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5449","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5449","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=5449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}