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

CVE-2026-97511: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-97511 is a buffer overflow flaw in the Linux kernel mac80211 subsystem that causes out-of-bounds memory access during NAN frame transmission. This post covers the technical details, affected versions, and steps to mitigate this vulnerability.

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

CVE-2026-97511 is an out-of-bounds array access vulnerability in the Linux kernel mac80211 wireless subsystem. The flaw occurs in the monitor mode code path when handling Neighbor Awareness Networking (NAN) frames. Because NAN does not know in advance which band a frame will be transmitted on, the kernel sets info->band to the sentinel value NUM_NL80211_BANDS. The function ieee80211_add_tx_radiotap_header then uses this value as an index into the sbands array, resulting in an out-of-bounds read.

Critical Impact

An out-of-bounds array access in the kernel's wireless stack can cause memory corruption or kernel crashes when NAN frames are observed in monitor mode.

Affected Products

  • Linux kernel versions containing the vulnerable mac80211 NAN monitor code path
  • Distributions shipping affected upstream kernels prior to the fix commits 03c41203 and 7f087f70
  • Wireless drivers that rely on mac80211 and support NAN with monitor interfaces

Discovery Timeline

  • 2026-09-24 - CVE-2026-97511 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-97511

Vulnerability Analysis

The vulnerability resides in ieee80211_add_tx_radiotap_header within the Linux kernel mac80211 subsystem. When transmitting NAN frames, the stack cannot determine the target band ahead of time. As a workaround, the code assigns info->band = NUM_NL80211_BANDS, which is the count of valid band enum values rather than a valid index.

Downstream code uses info->band to index into the sbands array of supported band descriptors. Reading past the final valid entry produces an out-of-bounds access [CWE-125]. In monitor mode, where the kernel builds a radiotap header to describe outgoing frames to packet capture consumers, this incorrect index path is reached during normal operation.

The upstream fix skips the array lookup entirely when info->band equals NUM_NL80211_BANDS. The tradeoff is that rate information for legacy NAN rates is no longer reported in the radiotap header, which maintainers describe as an acceptable loss of telemetry.

Root Cause

The root cause is the use of a sentinel value (NUM_NL80211_BANDS) as a real array index without a guard. The function assumed info->band always referenced a valid band entry in sbands. NAN broke that assumption by legitimately setting an out-of-range value.

Attack Vector

Exploitation requires a system running an affected kernel with a NAN-capable wireless interface configured in monitor mode. The vulnerable path is triggered by transmitting NAN frames while monitor capture is active. The issue is a local kernel reliability and memory safety defect; no remote network exploitation vector is described in the upstream advisory.

The vulnerability is documented in the upstream fix. See the Linux Kernel Commit 03c4120 and Linux Kernel Commit 7f087f7 for the complete patch.

Detection Methods for CVE-2026-97511

Indicators of Compromise

  • Unexpected kernel oops or warnings referencing ieee80211_add_tx_radiotap_header or mac80211 in dmesg and /var/log/kern.log.
  • KASAN splats reporting out-of-bounds reads in the wireless subsystem on systems with NAN activity.
  • Wireless interface instability or driver resets observed on hosts running packet capture against NAN-capable radios.

Detection Strategies

  • Inventory kernel versions across Linux endpoints and compare against the fix commits 03c41203 and 7f087f70 to identify unpatched hosts.
  • Monitor for processes enabling monitor mode on wireless interfaces, especially on devices that also expose NAN functionality.
  • Correlate wireless driver crashes with recent configuration changes to monitor or sniffer tooling.

Monitoring Recommendations

  • Centralize kernel log collection to catch intermittent mac80211 warnings and KASAN reports.
  • Alert on repeated kernel subsystem crashes tied to the same hardware or driver module.
  • Track package and kernel update status across the Linux fleet to confirm patch deployment.

How to Mitigate CVE-2026-97511

Immediate Actions Required

  • Apply the upstream kernel patches referenced by commits 03c41203 and 7f087f70 as soon as distribution builds are available.
  • Prioritize patching on hosts that use NAN-capable wireless hardware or run wireless monitoring tools.
  • Restrict administrative access required to place wireless interfaces into monitor mode to trusted operators only.

Patch Information

The fix adds a guard in ieee80211_add_tx_radiotap_header that avoids indexing sbands when info->band equals NUM_NL80211_BANDS. The patches are available in the upstream stable tree via Linux Kernel Commit 03c4120 and Linux Kernel Commit 7f087f7. Follow your distribution's advisory channel for the backported kernel packages.

Workarounds

  • Disable monitor mode on wireless interfaces that are also used for NAN until the patched kernel is deployed.
  • Unload or blacklist NAN support in affected wireless drivers if your workload does not require it.
  • Avoid running untrusted packet capture tooling against NAN-capable radios on unpatched kernels.

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.