CVE-2026-23367: wifi: radiotap: reject radiotap with unknown bits
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: radiotap: reject radiotap with unknown bits
The radiotap parser is currently only used with the radiotap namespace (not with vendor namespaces), but if the undefined field 18 is used, the alignment/size is unknown as well. In this case, iterator->_next_ns_data isn't initialized (it's only set for skipping vendor namespaces), and syzbot points out that we later compare against this uninitialized value.
Fix this by moving the rejection of unknown radiotap fields down to after the in-namespace lookup, so it will really use iterator->_next_ns_data only for vendor namespaces, even in case undefined fields are present.
The Linux kernel CVE team has assigned CVE-2026-23367 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 6.1.167 with commit 703fa979badbba83d31cd011606d060bfb8b0d1d Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 6.6.130 with commit 129c8bb320a7cef692c78056ef8e89a2a12ba448 Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 6.12.77 with commit 2a60c588d5d39ad187628f58395c776a97fd4323 Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 6.18.17 with commit 2f8ceeba670610d66f77def32011f48de951d781 Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 6.19.7 with commit e664971759a0e5570b50c6592e58a7f97d55e992 Issue introduced in 2.6.34 with commit 33e5a2f776e331dc8a4379b6efb660d38f182d96 and fixed in 7.0-rc2 with commit c854758abe0b8d86f9c43dc060ff56a0ee5b31e0
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-23367
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:
net/wireless/radiotap.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/703fa979badbba83d31cd011606d060bfb8b0d1d https://git.kernel.org/stable/c/129c8bb320a7cef692c78056ef8e89a2a12ba448 https://git.kernel.org/stable/c/2a60c588d5d39ad187628f58395c776a97fd4323 https://git.kernel.org/stable/c/2f8ceeba670610d66f77def32011f48de951d781 https://git.kernel.org/stable/c/e664971759a0e5570b50c6592e58a7f97d55e992 https://git.kernel.org/stable/c/c854758abe0b8d86f9c43dc060ff56a0ee5b31e0