<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 07 Oct 2026 09:18:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-43853 — cgroup/cpuset: Prevent UAF in proc_cpuset_show()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-43853</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;cgroup/cpuset: Prevent UAF in proc_cpuset_show()&lt;/p&gt;
&lt;p&gt;An UAF can happen when /proc/cpuset is read as reported in [1].&lt;/p&gt;
&lt;p&gt;This can be reproduced by the following methods:
1.add an mdelay(1000) before acquiring the cgroup_lock In the
 cgroup_path_ns function.
2.$cat /proc/&amp;lt;pid&amp;gt;/cpuset   repeatly.
3.$mount -t cgroup -o cpuset cpuset /sys/fs/cgroup/cpuset/
$umount /sys/fs/cgroup/cpuset/   repeatly.&lt;/p&gt;
&lt;p&gt;The race that cause this bug can be shown as below:&lt;/p&gt;
&lt;p&gt;(umount)		|	(cat /proc/&amp;lt;pid&amp;gt;/cpuset)
css_release		|	proc_cpuset_show
css_release_work_fn	|	css = task_get_css(tsk, cpuset_cgrp_id);
css_free_rwork_fn	|	cgroup_path_ns(css-&amp;gt;cgroup, ...);
cgroup_destroy_root	|	mutex_lock(&amp;amp;cgroup_mutex);
rebind_subsystems	|
cgroup_free_root 	|
			|	// cgrp was freed, UAF
			|	cgroup_path_ns_locked(cgrp,..);&lt;/p&gt;
&lt;p&gt;When the cpuset is initialized, the root node top_cpuset.css.cgrp
will point to &amp;amp;cgrp_dfl_root.cgrp. In cgroup v1, the mount operation will
allocate cgroup_root, and top_cpuset.css.cgrp will point to the allocated
&amp;amp;cgroup_root.cgrp. When the umount operation is executed,
top_cpuset.css.cgrp will be rebound to &amp;amp;cgrp_dfl_root.cgrp.&lt;/p&gt;
&lt;p&gt;The problem is that when rebinding to cgrp_dfl_root, there are cases
where the cgroup_root allocated by setting up the root for cgroup v1
is cached. This could lead to a Use-After-Free (UAF) if it is
subsequently freed. The descendant cgroups of cgroup v1 can only be
freed after the css is released. However,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;cgroup/cpuset: Prevent UAF in proc_cpuset_show()&lt;/p&gt;
&lt;p&gt;An UAF can happen when /proc/cpuset is read as reported in [1].&lt;/p&gt;
&lt;p&gt;This can be reproduced by the following methods:
1.add an mdelay(1000) before acquiring the cgroup_lock In the
 cgroup_path_ns function.
2.$cat /proc/&amp;lt;pid&amp;gt;/cpuset   repeatly.
3.$mount -t cgroup -o cpuset cpuset /sys/fs/cgroup/cpuset/
$umount /sys/fs/cgroup/cpuset/   repeatly.&lt;/p&gt;
&lt;p&gt;The race that cause this bug can be shown as below:&lt;/p&gt;
&lt;p&gt;(umount)		|	(cat /proc/&amp;lt;pid&amp;gt;/cpuset)
css_release		|	proc_cpuset_show
css_release_work_fn	|	css = task_get_css(tsk, cpuset_cgrp_id);
css_free_rwork_fn	|	cgroup_path_ns(css-&amp;gt;cgroup, ...);
cgroup_destroy_root	|	mutex_lock(&amp;amp;cgroup_mutex);
rebind_subsystems	|
cgroup_free_root 	|
			|	// cgrp was freed, UAF
			|	cgroup_path_ns_locked(cgrp,..);&lt;/p&gt;
&lt;p&gt;When the cpuset is initialized, the root node top_cpuset.css.cgrp
will point to &amp;amp;cgrp_dfl_root.cgrp. In cgroup v1, the mount operation will
allocate cgroup_root, and top_cpuset.css.cgrp will point to the allocated
&amp;amp;cgroup_root.cgrp. When the umount operation is executed,
top_cpuset.css.cgrp will be rebound to &amp;amp;cgrp_dfl_root.cgrp.&lt;/p&gt;
&lt;p&gt;The problem is that when rebinding to cgrp_dfl_root, there are cases
where the cgroup_root allocated by setting up the root for cgroup v1
is cached. This could lead to a Use-After-Free (UAF) if it is
subsequently freed. The descendant cgroups of cgroup v1 can only be
freed after the css is released. However,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-43853</guid>
    </item>
  </channel>
</rss>
