<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-17T21:06:03.482538+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-98302</id>
    <title>CVE-2026-98302 — net: fddi: skfp: fix NULL deref when setting the MAC address while down</title>
    <updated>2026-10-17T21:06:03.492225+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>net: fddi: skfp: fix NULL deref when setting the MAC address while down</p>
<p>skfp_ctl_set_mac_address() calls ResetAdapter() unconditionally, without
checking netif_running(). ResetAdapter() first calls card_stop(), which
sets smc-&gt;hw.hw_state to STOPPED, and then mac_drv_clear_tx_queue(),
which walks the two transmit queues:</p>
<p>for (i = QUEUE_S; i &lt;= QUEUE_A0; i++) {
		queue = smc-&gt;hw.fp.tx[i] ;
		...
		t = queue-&gt;tx_curr_get ;</p>
<p>smc-&gt;hw.fp.tx[] is only populated by init_tx(), which is reached from
skfp_open() through init_smt() -&gt; init_fddi_driver() -&gt; init_fplus() -&gt;
init_mac() -&gt; init_tx(). The private area is allocated and zeroed by
alloc_fddidev(), so on an interface that has never been brought up both
queue pointers are still NULL. The hw_state test at the top of
mac_drv_clear_tx_queue() does not catch this, because card_stop() has
just set STOPPED; the function proceeds into the loop and dereferences
NULL. ResetAdapter() does call init_smt() itself, but only after the
queues have been cleared.</p>
<p>Setting the MAC address on a down interface therefore oopses:</p>
<p>ip link set dev fddi0 address 02:00:00:00:00:01</p>
<p>BUG: KASAN: null-ptr-deref in mac_drv_clear_tx_queue+0x68/0x2c0 [skfp]
  Read of size 8 at addr 0000000000000010 by task ip/302
  Call Trace:
   &lt;TASK&gt;
   mac_drv_clear_tx_queue+0x68/0x2c0 [skfp 6c01d4bab63c36978bd0a7d7e90837adb44cc37b]
   ResetAdapter+0x29/0x100 [skfp 6c01d4bab63c36978bd0a7d7e90837ad…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-98302"/>
  </entry>
</feed>
