<?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://cve.radiocsirt.org</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:08:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-48892 — sched/core: Fix use-after-free bug in dup_user_cpus_ptr()</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-48892</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;sched/core: Fix use-after-free bug in dup_user_cpus_ptr()&lt;/p&gt;
&lt;p&gt;Since commit 07ec77a1d4e8 (&amp;#34;sched: Allow task CPU affinity to be
restricted on asymmetric systems&amp;#34;), the setting and clearing of
user_cpus_ptr are done under pi_lock for arm64 architecture. However,
dup_user_cpus_ptr() accesses user_cpus_ptr without any lock
protection. Since sched_setaffinity() can be invoked from another
process, the process being modified may be undergoing fork() at
the same time.  When racing with the clearing of user_cpus_ptr in
__set_cpus_allowed_ptr_locked(), it can lead to user-after-free and
possibly double-free in arm64 kernel.&lt;/p&gt;
&lt;p&gt;Commit 8f9ea86fdf99 (&amp;#34;sched: Always preserve the user requested
cpumask&amp;#34;) fixes this problem as user_cpus_ptr, once set, will never
be cleared in a task&amp;#39;s lifetime. However, this bug was re-introduced
in commit 851a723e45d1 (&amp;#34;sched: Always clear user_cpus_ptr in
do_set_cpus_allowed()&amp;#34;) which allows the clearing of user_cpus_ptr in
do_set_cpus_allowed(). This time, it will affect all arches.&lt;/p&gt;
&lt;p&gt;Fix this bug by always clearing the user_cpus_ptr of the newly
cloned/forked task before the copying process starts and check the
user_cpus_ptr state of the source task under pi_lock.&lt;/p&gt;
&lt;p&gt;Note to stable, this patch won&amp;#39;t be applicable to stable releases.
Just copy the new dup_user_cpus_ptr() function over.&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;sched/core: Fix use-after-free bug in dup_user_cpus_ptr()&lt;/p&gt;
&lt;p&gt;Since commit 07ec77a1d4e8 (&amp;#34;sched: Allow task CPU affinity to be
restricted on asymmetric systems&amp;#34;), the setting and clearing of
user_cpus_ptr are done under pi_lock for arm64 architecture. However,
dup_user_cpus_ptr() accesses user_cpus_ptr without any lock
protection. Since sched_setaffinity() can be invoked from another
process, the process being modified may be undergoing fork() at
the same time.  When racing with the clearing of user_cpus_ptr in
__set_cpus_allowed_ptr_locked(), it can lead to user-after-free and
possibly double-free in arm64 kernel.&lt;/p&gt;
&lt;p&gt;Commit 8f9ea86fdf99 (&amp;#34;sched: Always preserve the user requested
cpumask&amp;#34;) fixes this problem as user_cpus_ptr, once set, will never
be cleared in a task&amp;#39;s lifetime. However, this bug was re-introduced
in commit 851a723e45d1 (&amp;#34;sched: Always clear user_cpus_ptr in
do_set_cpus_allowed()&amp;#34;) which allows the clearing of user_cpus_ptr in
do_set_cpus_allowed(). This time, it will affect all arches.&lt;/p&gt;
&lt;p&gt;Fix this bug by always clearing the user_cpus_ptr of the newly
cloned/forked task before the copying process starts and check the
user_cpus_ptr state of the source task under pi_lock.&lt;/p&gt;
&lt;p&gt;Note to stable, this patch won&amp;#39;t be applicable to stable releases.
Just copy the new dup_user_cpus_ptr() function over.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-48892</guid>
    </item>
  </channel>
</rss>
