{"api_version":"1","generated_at":"2026-12-01T14:53:26+00:00","cve":"CVE-2026-139520","urls":{"html":"https://cve.report/CVE-2026-139520","api":"https://cve.report/api/cve/CVE-2026-139520.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139520","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139520"},"summary":{"title":"wifi: nxpwifi: validate variable IE lengths in beacon parser","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nxpwifi: validate variable IE lengths in beacon parser\n\nnxpwifi_update_bss_desc_with_ie() stores pointers to the HT, VHT and HE\ncapability and operation elements, to the operating mode notification\nand to the 20/40 BSS coexistence element, taken from a beacon or probe\nresponse, without checking that each element is long enough for the\nstructure the driver later dereferences it as.\n\nbss_desc->beacon_buf is a tight kmemdup() of the on-air elements, so a\ntruncated element leaves the stored pointer short of the structure and\nthe consumers read past the end of that allocation at association time.\nSome of those bytes are copied into the association request, so a rogue\naccess point in range can both trigger the read and receive the result.\n\nReject the frame with -EINVAL when any of these elements is shorter than\nthe structure read from it, as the FH, DS and CF parameter set cases in\nthe same parser already do.\n\nThe extended capabilities element has no structure size to check\nagainst, so nxpwifi_is_ap_11ax_twt_supported()'s read of\nbcn_ext_cap->data[9] is bounded at that consumer instead.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:28","updated_at":"2026-11-30 14:19:28"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8531d24a6f886b78e2dcf93d3060c6436c04cc62","name":"https://git.kernel.org/stable/c/8531d24a6f886b78e2dcf93d3060c6436c04cc62","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/52c9568fa2eda80d02842961e7ba01e07eb01883","name":"https://git.kernel.org/stable/c/52c9568fa2eda80d02842961e7ba01e07eb01883","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139520","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139520","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 73b01e57ed3e3d6102c0cbcb21f62086c5429437 8531d24a6f886b78e2dcf93d3060c6436c04cc62 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 73b01e57ed3e3d6102c0cbcb21f62086c5429437 52c9568fa2eda80d02842961e7ba01e07eb01883 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/nxp/nxpwifi/11ax.c","drivers/net/wireless/nxp/nxpwifi/scan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8531d24a6f886b78e2dcf93d3060c6436c04cc62","status":"affected","version":"73b01e57ed3e3d6102c0cbcb21f62086c5429437","versionType":"git"},{"lessThan":"52c9568fa2eda80d02842961e7ba01e07eb01883","status":"affected","version":"73b01e57ed3e3d6102c0cbcb21f62086c5429437","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/nxp/nxpwifi/11ax.c","drivers/net/wireless/nxp/nxpwifi/scan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.3"},{"lessThan":"7.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"7.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nxpwifi: validate variable IE lengths in beacon parser\n\nnxpwifi_update_bss_desc_with_ie() stores pointers to the HT, VHT and HE\ncapability and operation elements, to the operating mode notification\nand to the 20/40 BSS coexistence element, taken from a beacon or probe\nresponse, without checking that each element is long enough for the\nstructure the driver later dereferences it as.\n\nbss_desc->beacon_buf is a tight kmemdup() of the on-air elements, so a\ntruncated element leaves the stored pointer short of the structure and\nthe consumers read past the end of that allocation at association time.\nSome of those bytes are copied into the association request, so a rogue\naccess point in range can both trigger the read and receive the result.\n\nReject the frame with -EINVAL when any of these elements is shorter than\nthe structure read from it, as the FH, DS and CF parameter set cases in\nthe same parser already do.\n\nThe extended capabilities element has no structure size to check\nagainst, so nxpwifi_is_ap_11ax_twt_supported()'s read of\nbcn_ext_cap->data[9] is bounded at that consumer instead."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:30.594Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8531d24a6f886b78e2dcf93d3060c6436c04cc62"},{"url":"https://git.kernel.org/stable/c/52c9568fa2eda80d02842961e7ba01e07eb01883"}],"title":"wifi: nxpwifi: validate variable IE lengths in beacon parser","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139520","datePublished":"2026-11-30T13:35:30.594Z","dateReserved":"2026-11-30T13:22:15.938Z","dateUpdated":"2026-11-30T13:35:30.594Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:28","lastModifiedDate":"2026-11-30 14:19:28","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139520","Ordinal":"1","Title":"wifi: nxpwifi: validate variable IE lengths in beacon parser","CVE":"CVE-2026-139520","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139520","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nxpwifi: validate variable IE lengths in beacon parser\n\nnxpwifi_update_bss_desc_with_ie() stores pointers to the HT, VHT and HE\ncapability and operation elements, to the operating mode notification\nand to the 20/40 BSS coexistence element, taken from a beacon or probe\nresponse, without checking that each element is long enough for the\nstructure the driver later dereferences it as.\n\nbss_desc->beacon_buf is a tight kmemdup() of the on-air elements, so a\ntruncated element leaves the stored pointer short of the structure and\nthe consumers read past the end of that allocation at association time.\nSome of those bytes are copied into the association request, so a rogue\naccess point in range can both trigger the read and receive the result.\n\nReject the frame with -EINVAL when any of these elements is shorter than\nthe structure read from it, as the FH, DS and CF parameter set cases in\nthe same parser already do.\n\nThe extended capabilities element has no structure size to check\nagainst, so nxpwifi_is_ap_11ax_twt_supported()'s read of\nbcn_ext_cap->data[9] is bounded at that consumer instead.","Type":"Description","Title":"wifi: nxpwifi: validate variable IE lengths in beacon parser"}]}}}