<?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>Tue, 29 Sep 2026 22:38:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53264 — net/sched: act_api: use RCU with deferred freeing for action lifecycle</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-53264</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;net/sched: act_api: use RCU with deferred freeing for action lifecycle&lt;/p&gt;
&lt;p&gt;When NEWTFILTER and DELFILTER are run concurrently it is possible to create a
race with an associated action.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s illustrate with CPU0 running NEWTFILTER and CPU1 running DELFILTER:&lt;/p&gt;
&lt;p&gt;0: mutex_lock() &amp;lt;-- holds the idr lock
 0: rcu_read_lock()
 0: p = idr_find(idr, index) &amp;lt;-- action p is valid (RCU protects IDR)
 0: mutex_unlock() &amp;lt;-- releases the idr lock
 1: refcount_dec_and_mutex_lock() &amp;lt;-- refcnt 1-&amp;gt;0, mutex held
 1: idr_remove(idr, index) &amp;lt;-- Action removed from IDR
 1: mutex_unlock() &amp;lt;-- mutex released allowing us to delete the action
 1: tcf_action_cleanup(p); kfree(p) &amp;lt;-- Kfrees p immediately, no deferral
 0: refcount_inc_not_zero(&amp;amp;p-&amp;gt;tcfa_refcnt) &amp;lt;-- ouch, UAF p points to freed memory&lt;/p&gt;
&lt;p&gt;This patch fixes the race condition between NEWTFILTER and DELFILTER by
adding struct rcu_head to tc_action used in the deferral and introducing a
call_rcu() in the delete path to defer the final kfree().&lt;/p&gt;
&lt;p&gt;Note: this is a revert of commit d7fb60b9cafb (&amp;#34;net_sched: get rid of tcfa_rcu&amp;#34;)
but also modernization/simplification to directly use kfree_rcu().&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s illustrate the new restored code path:&lt;/p&gt;
&lt;p&gt;0: rcu_read_lock()
 1: refcount_dec_and_mutex_lock() &amp;lt;-- refcnt 1-&amp;gt;0, mutex held
 1: idr_remove(idr, index)
 1: mutex_unlock()
 1: call_rcu(&amp;amp;p-&amp;gt;tcfa_rcu, tcf_action_rcu_free) &amp;lt;-- defer kfree after grace period
 0: p = idr_find(idr, index)
 0: refcoun…&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;net/sched: act_api: use RCU with deferred freeing for action lifecycle&lt;/p&gt;
&lt;p&gt;When NEWTFILTER and DELFILTER are run concurrently it is possible to create a
race with an associated action.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s illustrate with CPU0 running NEWTFILTER and CPU1 running DELFILTER:&lt;/p&gt;
&lt;p&gt;0: mutex_lock() &amp;lt;-- holds the idr lock
 0: rcu_read_lock()
 0: p = idr_find(idr, index) &amp;lt;-- action p is valid (RCU protects IDR)
 0: mutex_unlock() &amp;lt;-- releases the idr lock
 1: refcount_dec_and_mutex_lock() &amp;lt;-- refcnt 1-&amp;gt;0, mutex held
 1: idr_remove(idr, index) &amp;lt;-- Action removed from IDR
 1: mutex_unlock() &amp;lt;-- mutex released allowing us to delete the action
 1: tcf_action_cleanup(p); kfree(p) &amp;lt;-- Kfrees p immediately, no deferral
 0: refcount_inc_not_zero(&amp;amp;p-&amp;gt;tcfa_refcnt) &amp;lt;-- ouch, UAF p points to freed memory&lt;/p&gt;
&lt;p&gt;This patch fixes the race condition between NEWTFILTER and DELFILTER by
adding struct rcu_head to tc_action used in the deferral and introducing a
call_rcu() in the delete path to defer the final kfree().&lt;/p&gt;
&lt;p&gt;Note: this is a revert of commit d7fb60b9cafb (&amp;#34;net_sched: get rid of tcfa_rcu&amp;#34;)
but also modernization/simplification to directly use kfree_rcu().&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s illustrate the new restored code path:&lt;/p&gt;
&lt;p&gt;0: rcu_read_lock()
 1: refcount_dec_and_mutex_lock() &amp;lt;-- refcnt 1-&amp;gt;0, mutex held
 1: idr_remove(idr, index)
 1: mutex_unlock()
 1: call_rcu(&amp;amp;p-&amp;gt;tcfa_rcu, tcf_action_rcu_free) &amp;lt;-- defer kfree after grace period
 0: p = idr_find(idr, index)
 0: refcoun…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-53264</guid>
    </item>
  </channel>
</rss>
