<?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>Sun, 04 Oct 2026 06:59:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23225 — sched/mmcid: Don't assume CID is CPU owned on mode switch</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23225</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/mmcid: Don&amp;#39;t assume CID is CPU owned on mode switch&lt;/p&gt;
&lt;p&gt;Shinichiro reported a KASAN UAF, which is actually an out of bounds access
in the MMCID management code.&lt;/p&gt;
&lt;p&gt;CPU0						CPU1
   						T1 runs in userspace
   T0: fork(T4) -&amp;gt; Switch to per CPU CID mode
         fixup() set MM_CID_TRANSIT on T1/CPU1
   T4 exit()
   T3 exit()
   T2 exit()
						T1 exit() switch to per task mode
						 ---&amp;gt; Out of bounds access.&lt;/p&gt;
&lt;p&gt;As T1 has not scheduled after T0 set the TRANSIT bit, it exits with the
TRANSIT bit set. sched_mm_cid_remove_user() clears the TRANSIT bit in
the task and drops the CID, but it does not touch the per CPU storage.
That&amp;#39;s functionally correct because a CID is only owned by the CPU when
the ONCPU bit is set, which is mutually exclusive with the TRANSIT flag.&lt;/p&gt;
&lt;p&gt;Now sched_mm_cid_exit() assumes that the CID is CPU owned because the
prior mode was per CPU. It invokes mm_drop_cid_on_cpu() which clears the
not set ONCPU bit and then invokes clear_bit() with an insanely large
bit number because TRANSIT is set (bit 29).&lt;/p&gt;
&lt;p&gt;Prevent that by actually validating that the CID is CPU owned in
mm_drop_cid_on_cpu().&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/mmcid: Don&amp;#39;t assume CID is CPU owned on mode switch&lt;/p&gt;
&lt;p&gt;Shinichiro reported a KASAN UAF, which is actually an out of bounds access
in the MMCID management code.&lt;/p&gt;
&lt;p&gt;CPU0						CPU1
   						T1 runs in userspace
   T0: fork(T4) -&amp;gt; Switch to per CPU CID mode
         fixup() set MM_CID_TRANSIT on T1/CPU1
   T4 exit()
   T3 exit()
   T2 exit()
						T1 exit() switch to per task mode
						 ---&amp;gt; Out of bounds access.&lt;/p&gt;
&lt;p&gt;As T1 has not scheduled after T0 set the TRANSIT bit, it exits with the
TRANSIT bit set. sched_mm_cid_remove_user() clears the TRANSIT bit in
the task and drops the CID, but it does not touch the per CPU storage.
That&amp;#39;s functionally correct because a CID is only owned by the CPU when
the ONCPU bit is set, which is mutually exclusive with the TRANSIT flag.&lt;/p&gt;
&lt;p&gt;Now sched_mm_cid_exit() assumes that the CID is CPU owned because the
prior mode was per CPU. It invokes mm_drop_cid_on_cpu() which clears the
not set ONCPU bit and then invokes clear_bit() with an insanely large
bit number because TRANSIT is set (bit 29).&lt;/p&gt;
&lt;p&gt;Prevent that by actually validating that the CID is CPU owned in
mm_drop_cid_on_cpu().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23225</guid>
    </item>
  </channel>
</rss>
