wifi: nxpwifi: validate variable IE lengths in beacon parser
Summary
| CVE | CVE-2026-139520 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:28 UTC |
| Updated | 2026-11-30 14:19:28 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 73b01e57ed3e3d6102c0cbcb21f62086c5429437 8531d24a6f886b78e2dcf93d3060c6436c04cc62 git |
Not specified |
| CNA |
Linux |
Linux |
affected 73b01e57ed3e3d6102c0cbcb21f62086c5429437 52c9568fa2eda80d02842961e7ba01e07eb01883 git |
Not specified |
| CNA |
Linux |
Linux |
affected 7.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/8531d24a6f886b78e2dcf93d3060c6436c04cc62 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/52c9568fa2eda80d02842961e7ba01e07eb01883 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.