CVE-2026-139520
publishedwifi: nxpwifi: validate variable IE lengths in beacon parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux73b01e57ed3e3d6102c0cbcb21f62086c5429437 to < 8531d24a6f886b78e2dcf93d3060c6436c04cc62 · 73b01e57ed3e3d6102c0cbcb21f62086c5429437 to < 52c9568fa2eda80d02842961e7ba01e07eb01883 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.3 (affected) · 0 to < 7.3 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 73b01e57ed3e3d6102c0cbcb21f62086c5429437 to < 8531d24a6f886b78e2dcf93d3060c6436c04cc62 (affected · git)73b01e57ed3e3d6102c0cbcb21f62086c5429437 to < 52c9568fa2eda80d02842961e7ba01e07eb01883 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.3 (affected)0 to < 7.3 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
wifi: nxpwifi: validate variable IE lengths in beacon parser
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b6fa042cecae3aa1d700f1592e48dd4bfff8b25c566f99ca3444b40fd9ce5a05
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record