<?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 05:16:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21682 — eth: bnxt: always recalculate features after XDP clearing, fix null-deref</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-21682</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;eth: bnxt: always recalculate features after XDP clearing, fix null-deref&lt;/p&gt;
&lt;p&gt;Recalculate features when XDP is detached.&lt;/p&gt;
&lt;p&gt;Before:
  # ip li set dev eth0 xdp obj xdp_dummy.bpf.o sec xdp
  # ip li set dev eth0 xdp off
  # ethtool -k eth0 | grep gro
  rx-gro-hw: off [requested on]&lt;/p&gt;
&lt;p&gt;After:
  # ip li set dev eth0 xdp obj xdp_dummy.bpf.o sec xdp
  # ip li set dev eth0 xdp off
  # ethtool -k eth0 | grep gro
  rx-gro-hw: on&lt;/p&gt;
&lt;p&gt;The fact that HW-GRO doesn&amp;#39;t get re-enabled automatically is just
a minor annoyance. The real issue is that the features will randomly
come back during another reconfiguration which just happens to invoke
netdev_update_features(). The driver doesn&amp;#39;t handle reconfiguring
two things at a time very robustly.&lt;/p&gt;
&lt;p&gt;Starting with commit 98ba1d931f61 (&amp;#34;bnxt_en: Fix RSS logic in
__bnxt_reserve_rings()&amp;#34;) we only reconfigure the RSS hash table
if the &amp;#34;effective&amp;#34; number of Rx rings has changed. If HW-GRO is
enabled &amp;#34;effective&amp;#34; number of rings is 2x what user sees.
So if we are in the bad state, with HW-GRO re-enablement &amp;#34;pending&amp;#34;
after XDP off, and we lower the rings by / 2 - the HW-GRO rings
doing 2x and the ethtool -L doing / 2 may cancel each other out,
and the:&lt;/p&gt;
&lt;p&gt;if (old_rx_rings != bp-&amp;gt;hw_resc.resv_rx_rings &amp;amp;&amp;amp;&lt;/p&gt;
&lt;p&gt;condition in __bnxt_reserve_rings() will be false.
The RSS map won&amp;#39;t get updated, and we&amp;#39;ll crash with:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000168
  RIP: 0010:__bnxt_hwrm_vni…&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;eth: bnxt: always recalculate features after XDP clearing, fix null-deref&lt;/p&gt;
&lt;p&gt;Recalculate features when XDP is detached.&lt;/p&gt;
&lt;p&gt;Before:
  # ip li set dev eth0 xdp obj xdp_dummy.bpf.o sec xdp
  # ip li set dev eth0 xdp off
  # ethtool -k eth0 | grep gro
  rx-gro-hw: off [requested on]&lt;/p&gt;
&lt;p&gt;After:
  # ip li set dev eth0 xdp obj xdp_dummy.bpf.o sec xdp
  # ip li set dev eth0 xdp off
  # ethtool -k eth0 | grep gro
  rx-gro-hw: on&lt;/p&gt;
&lt;p&gt;The fact that HW-GRO doesn&amp;#39;t get re-enabled automatically is just
a minor annoyance. The real issue is that the features will randomly
come back during another reconfiguration which just happens to invoke
netdev_update_features(). The driver doesn&amp;#39;t handle reconfiguring
two things at a time very robustly.&lt;/p&gt;
&lt;p&gt;Starting with commit 98ba1d931f61 (&amp;#34;bnxt_en: Fix RSS logic in
__bnxt_reserve_rings()&amp;#34;) we only reconfigure the RSS hash table
if the &amp;#34;effective&amp;#34; number of Rx rings has changed. If HW-GRO is
enabled &amp;#34;effective&amp;#34; number of rings is 2x what user sees.
So if we are in the bad state, with HW-GRO re-enablement &amp;#34;pending&amp;#34;
after XDP off, and we lower the rings by / 2 - the HW-GRO rings
doing 2x and the ethtool -L doing / 2 may cancel each other out,
and the:&lt;/p&gt;
&lt;p&gt;if (old_rx_rings != bp-&amp;gt;hw_resc.resv_rx_rings &amp;amp;&amp;amp;&lt;/p&gt;
&lt;p&gt;condition in __bnxt_reserve_rings() will be false.
The RSS map won&amp;#39;t get updated, and we&amp;#39;ll crash with:&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000168
  RIP: 0010:__bnxt_hwrm_vni…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-21682</guid>
    </item>
  </channel>
</rss>
