<?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>Tue, 06 Oct 2026 22:06:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-53218 — f2fs: fix race in concurrent f2fs_stop_gc_thread</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-53218</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;f2fs: fix race in concurrent f2fs_stop_gc_thread&lt;/p&gt;
&lt;p&gt;In my test case, concurrent calls to f2fs shutdown report the following
stack trace:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address 0xc6cfff63bb5513fc: 0000 [#1] PREEMPT SMP PTI
 CPU: 0 UID: 0 PID: 678 Comm: f2fs_rep_shutdo Not tainted 6.12.0-rc5-next-20241029-g6fb2fa9805c5-dirty #85
 Call Trace:
  &amp;lt;TASK&amp;gt;
  ? show_regs+0x8b/0xa0
  ? __die_body+0x26/0xa0
  ? die_addr+0x54/0x90
  ? exc_general_protection+0x24b/0x5c0
  ? asm_exc_general_protection+0x26/0x30
  ? kthread_stop+0x46/0x390
  f2fs_stop_gc_thread+0x6c/0x110
  f2fs_do_shutdown+0x309/0x3a0
  f2fs_ioc_shutdown+0x150/0x1c0
  __f2fs_ioctl+0xffd/0x2ac0
  f2fs_ioctl+0x76/0xe0
  vfs_ioctl+0x23/0x60
  __x64_sys_ioctl+0xce/0xf0
  x64_sys_call+0x2b1b/0x4540
  do_syscall_64+0xa7/0x240
  entry_SYSCALL_64_after_hwframe+0x76/0x7e&lt;/p&gt;
&lt;p&gt;The root cause is a race condition in f2fs_stop_gc_thread() called from
different f2fs shutdown paths:&lt;/p&gt;
&lt;p&gt;[CPU0]                       [CPU1]
  ----------------------       -----------------------
  f2fs_stop_gc_thread          f2fs_stop_gc_thread
                                 gc_th = sbi-&amp;gt;gc_thread
    gc_th = sbi-&amp;gt;gc_thread
    kfree(gc_th)
    sbi-&amp;gt;gc_thread = NULL
                                 &amp;lt; gc_th != NULL &amp;gt;
                                 kthread_stop(gc_th-&amp;gt;f2fs_gc_task) //UAF&lt;/p&gt;
&lt;p&gt;The commit c7f114d864ac (&amp;#34;f2fs: fix to avoid use-after-free in
f2fs_stop_gc…&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;f2fs: fix race in concurrent f2fs_stop_gc_thread&lt;/p&gt;
&lt;p&gt;In my test case, concurrent calls to f2fs shutdown report the following
stack trace:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address 0xc6cfff63bb5513fc: 0000 [#1] PREEMPT SMP PTI
 CPU: 0 UID: 0 PID: 678 Comm: f2fs_rep_shutdo Not tainted 6.12.0-rc5-next-20241029-g6fb2fa9805c5-dirty #85
 Call Trace:
  &amp;lt;TASK&amp;gt;
  ? show_regs+0x8b/0xa0
  ? __die_body+0x26/0xa0
  ? die_addr+0x54/0x90
  ? exc_general_protection+0x24b/0x5c0
  ? asm_exc_general_protection+0x26/0x30
  ? kthread_stop+0x46/0x390
  f2fs_stop_gc_thread+0x6c/0x110
  f2fs_do_shutdown+0x309/0x3a0
  f2fs_ioc_shutdown+0x150/0x1c0
  __f2fs_ioctl+0xffd/0x2ac0
  f2fs_ioctl+0x76/0xe0
  vfs_ioctl+0x23/0x60
  __x64_sys_ioctl+0xce/0xf0
  x64_sys_call+0x2b1b/0x4540
  do_syscall_64+0xa7/0x240
  entry_SYSCALL_64_after_hwframe+0x76/0x7e&lt;/p&gt;
&lt;p&gt;The root cause is a race condition in f2fs_stop_gc_thread() called from
different f2fs shutdown paths:&lt;/p&gt;
&lt;p&gt;[CPU0]                       [CPU1]
  ----------------------       -----------------------
  f2fs_stop_gc_thread          f2fs_stop_gc_thread
                                 gc_th = sbi-&amp;gt;gc_thread
    gc_th = sbi-&amp;gt;gc_thread
    kfree(gc_th)
    sbi-&amp;gt;gc_thread = NULL
                                 &amp;lt; gc_th != NULL &amp;gt;
                                 kthread_stop(gc_th-&amp;gt;f2fs_gc_task) //UAF&lt;/p&gt;
&lt;p&gt;The commit c7f114d864ac (&amp;#34;f2fs: fix to avoid use-after-free in
f2fs_stop_gc…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-53218</guid>
    </item>
  </channel>
</rss>
