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

CVE-2026-98810: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-98810 is a buffer overflow flaw in the Linux kernel's mac80211 WiFi subsystem that causes slab-out-of-bounds reads when processing network packets. This article covers technical details, affected systems, and fixes.

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-98810 Overview

CVE-2026-98810 is an out-of-bounds read vulnerability in the Linux kernel's mac80211 wireless subsystem. The flaw resides in ieee80211_monitor_select_queue(), which validates skb length using skb->len before dereferencing pointers into skb->data to access the 802.11 header. Because skb->len includes both linear head buffer data and non-linear fragments, an AF_PACKET sender can craft a packet that becomes non-linear, causing the kernel to read past the allocated linear head buffer when accessing hdr->frame_control. The same class of bug affects ieee80211_validate_radiotap_len() and corresponding checks in ieee80211_monitor_start_xmit(). The issue was reproduced by syzbot.

Critical Impact

A local unprivileged user with AF_PACKET socket access on a system exposing a wireless monitor interface can trigger a slab-out-of-bounds read in the kernel, enabling denial of service and potential information disclosure from adjacent slab memory.

Affected Products

  • Linux kernel mac80211 subsystem (versions prior to the fix commits)
  • Distributions shipping unpatched upstream mac80211 wireless stack
  • Systems with wireless drivers advertising NETIF_F_SG and exposing monitor-mode interfaces

Discovery Timeline

  • 2026-10-18 - CVE-2026-98810 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98810

Vulnerability Analysis

The vulnerability occurs in the Linux kernel wireless stack when handling socket buffers (skbs) submitted via AF_PACKET to a monitor-mode wireless interface. The function ieee80211_monitor_select_queue() reads the 802.11 header at offset len_rthdr into skb->data to determine the appropriate transmit queue. Before the fix, the length check used skb->len, which represents the total payload length across both the linear head buffer and any paged or fragmented data.

When a userspace program sends a large enough packet, the skb becomes non-linear and the 802.11 header can reside beyond the linear buffer. The kernel then dereferences hdr->frame_control outside the allocated head, triggering a KASAN slab-out-of-bounds report. The same bug class exists in ieee80211_validate_radiotap_len() and ieee80211_monitor_start_xmit() because drivers that advertise NETIF_F_SG do not linearize the skb before ndo_start_xmit.

Root Cause

The root cause is incorrect use of skb->len as a bound for accessing data in the linear portion of the skb. skb->len includes non-linear fragments, so it does not guarantee that bytes are present in the contiguous head buffer pointed to by skb->data. The correct accessor is skb_headlen(skb), which returns only the length of the linear data region.

Attack Vector

An attacker with the ability to open an AF_PACKET socket and transmit through a monitor-mode wireless interface can craft a frame whose radiotap header offset places the 802.11 header beyond the linear skb buffer. Submitting the frame invokes the vulnerable queue selection and transmit code paths, triggering the out-of-bounds read. The attack is local and requires access to a wireless device exposed as a monitor interface. No verified public exploit code is available; the issue was discovered through syzbot fuzzing.

The fix replaces skb->len checks with skb_headlen(skb) in the affected functions, ensuring that required bytes exist in the linear head buffer before dereferencing pointers into skb->data.

Detection Methods for CVE-2026-98810

Indicators of Compromise

  • KASAN kernel log entries containing BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue
  • Kernel oops or warning traces referencing ieee80211_validate_radiotap_len or ieee80211_monitor_start_xmit
  • Unexpected crashes or soft lockups on hosts exposing wireless monitor-mode interfaces

Detection Strategies

  • Audit running kernel versions against the patched commits 63e7064b4c1c and 6f63e919fe1e in the stable tree
  • Monitor for unprivileged processes opening AF_PACKET sockets bound to wireless monitor interfaces
  • Enable KASAN on test and canary systems to surface out-of-bounds reads in the mac80211 path

Monitoring Recommendations

  • Collect and centralize dmesg and /var/log/kern.log output to a security data lake for correlation of KASAN and oops events
  • Alert on sudden spikes in wireless driver errors or kernel warnings tied to mac80211
  • Track package versions of the kernel and linux-firmware across the fleet to confirm patch coverage

How to Mitigate CVE-2026-98810

Immediate Actions Required

  • Apply the upstream stable kernel updates containing commits 63e7064b4c1c4b540bf2f0cba47384f92ab95307 and 6f63e919fe1e335b8abcb3a28bfd4804a98d875a
  • Rebuild or install distribution kernel packages that include the mac80211 fix and reboot affected hosts
  • Restrict CAP_NET_RAW and AF_PACKET socket creation to trusted users where feasible

Patch Information

The fix replaces skb->len validation with skb_headlen(skb) in ieee80211_monitor_select_queue(), ieee80211_validate_radiotap_len(), and ieee80211_monitor_start_xmit(). See the upstream patches: Kernel commit 63e7064b4c1c and Kernel commit 6f63e919fe1e. Distribution-specific advisories should be consulted for backported release details.

Workarounds

  • Remove or unload wireless drivers that expose monitor-mode interfaces on hosts that do not require them
  • Avoid creating monitor-mode (iw dev ... interface add ... type monitor) interfaces until the kernel is patched
  • Use user namespace and capability restrictions to prevent untrusted users from obtaining CAP_NET_RAW
bash
# Verify running kernel and remove unused monitor interfaces
uname -r
iw dev | awk '/Interface/ {iface=$2} /type monitor/ {print iface}' \
  | xargs -r -n1 iw dev del
# Restrict AF_PACKET for unprivileged users via seccomp or LSM policy

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.