{"id":41338,"date":"2026-10-19T00:33:18","date_gmt":"2026-10-18T16:33:18","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98866"},"modified":"2026-10-19T00:33:18","modified_gmt":"2026-10-18T16:33:18","slug":"cve-2026-98866","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98866","title":{"rendered":"CVE-2026-98866 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsched\/cache: Introduc"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>sched\/cache: Introduce task_struct-&gt;sched_cache_grp to fix UAF<\/p>\n<p>Add a sched_cache_grp pointer to task_struct so that scheduler code<br \/>\ncan access the cache group directly via the task, without going<br \/>\nthrough mm-&gt;sched_cache_grp.  This decouples the scheduler&#8217;s hot-path<br \/>\naccesses from the mm_struct.<\/p>\n<p>Each task holds its own refcount on the sched_cache_group, separate<br \/>\nfrom the reference held by its mm_struct.  The reference is acquired<br \/>\nin copy_mm() (fork) and exec_mmap() (exec), and released in exit_mm().<br \/>\nThis fixes the use-after-free when account_mm_sched() reaches the group<br \/>\nthrough a task whose mm is being switched, as reported by Hyunwoo:<\/p>\n<p>  https:\/\/lore.kernel.org\/lkml\/apPb-Dr4nPYuHQOK@v4bel\/<\/p>\n<p>Convert all scheduler code in fair.c and exit.c to use<br \/>\np-&gt;sched_cache_grp instead of p-&gt;mm-&gt;sched_cache_grp.<\/p>\n<p>Keep the fork\/exec\/exit reference management out of the generic mm<br \/>\npaths: add sched_cache_fork(), sched_cache_fork_cleanup(),<br \/>\nsched_cache_exec_mmap() and sched_cache_exit_mm() in<br \/>\nkernel\/sched\/cache_sched.c (with empty stubs for !CONFIG_SCHED_CACHE),<br \/>\nso fs\/exec.c, kernel\/fork.c and kernel\/exit.c each call one helper<br \/>\ninstead of open-coding the refcounting under #ifdef.  Also add<br \/>\nsched_cache_group_get() and task_cache_group_get().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>sched\/cache: Introduce task_struct-&gt;sched_cache_grp to fix UAF<\/p>\n<p>Add a sched_cache_grp pointer to task_struct so that scheduler code<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41338","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41338","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=41338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}