{"id":6761,"date":"2026-09-04T18:49:16","date_gmt":"2026-09-04T10:49:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72080"},"modified":"2026-09-04T18:49:16","modified_gmt":"2026-09-04T10:49:16","slug":"cve-2026-72080","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72080","title":{"rendered":"CVE-2026-72080 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfs\/resctrl: Fix use-a"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fs\/resctrl: Fix use-after-free during unmount<\/p>\n<p>During unmount or failure teardown all mon_data structures that contain<br \/>\nmonitoring event file private data are freed after which kernfs nodes are<br \/>\nremoved. However, the RDT_DELETED flag is never set for the statically<br \/>\nallocated default resource group.<\/p>\n<p>A concurrent reader of an event file associated with the default resource<br \/>\ngroup may, after dropping kernfs active protection, block on rdtgroup_mutex<br \/>\nwhile unmount proceeds to free the file private data and destroy the kernfs<br \/>\nnode without waiting for the reader.<\/p>\n<p>When the mutex is released, the reader wakes up, observes that RDT_DELETED<br \/>\nis not set for the default group, and dereferences the already-freed<br \/>\nfile private data.<\/p>\n<p>The scenario can be depicted as follows:<br \/>\n  CPU0                                      CPU1<br \/>\n   \/*<br \/>\n    * Default resource group&#8217;s<br \/>\n    * monitoring data accessible via<br \/>\n    * kernfs file with kernfs_node::priv<br \/>\n    * pointing to a struct mon_data.<br \/>\n    * User opens the file for reading.<br \/>\n    *\/<br \/>\n   rdtgroup_mondata_show()                 \/* arch encounters fatal error *\/<br \/>\n    rdtgroup_kn_lock_live()                 resctrl_exit()<br \/>\n     atomic_inc(&amp;rdtgroup_default.waitcount) cpus_read_lock()<br \/>\n     kernfs_break_active_protection(kn)      mutex_lock(&amp;rdtgroup_mutex)<br \/>\n     cpus_read_lock()                        resctrl_fs_teardown()<br \/>\n     mutex_lock(&amp;rdtgroup_mutex)              rmdir_all_sub()<br \/>\n                                              mon_put_kn_priv()<br \/>\n                                               \/* Delete all mon_data structures *\/<br \/>\n                                              rdtgroup_destroy_root()<br \/>\n                                               kernfs_destroy_root()<br \/>\n                                               rdtgroup_default.kn = NULL<br \/>\n                                             mutex_unlock(&amp;rdtgroup_mutex)<br \/>\n     \/*<br \/>\n      * rdtgroup_default.flags is empty so<br \/>\n      * rdtgroup_kn_lock_live() returns<br \/>\n      * &amp;rdtgroup_default<br \/>\n      *\/<br \/>\n     md = of-&gt;kn-&gt;priv;<\/p>\n<p>     \/* md points to freed mon_data *\/<\/p>\n<p>Set RDT_DELETED for the default group unconditionally since the flag does<br \/>\nnot lead to the freeing of this statically allocated group.<\/p>\n<p>Do not allow a new resctrl mount if there are any waiters on default group<br \/>\nof previous mount. A new mount will re-initialize the default group that<br \/>\nwould appear to waiters from previous mount as though the default group is<br \/>\naccessible causing them to access the mon_data structures from the previous<br \/>\nmount that have been removed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fs\/resctrl: Fix use-after-free during unmount<\/p>\n<p>During unmount or failure teardown all mon_data structures that contain<br \/>\nmonitoring e<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6761","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6761","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=6761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}