CVE-2026-139520

wifi: nxpwifi: validate variable IE lengths in beacon parser

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: nxpwifi: validate variable IE lengths in beacon parser

nxpwifi_update_bss_desc_with_ie() stores pointers to the HT, VHT and HE
capability and operation elements, to the operating mode notification
and to the 20/40 BSS coexistence element, taken from a beacon or probe
response, without checking that each element is long enough for the
structure the driver later dereferences it as.

bss_desc->beacon_buf 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.

Reject the frame 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.

The extended capabilities element has no structure size to check
against, so nxpwifi_is_ap_11ax_twt_supported()'s read of
bcn_ext_cap->data[9] is bounded at that consumer instead.

Analysis

AI-generated

Technical impact

The Linux kernel’s nxpwifi driver now validates the lengths of variable Information Element (IE) entries found in beacons and probe responses. Previously the driver stored pointers to these elements without ensuring enough data was present, allowing a malicious access point to send truncated IE data that would be read past the end of the buffer when a host tried to associate. This out‑of‑bounds read could reveal memory contents and may also trigger a crash, compromising confidentiality and availability.

Affected Systems

The vulnerability applies to all Linux kernel installations that include the nxpwifi driver. No specific kernel version range is listed in the CVE data; any build containing the legacy driver may be affected.

Risk and Exploitability

A nearby rogue wireless access point could transmit malformed beacon frames to any Linux system equipped with the nxpwifi driver, achieving memory disclosure or destabilization. The exploit requires only in‑range wireless communication and no privileged access. While precise CVSS scoring is absent and EPSS data is unavailable, the potential for remote memory read and system instability confers a moderate to high risk profile. The vulnerability is not currently listed in the CISA KEV catalog, but should be treated with the same urgency as disclosed in the kernel patch commits.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a kernel that includes the nxpwifi driver patch from commits 52c9568 and 8531d24.
  • If a kernel upgrade is unavailable or undesirable, disable the nxpwifi driver module to prevent the vulnerable code from loading.
  • Configure the wireless interface to avoid accepting beacons from unknown APs, such as disabling passive scanning or enforcing strict authentication and SSID filtering.

Generated by OpenCVE AI on November 30, 2026 at 23:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: nxpwifi: validate variable IE lengths in beacon parser nxpwifi_update_bss_desc_with_ie() stores pointers to the HT, VHT and HE capability and operation elements, to the operating mode notification and to the 20/40 BSS coexistence element, taken from a beacon or probe response, without checking that each element is long enough for the structure the driver later dereferences it as. bss_desc->beacon_buf 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. Reject the frame 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. The extended capabilities element has no structure size to check against, so nxpwifi_is_ap_11ax_twt_supported()'s read of bcn_ext_cap->data[9] is bounded at that consumer instead.
Title wifi: nxpwifi: validate variable IE lengths in beacon parser
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM