UPSTREAM: wifi: cfg80211: validate HE operation element parsing
Validate that the HE operation element has the correct length before parsing it. Bug: 254441685 Cc: stable@vger.kernel.org Fixes: 645f3d85 ("wifi: cfg80211: handle UHB AP and STA power type") Reviewed-by:Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240523120533.677025eb4a92.I44c091029ef113c294e8fe8b9bf871bf5dbeeb27@changeid Signed-off-by:
Johannes Berg <johannes.berg@intel.com> (cherry picked from commit 4dc3a389) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: Ifaa6716945353231510317dbb5282954ae6bd452
Loading