Skip to contentSkip to conversation

CVE-2026-23040: wifi: mac80211_hwsim: fix typo in frequency notification

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 4

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211_hwsim: fix typo in frequency notification

The NAN notification is for 5745 MHz which corresponds to channel 149 and not 5475 which is not actually a valid channel. This could result in a NULL pointer dereference in cfg80211_next_nan_dw_notif.

The Linux kernel CVE team has assigned CVE-2026-23040 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit a37a6f54439bf82b827a7072415d3a4afa4e12bd and fixed in 6.18.6 with commit 1251bbdb8f5b2ea86ca9b4268a2e6aa34372ab33
	Issue introduced in 6.18 with commit a37a6f54439bf82b827a7072415d3a4afa4e12bd and fixed in 6.19-rc5 with commit 333418872bfecf4843f1ded7a4151685dfcf07d5

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-23040

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/virtual/mac80211_hwsim.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/1251bbdb8f5b2ea86ca9b4268a2e6aa34372ab33
	https://git.kernel.org/stable/c/333418872bfecf4843f1ded7a4151685dfcf07d5