CVE-2026-98889: wifi: iwlwifi: mvm: fix sched scan IE sizing
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: fix sched scan IE sizing
Scheduled scan built the probe request before iwl_mvm_scan_fits(), so oversized IEs could be copied into the fixed preq buffer before length validation. Move iwl_mvm_build_scan_probe() after the fits check.
Also advertise max_sched_scan_ie_len using iwl_mvm_max_scan_ie_len() so userspace limits account for driver-inserted DS/TPC bytes.
The Linux kernel CVE team has assigned CVE-2026-98889 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.222 with commit f2268060e99f94314b9988dfa17393c2694fa9b2 Fixed in 6.1.189 with commit 358eca9a898ad4cce7453e9dcfd005d019a2b01f Fixed in 6.6.158 with commit 05f79cea3b15cfe600b205ddcfd51ebee15d908a Fixed in 6.12.111 with commit a24417478f90e9f1a4ea24cd4b784afccb56fbae Fixed in 6.18.53 with commit 0a63f98e5163a2ec2822dfb691ee5a6094de08ec Fixed in 7.2 with commit 4f155d262b31b9b17e0f9856bdabe0968eb4930f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98889
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c drivers/net/wireless/intel/iwlwifi/mvm/scan.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f2268060e99f94314b9988dfa17393c2694fa9b2 https://git.kernel.org/stable/c/358eca9a898ad4cce7453e9dcfd005d019a2b01f https://git.kernel.org/stable/c/05f79cea3b15cfe600b205ddcfd51ebee15d908a https://git.kernel.org/stable/c/a24417478f90e9f1a4ea24cd4b784afccb56fbae https://git.kernel.org/stable/c/0a63f98e5163a2ec2822dfb691ee5a6094de08ec https://git.kernel.org/stable/c/4f155d262b31b9b17e0f9856bdabe0968eb4930f