<?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>Thu, 01 Oct 2026 15:31:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-71066 — net/sched: ets: Always remove class from active list before deleting in ets_qdisc_change</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-71066</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: ets: Always remove class from active list before deleting in ets_qdisc_change&lt;/p&gt;
&lt;p&gt;zdi-disclosures@trendmicro.com says:&lt;/p&gt;
&lt;p&gt;The vulnerability is a race condition between `ets_qdisc_dequeue` and
`ets_qdisc_change`.  It leads to UAF on `struct Qdisc` object.
Attacker requires the capability to create new user and network namespace
in order to trigger the bug.
See my additional commentary at the end of the analysis.&lt;/p&gt;
&lt;p&gt;Analysis:&lt;/p&gt;
&lt;p&gt;static int ets_qdisc_change(struct Qdisc *sch, struct nlattr *opt,
                          struct netlink_ext_ack *extack)
{
...&lt;/p&gt;
&lt;p&gt;// (1) this lock is preventing .change handler (`ets_qdisc_change`)
      //to race with .dequeue handler (`ets_qdisc_dequeue`)
      sch_tree_lock(sch);&lt;/p&gt;
&lt;p&gt;for (i = nbands; i &amp;lt; oldbands; i++) {
              if (i &amp;gt;= q-&amp;gt;nstrict &amp;amp;&amp;amp; q-&amp;gt;classes[i].qdisc-&amp;gt;q.qlen)
                      list_del_init(&amp;amp;q-&amp;gt;classes[i].alist);
              qdisc_purge_queue(q-&amp;gt;classes[i].qdisc);
      }&lt;/p&gt;
&lt;p&gt;WRITE_ONCE(q-&amp;gt;nbands, nbands);
      for (i = nstrict; i &amp;lt; q-&amp;gt;nstrict; i++) {
              if (q-&amp;gt;classes[i].qdisc-&amp;gt;q.qlen) {
		      // (2) the class is added to the q-&amp;gt;active
                      list_add_tail(&amp;amp;q-&amp;gt;classes[i].alist, &amp;amp;q-&amp;gt;active);
                      q-&amp;gt;classes[i].deficit = quanta[i];
              }
      }
      WRITE_ONCE(q-&amp;gt;nstrict, nstrict);
      memcpy(q-&amp;gt;prio2band, priomap, sizeof(priomap));&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; q-&amp;gt;nbands; i++)…&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: ets: Always remove class from active list before deleting in ets_qdisc_change&lt;/p&gt;
&lt;p&gt;zdi-disclosures@trendmicro.com says:&lt;/p&gt;
&lt;p&gt;The vulnerability is a race condition between `ets_qdisc_dequeue` and
`ets_qdisc_change`.  It leads to UAF on `struct Qdisc` object.
Attacker requires the capability to create new user and network namespace
in order to trigger the bug.
See my additional commentary at the end of the analysis.&lt;/p&gt;
&lt;p&gt;Analysis:&lt;/p&gt;
&lt;p&gt;static int ets_qdisc_change(struct Qdisc *sch, struct nlattr *opt,
                          struct netlink_ext_ack *extack)
{
...&lt;/p&gt;
&lt;p&gt;// (1) this lock is preventing .change handler (`ets_qdisc_change`)
      //to race with .dequeue handler (`ets_qdisc_dequeue`)
      sch_tree_lock(sch);&lt;/p&gt;
&lt;p&gt;for (i = nbands; i &amp;lt; oldbands; i++) {
              if (i &amp;gt;= q-&amp;gt;nstrict &amp;amp;&amp;amp; q-&amp;gt;classes[i].qdisc-&amp;gt;q.qlen)
                      list_del_init(&amp;amp;q-&amp;gt;classes[i].alist);
              qdisc_purge_queue(q-&amp;gt;classes[i].qdisc);
      }&lt;/p&gt;
&lt;p&gt;WRITE_ONCE(q-&amp;gt;nbands, nbands);
      for (i = nstrict; i &amp;lt; q-&amp;gt;nstrict; i++) {
              if (q-&amp;gt;classes[i].qdisc-&amp;gt;q.qlen) {
		      // (2) the class is added to the q-&amp;gt;active
                      list_add_tail(&amp;amp;q-&amp;gt;classes[i].alist, &amp;amp;q-&amp;gt;active);
                      q-&amp;gt;classes[i].deficit = quanta[i];
              }
      }
      WRITE_ONCE(q-&amp;gt;nstrict, nstrict);
      memcpy(q-&amp;gt;prio2band, priomap, sizeof(priomap));&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; q-&amp;gt;nbands; i++)…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-71066</guid>
    </item>
  </channel>
</rss>
