<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T17:24:28.308944+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-37953</id>
    <title>CVE-2025-37953 — sch_htb: make htb_deactivate() idempotent</title>
    <updated>2026-10-04T17:24:28.994275+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>sch_htb: make htb_deactivate() idempotent</p>
<p>Alan reported a NULL pointer dereference in htb_next_rb_node()
after we made htb_qlen_notify() idempotent.</p>
<p>It turns out in the following case it introduced some regression:</p>
<p>htb_dequeue_tree():
  |-&gt; fq_codel_dequeue()
    |-&gt; qdisc_tree_reduce_backlog()
      |-&gt; htb_qlen_notify()
        |-&gt; htb_deactivate()
  |-&gt; htb_next_rb_node()
  |-&gt; htb_deactivate()</p>
<p>For htb_next_rb_node(), after calling the 1st htb_deactivate(), the
clprio[prio]-&gt;ptr could be already set to  NULL, which means
htb_next_rb_node() is vulnerable here.</p>
<p>For htb_deactivate(), although we checked qlen before calling it, in
case of qlen==0 after qdisc_tree_reduce_backlog(), we may call it again
which triggers the warning inside.</p>
<p>To fix the issues here, we need to:</p>
<p>1) Make htb_deactivate() idempotent, that is, simply return if we
   already call it before.
2) Make htb_next_rb_node() safe against ptr==NULL.</p>
<p>Many thanks to Alan for testing and for the reproducer.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-37953"/>
  </entry>
</feed>
