<?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, 08 Oct 2026 19:49:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21702 — pfifo_tail_enqueue: Drop new packet when sch-&gt;limit == 0</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-21702</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;pfifo_tail_enqueue: Drop new packet when sch-&amp;gt;limit == 0&lt;/p&gt;
&lt;p&gt;Expected behaviour:
In case we reach scheduler&amp;#39;s limit, pfifo_tail_enqueue() will drop a
packet in scheduler&amp;#39;s queue and decrease scheduler&amp;#39;s qlen by one.
Then, pfifo_tail_enqueue() enqueue new packet and increase
scheduler&amp;#39;s qlen by one. Finally, pfifo_tail_enqueue() return
`NET_XMIT_CN` status code.&lt;/p&gt;
&lt;p&gt;Weird behaviour:
In case we set `sch-&amp;gt;limit == 0` and trigger pfifo_tail_enqueue() on a
scheduler that has no packet, the &amp;#39;drop a packet&amp;#39; step will do nothing.
This means the scheduler&amp;#39;s qlen still has value equal 0.
Then, we continue to enqueue new packet and increase scheduler&amp;#39;s qlen by
one. In summary, we can leverage pfifo_tail_enqueue() to increase qlen by
one and return `NET_XMIT_CN` status code.&lt;/p&gt;
&lt;p&gt;The problem is:
Let&amp;#39;s say we have two qdiscs: Qdisc_A and Qdisc_B.
 - Qdisc_A&amp;#39;s type must have &amp;#39;-&amp;gt;graft()&amp;#39; function to create parent/child relationship.
   Let&amp;#39;s say Qdisc_A&amp;#39;s type is `hfsc`. Enqueue packet to this qdisc will trigger `hfsc_enqueue`.
 - Qdisc_B&amp;#39;s type is pfifo_head_drop. Enqueue packet to this qdisc will trigger `pfifo_tail_enqueue`.
 - Qdisc_B is configured to have `sch-&amp;gt;limit == 0`.
 - Qdisc_A is configured to route the enqueued&amp;#39;s packet to Qdisc_B.&lt;/p&gt;
&lt;p&gt;Enqueue packet through Qdisc_A will lead to:
 - hfsc_enqueue(Qdisc_A) -&amp;gt; pfifo_tail_enqueue(Qdisc_B)
 - Qdisc_B-&amp;gt;q.qlen += 1
 - pfifo_tail_enqueue() return `NET_XMIT_CN`
 - hfsc_enqueue()…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;pfifo_tail_enqueue: Drop new packet when sch-&amp;gt;limit == 0&lt;/p&gt;
&lt;p&gt;Expected behaviour:
In case we reach scheduler&amp;#39;s limit, pfifo_tail_enqueue() will drop a
packet in scheduler&amp;#39;s queue and decrease scheduler&amp;#39;s qlen by one.
Then, pfifo_tail_enqueue() enqueue new packet and increase
scheduler&amp;#39;s qlen by one. Finally, pfifo_tail_enqueue() return
`NET_XMIT_CN` status code.&lt;/p&gt;
&lt;p&gt;Weird behaviour:
In case we set `sch-&amp;gt;limit == 0` and trigger pfifo_tail_enqueue() on a
scheduler that has no packet, the &amp;#39;drop a packet&amp;#39; step will do nothing.
This means the scheduler&amp;#39;s qlen still has value equal 0.
Then, we continue to enqueue new packet and increase scheduler&amp;#39;s qlen by
one. In summary, we can leverage pfifo_tail_enqueue() to increase qlen by
one and return `NET_XMIT_CN` status code.&lt;/p&gt;
&lt;p&gt;The problem is:
Let&amp;#39;s say we have two qdiscs: Qdisc_A and Qdisc_B.
 - Qdisc_A&amp;#39;s type must have &amp;#39;-&amp;gt;graft()&amp;#39; function to create parent/child relationship.
   Let&amp;#39;s say Qdisc_A&amp;#39;s type is `hfsc`. Enqueue packet to this qdisc will trigger `hfsc_enqueue`.
 - Qdisc_B&amp;#39;s type is pfifo_head_drop. Enqueue packet to this qdisc will trigger `pfifo_tail_enqueue`.
 - Qdisc_B is configured to have `sch-&amp;gt;limit == 0`.
 - Qdisc_A is configured to route the enqueued&amp;#39;s packet to Qdisc_B.&lt;/p&gt;
&lt;p&gt;Enqueue packet through Qdisc_A will lead to:
 - hfsc_enqueue(Qdisc_A) -&amp;gt; pfifo_tail_enqueue(Qdisc_B)
 - Qdisc_B-&amp;gt;q.qlen += 1
 - pfifo_tail_enqueue() return `NET_XMIT_CN`
 - hfsc_enqueue()…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-21702</guid>
    </item>
  </channel>
</rss>
