{"id":40984,"date":"2026-10-19T00:31:44","date_gmt":"2026-10-18T16:31:44","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98512"},"modified":"2026-10-19T00:31:44","modified_gmt":"2026-10-18T16:31:44","slug":"cve-2026-98512","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98512","title":{"rendered":"CVE-2026-98512 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndrm\/nouveau: RCU-free"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/nouveau: RCU-free the scheduler-containing nouveau_sched<\/p>\n<p>struct nouveau_sched embeds a struct drm_gpu_scheduler (base).<br \/>\nnouveau_sched_destroy() calls nouveau_sched_fini() (which does<br \/>\ndrm_sched_fini(&amp;sched-&gt;base)) and then frees the object with plain<br \/>\nkfree(sched).<\/p>\n<p>drm_sched_fence_get_timeline_name() returns fence-&gt;sched-&gt;name, and the<br \/>\nscheduler fence keeps a .release callback so it is not ops-detached on<br \/>\nsignalling.  A finished fence exported to userspace via drm_syncobj \/<br \/>\nsync_file therefore keeps pointing at &amp;sched-&gt;base after nouveau_sched_destroy(),<br \/>\nand a later get_timeline_name() &#8212; reachable unprivileged through<br \/>\nSYNC_IOC_FILE_INFO &#8212; dereferences freed memory (KASAN slab-use-after-free<br \/>\nread).<\/p>\n<p>Per the dma-fence lifetime contract the exporter must keep the data backing a<br \/>\nsignalled fence alive for an RCU grace period.  Free the scheduler-containing<br \/>\nobject with kfree_rcu() instead of kfree().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/nouveau: RCU-free the scheduler-containing nouveau_sched<\/p>\n<p>struct nouveau_sched embeds a struct drm_gpu_scheduler (base).<br \/>\nnouvea<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40984","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40984","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=40984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}