<?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://db.gcve.eu</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>Sun, 01 Nov 2026 22:51:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98567 — net: xps: reject an out of range traffic class</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98567</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: xps: reject an out of range traffic class&lt;/p&gt;
&lt;p&gt;Only the entries below dev-&amp;gt;num_tc are valid in dev-&amp;gt;tc_to_txq[], and
dev-&amp;gt;prio_tc_map[] may only name classes below it. netdev_set_num_tc()
lowers dev-&amp;gt;num_tc without touching either array.&lt;/p&gt;
&lt;p&gt;netdev_txq_to_tc() walks all TC_MAX_QUEUE slots and
netdev_get_prio_tc_map() returns the entry as it stands, so a leftover
entry is handed out as a traffic class &amp;gt;= dev-&amp;gt;num_tc. Taking that
class from netdev_txq_to_tc(), __netif_set_xps_queue() rejects only a
negative one and indexes an XPS map sized for dev-&amp;gt;num_tc classes:&lt;/p&gt;
&lt;p&gt;tci = j * num_tc + tc;
	RCU_INIT_POINTER(new_dev_maps-&amp;gt;attr_map[tci], map);&lt;/p&gt;
&lt;p&gt;attr_map[] holds nr_ids * num_tc entries and j runs over the ids named
in the mask, so a class that is not below num_tc pushes tci past the end
of the map for the last ids and the store overruns it.&lt;/p&gt;
&lt;p&gt;Any caller that lowers num_tc leaves such entries behind, and
mqprio_destroy() tears down with netdev_set_num_tc(dev, 0) rather than
netdev_reset_tc(). After mqprio with 8 classes then 1, tc_to_txq[1..7]
still describe txq 1..7. The splat is from an XPS write to txq 2 on a
veth with 8 rx queues: attr_map[] has 8 * 1 entries, tci = j + 2, and
j == 6 stores one past the end of the 88-byte map:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue (net/core/dev.c:2954)
  Write of size 8 at addr ffff88813016bc58 by task xps_oob/634
   __netif_set_xps_queue (net/core/dev.c:2954…&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: xps: reject an out of range traffic class&lt;/p&gt;
&lt;p&gt;Only the entries below dev-&amp;gt;num_tc are valid in dev-&amp;gt;tc_to_txq[], and
dev-&amp;gt;prio_tc_map[] may only name classes below it. netdev_set_num_tc()
lowers dev-&amp;gt;num_tc without touching either array.&lt;/p&gt;
&lt;p&gt;netdev_txq_to_tc() walks all TC_MAX_QUEUE slots and
netdev_get_prio_tc_map() returns the entry as it stands, so a leftover
entry is handed out as a traffic class &amp;gt;= dev-&amp;gt;num_tc. Taking that
class from netdev_txq_to_tc(), __netif_set_xps_queue() rejects only a
negative one and indexes an XPS map sized for dev-&amp;gt;num_tc classes:&lt;/p&gt;
&lt;p&gt;tci = j * num_tc + tc;
	RCU_INIT_POINTER(new_dev_maps-&amp;gt;attr_map[tci], map);&lt;/p&gt;
&lt;p&gt;attr_map[] holds nr_ids * num_tc entries and j runs over the ids named
in the mask, so a class that is not below num_tc pushes tci past the end
of the map for the last ids and the store overruns it.&lt;/p&gt;
&lt;p&gt;Any caller that lowers num_tc leaves such entries behind, and
mqprio_destroy() tears down with netdev_set_num_tc(dev, 0) rather than
netdev_reset_tc(). After mqprio with 8 classes then 1, tc_to_txq[1..7]
still describe txq 1..7. The splat is from an XPS write to txq 2 on a
veth with 8 rx queues: attr_map[] has 8 * 1 entries, tci = j + 2, and
j == 6 stores one past the end of the 88-byte map:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue (net/core/dev.c:2954)
  Write of size 8 at addr ffff88813016bc58 by task xps_oob/634
   __netif_set_xps_queue (net/core/dev.c:2954…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98567</guid>
    </item>
  </channel>
</rss>
