Skip to main content
Vulnerability Database/CVE-2026-98302

CVE-2026-98302: Linux Kernel FDDI Use-After-Free Vulnerability

CVE-2026-98302 is a use-after-free flaw in the Linux kernel FDDI skfp driver that causes NULL pointer dereference when setting MAC address on a down interface. This article covers technical details, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98302 Overview

CVE-2026-98302 is a NULL pointer dereference vulnerability in the Linux kernel's SysKonnect FDDI (skfp) network driver. The flaw resides in skfp_ctl_set_mac_address(), which calls ResetAdapter() unconditionally without first checking netif_running(). When a user sets the MAC address on an skfp interface that has never been brought up, the driver dereferences uninitialized transmit queue pointers, causing a kernel oops. Triggering the bug requires CAP_NET_ADMIN and local access. The issue was identified through automated driver testing against an emulated SysKonnect FDDI adapter under a KASAN-enabled 7.0.0 kernel.

Critical Impact

A local user with CAP_NET_ADMIN can crash the kernel by setting the MAC address on a down skfp FDDI interface, resulting in denial of service.

Affected Products

  • Linux kernel skfp SysKonnect FDDI network driver
  • Multiple stable kernel branches referenced in the upstream patch series
  • Systems with FDDI hardware or emulated FDDI adapters loading the skfp module

Discovery Timeline

  • 2026-10-06 - CVE CVE-2026-98302 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98302

Vulnerability Analysis

The vulnerability is a NULL pointer dereference [CWE-476] in the FDDI skfp driver's MAC address change path. When a caller invokes ndo_set_mac_address() on an skfp interface, skfp_ctl_set_mac_address() calls ResetAdapter() without checking whether the interface is running.

ResetAdapter() first invokes card_stop(), which sets smc->hw.hw_state to STOPPED. It then calls mac_drv_clear_tx_queue(), which iterates the transmit queues in smc->hw.fp.tx[] and reads queue->tx_curr_get at offset 0x10 on 64-bit systems.

On an interface that has never been opened, smc->hw.fp.tx[] is still zero-initialized because init_tx() is only reached through skfp_open() -> init_smt() -> init_fddi_driver() -> init_fplus() -> init_mac(). The hw_state guard inside mac_drv_clear_tx_queue() does not catch this condition because card_stop() has just set STOPPED. The loop proceeds and dereferences NULL.

Root Cause

The private device area allocated by alloc_fddidev() leaves the transmit and receive queue pointers NULL until skfp_open() populates them. skfp_ctl_set_mac_address() does not gate hardware operations on netif_running(), so a MAC address change on a down interface drives the adapter reset path through uninitialized state. mac_drv_clear_rx_queue() exhibits the same pattern for smc->hw.fp.rx[QUEUE_R1].

Attack Vector

A local user holding CAP_NET_ADMIN triggers the crash with a single command such as ip link set dev fddi0 address 02:00:00:00:00:01 while the interface is down. KASAN reports a null-ptr-deref inside mac_drv_clear_tx_queue+0x68/0x2c0 called from ResetAdapter() via skfp_ctl_set_mac_address() and netif_set_mac_address(). The result is a kernel oops and denial of service. Remote exploitation is not applicable because the attack vector is local and privileged.

See the upstream fix for the exact code change: Kernel Patch 438131e.

Detection Methods for CVE-2026-98302

Indicators of Compromise

  • Kernel oops entries referencing mac_drv_clear_tx_queue, ResetAdapter, and skfp_ctl_set_mac_address in dmesg or /var/log/kern.log.
  • KASAN reports of the form BUG: KASAN: null-ptr-deref in mac_drv_clear_tx_queue on hosts loading the skfp module.
  • Unexpected fddi interface state transitions correlated with ip link set ... address invocations by non-root processes holding CAP_NET_ADMIN.

Detection Strategies

  • Audit ndo_set_mac_address calls on FDDI interfaces using auditd rules that watch netlink socket writes from unprivileged accounts.
  • Monitor loaded kernel modules for skfp on production hosts where FDDI is not required and flag the presence as a reduction opportunity.
  • Alert on kernel crash dumps that contain the skfp module hash in the call stack.

Monitoring Recommendations

  • Forward kernel ring buffer events and crash reports to a centralized log store for correlation across hosts.
  • Track CAP_NET_ADMIN grants and container capability sets to limit which workloads can issue ip link configuration changes.
  • Review systemd kdump or kexec captures following any skfp-related oops to confirm root cause and patch status.

How to Mitigate CVE-2026-98302

Immediate Actions Required

  • Apply the upstream Linux kernel patch series referenced in the NVD entry to all affected stable branches.
  • Unload the skfp driver on systems that do not use FDDI hardware with modprobe -r skfp and blacklist the module.
  • Restrict CAP_NET_ADMIN to administrative accounts and remove the capability from container and service manifests that do not require network configuration.

Patch Information

The fix skips the adapter reset when the interface is down while leaving dev_addr_set() unconditional, so the new address is still recorded in dev->dev_addr. This mirrors the long-standing pattern in skge_set_mac_address() introduced by commit 2eb3e621c4e0. Upstream patches are available at Kernel Patch 5fd0f40, Kernel Patch 616ba18, Kernel Patch 731db61, Kernel Patch 7c8810c, Kernel Patch 822903e, Kernel Patch 835903b, and Kernel Patch d6f63fd.

Workarounds

  • Blacklist the skfp module on hosts without FDDI adapters to eliminate the attack surface entirely.
  • Avoid issuing ip link set dev <fddi_iface> address ... while the interface is down; bring the interface up with ip link set dev <fddi_iface> up before changing the MAC address.
  • Enforce least-privilege container capability profiles that drop CAP_NET_ADMIN for workloads that do not configure networking.
bash
# Configuration example
# Prevent the vulnerable driver from loading on hosts without FDDI hardware
echo 'blacklist skfp' | sudo tee /etc/modprobe.d/blacklist-skfp.conf
sudo modprobe -r skfp 2>/dev/null || true
sudo update-initramfs -u

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.