# CVE-2026-98302: net: fddi: skfp: fix NULL deref when setting the MAC address while down

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:45:59.718Z
- **Modified:** 2026-10-19T10:18:32.150Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 835903bea770ad96ab4322e18d98e00f8e0b39c3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5fd0f401b3eee95c93daa35ef99cb03d676031f0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 731db6110b3148331ed8d5d11a564bfd520721d9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 822903ed991971780db1db1be31a4f00e2b13e30; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 616ba18b2cfb72b7bea214bdd72df2485b2e37dc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d6f63fdb298d546a47790cb373db65462c264d04; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 438131e7ae847e907d345bf504d7e25585561b5c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: fddi: skfp: fix NULL deref when setting the MAC address while down

skfp\_ctl\_set\_mac\_address() calls ResetAdapter() unconditionally, without
checking netif\_running(). ResetAdapter() first calls card\_stop(), which
sets smc-\>hw.hw\_state to STOPPED, and then mac\_drv\_clear\_tx\_queue(),
which walks the two transmit queues:

	for (i = QUEUE\_S; i \<= QUEUE\_A0; i++) {
		queue = smc-\>hw.fp.tx\[i\] ;
		...
		t = queue-\>tx\_curr\_get ;

smc-\>hw.fp.tx\[\] is only populated by init\_tx(), which is reached from
skfp\_open() through init\_smt() -\> init\_fddi\_driver() -\> init\_fplus() -\>
init\_mac() -\> 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.

Setting the MAC address on a down interface therefore oopses:

  ip link set dev fddi0 address 02:00:00:00:00:01

  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:
   \<TASK\>
   mac\_drv\_clear\_tx\_queue+0x68/0x2c0 \[skfp 6c01d4bab63c36978bd0a7d7e90837adb44cc37b\]
   ResetAdapter+0x29/0x100 \[skfp 6c01d4bab63c36978bd0a7d7e90837adb44cc37b\]
   skfp\_ctl\_set\_mac\_address+0x57/0x80 \[skfp 6c01d4bab63c36978bd0a7d7e90837adb44cc37b\]
   netif\_set\_mac\_address+0x1e4/0x2c0
   do\_setlink+0x684/0x2680
   \</TASK\>

Address 0x10 is the offset of tx\_curr\_get, the third pointer in
struct s\_smt\_tx\_queue, on 64-bit. mac\_drv\_clear\_rx\_queue(), which
ResetAdapter() calls immediately afterwards, dereferences
smc-\>hw.fp.rx\[QUEUE\_R1\] in the same way behind the same ineffective
hw\_state test; the transmit queue merely crashes first. Both are
covered by the guard below.

Skip the adapter reset when the interface is down. dev\_addr\_set() is
left unconditional, so the new address is still recorded in
dev-\>dev\_addr. Nothing is lost by not resetting the adapter here:
skfp\_open() deliberately re-reads the factory address on every open,

	read\_address(smc, NULL);
	eth\_hw\_addr\_set(dev, smc-\>hw.fddi\_canon\_addr.a);

and the comment above it states this is done to discard exactly such an
address override across a close/open cycle. An address set while the
interface is down could not have survived the following open even
before this change, so the guard removes no working behaviour. Guarding
the hardware side of ndo\_set\_mac\_address() with netif\_running() is
established practice; skge\_set\_mac\_address() has done so since commit
2eb3e621c4e0 ("skge: set mac address bonding fix").

Guarding the reset as a whole, rather than NULL-checking the queues, is
also what the rest of the driver expects. After a previous open/close
the queue pointers are stale but non-NULL, so there is no crash, yet
ResetAdapter() goes on to call smt\_online() and STI\_FBI() ("Enable
Board Interrupts") while skfp\_close() has already called free\_irq() -
the adapter would be brought back online with no handler installed. The
only other ResetAdapter() caller is skfp\_interrupt(), which by
construction runs only while the device is open.

Found by automated driver testing against an emulated SysKonnect FDDI
adapter under a KASAN-enabled 7.0.0 kernel. Triggering it requires
CAP\_NET\_ADMIN.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 835903bea770ad96ab4322e18d98e00f8e0b39c3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5fd0f401b3eee95c93daa35ef99cb03d676031f0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 731db6110b3148331ed8d5d11a564bfd520721d9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 822903ed991971780db1db1be31a4f00e2b13e30; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 616ba18b2cfb72b7bea214bdd72df2485b2e37dc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d6f63fdb298d546a47790cb373db65462c264d04; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 438131e7ae847e907d345bf504d7e25585561b5c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98302. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98302.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 835903bea770ad96ab4322e18d98e00f8e0b39c3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5fd0f401b3eee95c93daa35ef99cb03d676031f0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 731db6110b3148331ed8d5d11a564bfd520721d9; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 835903bea770ad96ab4322e18d98e00f8e0b39c3, Linux 5fd0f401b3eee95c93daa35ef99cb03d676031f0, Linux 731db6110b3148331ed8d5d11a564bfd520721d9, Linux 822903ed991971780db1db1be31a4f00e2b13e30, Linux 616ba18b2cfb72b7bea214bdd72df2485b2e37dc, Linux 438131e7ae847e907d345bf504d7e25585561b5c, Linux 7c881…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98302 being exploited?

There is no confirmed exploitation: CVE-2026-98302 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98302?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98302?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 835903bea770ad96ab4322e18d98e00f8e0b39c3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5fd0f401b3eee95c93daa35ef99cb03d676031f0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 731db6110b3148331ed8d5d11a564bfd520721d9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 822903ed991971780db1db1be31a4f00e2b13e30; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 616ba18b2cfb72b7bea214bdd72df2485b2e37dc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d6f63fdb298d546a47790cb373db65462c264d04; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 438131e7ae847e907d345bf504d7e25585561b5c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1; Linux 2.6.12.

### Is there a fix for CVE-2026-98302?

Yes. Fixed in Linux 835903bea770ad96ab4322e18d98e00f8e0b39c3, Linux 5fd0f401b3eee95c93daa35ef99cb03d676031f0, Linux 731db6110b3148331ed8d5d11a564bfd520721d9, Linux 822903ed991971780db1db1be31a4f00e2b13e30, Linux 616ba18b2cfb72b7bea214bdd72df2485b2e37dc, Linux 438131e7ae847e907d345bf504d7e25585561b5c, Linux 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1. Upgrade Linux to 7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1 or later.

### How do I check if I'm affected by CVE-2026-98302?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/835903bea770ad96ab4322e18d98e00f8e0b39c3>
- other: <https://git.kernel.org/stable/c/5fd0f401b3eee95c93daa35ef99cb03d676031f0>
- other: <https://git.kernel.org/stable/c/731db6110b3148331ed8d5d11a564bfd520721d9>
- other: <https://git.kernel.org/stable/c/822903ed991971780db1db1be31a4f00e2b13e30>
- other: <https://git.kernel.org/stable/c/616ba18b2cfb72b7bea214bdd72df2485b2e37dc>
- other: <https://git.kernel.org/stable/c/d6f63fdb298d546a47790cb373db65462c264d04>
- other: <https://git.kernel.org/stable/c/438131e7ae847e907d345bf504d7e25585561b5c>
- other: <https://git.kernel.org/stable/c/7c8810c2e69c3d9ca6df870b40ae9218e50b4fb1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98302>

HTML: <https://flawdb.com/CVE-2026-98302> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98302>
