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-98698 Overview
CVE-2026-98698 is a Linux kernel vulnerability in the mac80211 wireless subsystem. The flaw resides in fils_encrypt_assoc_req(), which handles Fast Initial Link Setup (FILS) (Re)Association Request frames. When the FILS Session element is the final element in the frame, the plaintext payload length (crypt_len) is zero. A zero-length kmemdup() call returns ZERO_SIZE_PTR, which the code then passes to sg_init_one(). On kernels built with CONFIG_DEBUG_SG, this triggers a kernel BUG() in sg_set_buf(). Without the debug check, an invalid page reference is forwarded to the crypto backend.
Critical Impact
An empty FILS association payload can trigger a kernel BUG or supply an invalid scatterlist page to the AES-SIV crypto backend, leading to denial of service or memory corruption on vulnerable Linux wireless stacks.
Affected Products
- Linux kernel mac80211 subsystem (upstream, prior to the referenced stable commits)
- Linux distributions shipping affected stable kernel branches
- Wireless drivers depending on mac80211 FILS association handling
Discovery Timeline
- 2026-10-18 - CVE-2026-98698 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-98698
Vulnerability Analysis
The defect is a kernel-side input validation and cryptographic-handling flaw in the IEEE 802.11 FILS association path. fils_encrypt_assoc_req() constructs an AES-SIV ciphertext over the elements that follow the FILS Session element in a (Re)Association Request frame. When no elements follow the FILS Session element, the plaintext length computes to zero.
The function allocates the plaintext buffer with kmemdup(). For a zero-byte request, kmemdup() returns the sentinel value ZERO_SIZE_PTR rather than a valid allocation. The code unconditionally calls sg_init_one() on this pointer, which installs an invalid page descriptor in the scatterlist. On kernels compiled with CONFIG_DEBUG_SG, sg_set_buf() catches the invalid page and triggers a kernel BUG(), halting the processor. On production kernels without the debug check, the bogus page is handed to the crypto backend, producing undefined behavior in the AES-CTR step.
Root Cause
The root cause is missing special-case handling for an empty plaintext in an AES-SIV encryption flow. AES-SIV is defined for zero-length plaintext, in which case the S2V (Synthetic Initialization Vector) output represents the complete ciphertext and the CTR step must be skipped. The vulnerable code assumed a non-zero plaintext and never short-circuited the scatterlist setup or the CTR invocation.
Attack Vector
A remote wireless peer can craft a (Re)Association Request frame whose last element is the FILS Session element, producing a zero-length encrypted payload. When the authenticator processes this frame, the mac80211 code path reaches fils_encrypt_assoc_req() with crypt_len == 0. The resulting invalid scatterlist either crashes the kernel or feeds malformed memory into the crypto subsystem. Exploitation requires only that the target participate in FILS-enabled 802.11 association.
See the upstream fixes: Kernel Commit 0b1e4a7, Kernel Commit 20f939b0, Kernel Commit 2f5b62f6, Kernel Commit 452f1c9b, and Kernel Commit 5bfd4b0b.
Detection Methods for CVE-2026-98698
Indicators of Compromise
- Kernel BUG() traces originating from sg_set_buf() on hosts built with CONFIG_DEBUG_SG
- Stack traces including fils_encrypt_assoc_req or aes_siv_encrypt in dmesg or /var/log/kern.log
- Unexpected wireless interface resets or driver panics on access points and stations handling FILS association
Detection Strategies
- Monitor kernel logs for scatterlist and crypto backend faults correlated with FILS-enabled association attempts
- Inspect 802.11 management-frame captures for Association Request frames whose final element is the FILS Session element with no trailing elements
- Correlate wireless driver crashes with the running kernel version against the fixed stable commits listed in the advisory
Monitoring Recommendations
- Centralize kernel log collection from access points, Linux-based wireless controllers, and client systems that enable FILS
- Alert on repeated kernel oops or panic events on wireless-serving hosts
- Track kernel package versions across the fleet to confirm patch coverage for the referenced stable branches
How to Mitigate CVE-2026-98698
Immediate Actions Required
- Apply the stable kernel update that contains the referenced commits for your distribution
- Prioritize patching Linux hosts that act as 802.11 authenticators or run hostapd with FILS enabled
- Reboot affected systems after patching to activate the fixed mac80211 module
Patch Information
The upstream fix adds an early return in fils_encrypt_assoc_req() when crypt_len is zero, so the AES-SIV S2V output is used directly without invoking sg_init_one() or the CTR step. The fix is distributed across stable branches via commits 0b1e4a7, 20f939b0, 2f5b62f6, 452f1c9b, and 5bfd4b0b.
Workarounds
- Disable FILS authentication in hostapd and wpa_supplicant configurations until the kernel is patched
- Restrict wireless network access to trusted stations where feasible to limit exposure to crafted association frames
- Avoid deploying kernels with CONFIG_DEBUG_SG in production until the patch is in place, since the debug check converts the bug into an immediate panic
# Verify the running kernel version and confirm the stable patch is applied
uname -r
modinfo mac80211 | grep -E 'version|filename'
# Disable FILS in hostapd as a temporary workaround
# Edit /etc/hostapd/hostapd.conf and ensure FILS keys are not enabled:
# fils_cache_id=
# wpa_key_mgmt=WPA-PSK # remove FILS-SHA256 / FILS-SHA384 entries
systemctl restart hostapd
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

