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

CVE-2026-93805: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-93805 is a buffer overflow flaw in the Linux kernel cfg80211 component that occurs when validating MLME callback frame lengths. Improper validation allows out-of-bounds memory access. This article covers technical details, affected versions, security impact, and mitigation strategies.

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

CVE-2026-93805 is an out-of-bounds read vulnerability in the Linux kernel's cfg80211 wireless configuration subsystem. The flaw resides in cfg80211_rx_mlme_mgmt() and cfg80211_tx_mlme_mgmt(), which validate frame length only against the frame-control field before dispatching to subtype handlers. Subtype handlers such as cfg80211_process_deauth() assume fixed fields are present and read u.deauth.reason_code at offset 24. A 24-byte management header with no reason-code body triggers a two-byte read past the buffer. The in-tree mwifiex driver can produce such frames through mwifiex_process_mgmt_packet().

Critical Impact

A malformed 802.11 management frame delivered through a vulnerable wireless driver can trigger an out-of-bounds kernel memory read, potentially leading to information disclosure or system instability.

Affected Products

  • Linux kernel cfg80211 wireless subsystem
  • Systems using the mwifiex wireless driver (concrete in-tree trigger path)
  • Any wireless driver invoking cfg80211_rx_mlme_mgmt() or cfg80211_tx_mlme_mgmt() with insufficient frame validation

Discovery Timeline

  • 2026-09-24 - CVE-2026-93805 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93805

Vulnerability Analysis

The vulnerability is an out-of-bounds read [CWE-125] in the Linux kernel's cfg80211 MLME callback path. cfg80211_rx_mlme_mgmt() and cfg80211_tx_mlme_mgmt() emit tracepoints before any length validation, then enforce only len >= 2 to guard access to the frame-control field. After that gate, control passes to subtype handlers that assume the full fixed-field layout for the frame subtype is present.

The cfg80211_process_deauth() handler reads u.deauth.reason_code as a two-byte access at offset 24. If a management frame contains only a 24-byte 3-address header with no body, the handler reads two bytes immediately past the end of the buffer. The existing WARN_ON(len < 2) provided no coverage for subtype-specific fixed-field requirements.

Root Cause

The root cause is missing per-subtype minimum length validation in the dispatch logic. The length gate was coarse (len >= 2), while individual MLME subtype handlers expect significantly larger minimums based on their fixed field layouts (for example, 26 bytes for deauth/disassoc reason codes).

Attack Vector

The attack surface is reached when a wireless driver passes a short management frame up to cfg80211. The in-tree mwifiex driver demonstrates the path: mwifiex_process_mgmt_packet() requires only a 4-address ieee80211_hdr plus the 2-byte firmware length prefix. After the prefix and addr4 are stripped, pkt_len can be exactly 24 bytes. The frame then enters cfg80211_rx_mlme_mgmt(), passes the len >= 2 check, and reaches the deauth handler, which reads past the buffer.

See the upstream fixes for technical details: Linux Kernel Commit 0ec738a0, Linux Kernel Commit 8f4127a9, and Linux Kernel Commit d5e45865.

Detection Methods for CVE-2026-93805

Indicators of Compromise

  • Unexpected kernel log entries or KASAN reports referencing cfg80211_process_deauth, cfg80211_process_disassoc, cfg80211_rx_mlme_mgmt, or cfg80211_tx_mlme_mgmt.
  • Wireless driver warnings or crashes in mwifiex_process_mgmt_packet() under abnormal frame conditions.
  • Repeated short or malformed 802.11 management frames observed by hostapd or on-wire capture.

Detection Strategies

  • Enable KASAN on test systems to surface out-of-bounds reads in cfg80211 callback paths during fuzzing or regression testing.
  • Monitor kernel ring buffer (dmesg) and journalctl -k for cfg80211-related warnings on hosts running vulnerable kernels.
  • Capture 802.11 management traffic in environments with untrusted wireless peers and inspect for undersized deauth or disassoc frames.

Monitoring Recommendations

  • Centralize kernel logs from Linux endpoints and alert on cfg80211 or mwifiex stack traces.
  • Track installed kernel versions across the fleet and flag hosts running pre-patch builds with wireless drivers loaded.
  • Correlate wireless disassociation anomalies with kernel-level telemetry to identify repeat triggers.

How to Mitigate CVE-2026-93805

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the stable commit log and rebuild or update affected kernels.
  • Prioritize patching systems that load the mwifiex driver or expose cfg80211 to drivers with weak frame validation.
  • On systems that cannot be patched immediately, disable or unload the wireless driver when not required.

Patch Information

The fix adds a frame-control length gate followed by an if/else-if chain that validates each subtype's minimum frame size before dispatch. Tracepoints are emitted only after the frame is confirmed well-formed. The previous WARN_ON(len < 2) is removed because malformed frames from drivers are now silently dropped. cfg80211_tx_mlme_mgmt() no longer routes unrecognized subtypes through disassociation handling. The patches are available at Linux Kernel Commit 0ec738a0, Linux Kernel Commit 8f4127a9, and Linux Kernel Commit d5e45865.

Workarounds

  • Unload the mwifiex module (modprobe -r mwifiex) on systems that do not require Marvell wireless support.
  • Restrict wireless association to trusted networks and enforce management frame protection (802.11w) where supported.
  • Rebuild distribution kernels with the backported patches if upstream stable updates are not yet available for the deployed branch.
bash
# Verify kernel version and check for mwifiex driver presence
uname -r
lsmod | grep mwifiex

# Temporarily unload the mwifiex driver if not in use
sudo modprobe -r mwifiex_pcie mwifiex_sdio mwifiex_usb mwifiex

# Prevent automatic loading until the kernel is patched
echo "blacklist mwifiex" | sudo tee /etc/modprobe.d/blacklist-mwifiex.conf

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.