CVE-2026-139520: Linux kernel nxpwifi beacon parser reads past truncated elements

ByLinuxtastic

December 2, 2026 #CVE, #Linux Kernel

nxpwifi is the NXP wireless driver that entered the kernel in 7.3, a rewrite of the older mwifiex code for NXP chipsets. When it parses a beacon or probe response it keeps pointers to the HT, VHT and HE capability and operation elements, the operating mode notification and the 20/40 coexistence element, and the kernel CNA record says it did so “without checking that each element is long enough for the structure the driver later dereferences it as.” The beacon copy is “a tight kmemdup() of the on-air elements, so a truncated element leaves the stored pointer short of the structure and the consumers read past the end of that allocation at association time. Some of those bytes are copied into the association request, so a rogue access point in range can both trigger the read and receive the result.” Red Hat rates it Important at 7.1 as an adjacent-network disclosure and crash. On any machine running a 7.3 kernel with NXP wireless hardware, upgrade to 7.3.6 or later and reboot; kernels before 7.3 do not have the driver.

CVE-2026-139520 at a glance.

ComponentLinux kernel, NXP wireless driver (drivers/net/wireless/nxp/nxpwifi/scan.c and 11ax.c), functions nxpwifi_update_bss_desc_with_ie() and nxpwifi_is_ap_11ax_twt_supported(), module nxpwifi
Affected versionsfrom 73b01e57ed3e, the commit that added the driver in 7.3: 7.3 before 7.3.6; every earlier series is unaffected because the driver is not in it
Fixed inmainline 7.4-rc1 (commit 52c9568f, “validate variable IE lengths in beacon parser”: the frame is rejected with -EINVAL “when any of these elements is shorter than the structure read from it, as the FH, DS and CF parameter set cases in the same parser already do”, and the extended-capabilities read in the TWT check is bounded at that consumer) and stable 7.3.6 (commit 8531d24a)
SeverityRed Hat Important, CVSS 3.1 7.1 (AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H, draft, CWE-125 out-of-bounds read), bug 2587148; the kernel CNA gives no score and NVD (Received, 30 November) carries none; Ubuntu Medium; SUSE could not be read on 2 December 2026
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00156 (5th percentile) on 2 December 2026
Who is exposedLaptops, boards and embedded devices with an NXP wireless chipset driven by nxpwifi on a 7.3 kernel, while they scan or associate: the read happens when the driver parses what an access point in radio range sends, before any authentication, so the attacker needs only to be nearby with a beacon of their own. Red Hat’s statement: exploitation “requires physical proximity to an untrusted access point”, and every RHEL kernel is not affected because none ships the driver. Debian bookworm and trixie are not affected for the same reason
PublishedCVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026

What it is

A Wi-Fi beacon or probe response is a list of information elements, each a type byte, a length byte and a body. The driver copies the elements it received into bss_desc->beacon_buf with an allocation sized exactly to the frame, then walks them and, for the elements it cares about, keeps a pointer into that copy so that the association code can read the capability and operation structures later. The length byte is under the sender’s control. When an element is shorter than the structure the driver expects, the pointer still lands inside the copy but the structure extends past the end of the allocation, and every later read of that structure, in 11ax.c and the association path, reads the slab memory after it.

That is an out-of-bounds read in the kernel from an unauthenticated radio frame. Some of the bytes read are copied into the association request the client then transmits, which is what turns a crash into a disclosure: a rogue access point advertises a truncated element, the client tries to associate with it and sends back whatever followed the beacon copy in memory. The CNA record describes exactly this chain; Red Hat scores it as an adjacent-network attack with low confidentiality and high availability impact.

The fix adds the length checks the parser already applied to the FH, DS and CF parameter sets, rejecting the frame when an HT, VHT, HE, operating-mode or coexistence element is too short, and bounds the one read that has no structure to check against, bcn_ext_cap->data[9] in the TWT capability test, at the consumer. The driver is new in 7.3, so there is one stable backport. git.kernel.org refuses automated readers; the change is described from the CNA record, which carries the commit message.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Only kernels from the 7.3 series carry the driver, which excludes every enterprise distribution kernel in service.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm (6.1.176-1) and trixie (6.12.117-1) not affected (“vulnerable code not present”); forky and sid (7.3.6-1) fixed; no DSAunstable 7.3.6-1
UbuntuMedium; the linux package is needs evaluation on every release from 14.04 to 26.10 on 2 December 2026 (page updated 2 December), nothing releasednothing on 2 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.1 (bug 2587148, CWE-125); kernel and kernel-rt not affected in RHEL 6, 7, 8, 9 and 10 and in the OpenShift 4 and 5 images: the driver is not built—
openSUSE/SLENot consulted: suse.com refused the automated reader on 2 December 2026 (client error)—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply7.3.6 or later (7.4-rc1 mainline)

How to check

Is this a 7.3 kernel, is the NXP driver bound to a wireless interface, and is the machine somewhere an untrusted access point can reach it. The first two questions settle it for every server and for every machine on an older series.

# 1. the running kernel: only 7.3 before 7.3.6 carries the driver
uname -r

# 2. is nxpwifi loaded and bound to an interface
lsmod | grep -E '^nxpwifi'
for d in /sys/class/net/*/device/driver; do echo "$d -> $(readlink "$d")"; done 2>/dev/null | grep -i nxp

# 3. is the interface up and scanning (the parser runs on every beacon it hears)
iw dev 2>/dev/null | grep -E 'Interface|type|ssid'

A kernel outside the 7.3 series, or no nxpwifi module, means the page does not apply; that is every long-term kernel and every distribution kernel built from one. A 7.3 kernel before 7.3.6 with the module bound to an interface is the exposed case whenever the interface is up, because scanning parses every beacon in range whether or not the user ever connects to the sender.

How to fix it

Install the fixed kernel and reboot; the parser runs in the loaded module and nothing short of a reboot replaces it. Until then, keep the wireless interface down where the machine is in range of networks you do not control.

# Debian forky / sid (7.3.6-1) carry the fix; bookworm and trixie do not have the driver
apt update && apt install linux-image-amd64 && systemctl reboot
# Self-built or vendor 7.3 kernels: move to 7.3.6 or later
make olddefconfig && make -j"$(nproc)" && make modules_install install && systemctl reboot
# Stop-gap: take the NXP interface down, or unbind the driver, until the reboot
ip link set wlan0 down
rmmod nxpwifi

Taking the interface down stops the driver from parsing beacons, which is the vulnerable step; unloading the module does the same more thoroughly on a machine that can do without wireless until the reboot. What not to do: do not rely on connecting only to known networks, because the parser runs on every beacon the radio hears during a scan, not only on the network chosen; and do not treat the older mwifiex driver as the fix for the same hardware, since the record covers nxpwifi only and says nothing about the other driver either way.

Sources

  • CVE-2026-139520 at CVE.org — the kernel CNA record: the unchecked element lengths, the tight beacon copy, the bytes copied into the association request, the per-element rejection and the bounded TWT read, the version range (30 November 2026)
  • Fix commit 52c9568f (mainline 7.4-rc1, the commit Debian cites) and the stable backport 8531d24a; git.kernel.org refuses automated readers, so the change is described from the CNA record and the trackers
  • NVD entry — Received on 30 November 2026; no CVSS metric, CWE or CPE on 2 December 2026
  • Distribution trackers: Debian (bookworm and trixie not affected, unstable fixed in 7.3.6-1) · Red Hat (Important 7.1, bug 2587148, CWE-125; every RHEL not affected; the statement on physical proximity) · Ubuntu (Medium, needs evaluation on every release, page updated 2 December) · SUSE (refused the automated reader on 2 December 2026)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00156 (percentile 0.050) on 2 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.