]> www.infradead.org Git - users/dwmw2/linux.git/commit
wifi: cfg80211: validate HE operation element parsing
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 10:05:33 +0000 (12:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2024 13:20:11 +0000 (15:20 +0200)
commit4dc3a3893dae5a7f73e5809273aca0f1f3548d55
tree93890062275c21c6195856ab2ed6ce634c99a94a
parent44c06bbde6443de206b30f513100b5670b23fc5e
wifi: cfg80211: validate HE operation element parsing

Validate that the HE operation element has the correct
length before parsing it.

Cc: stable@vger.kernel.org
Fixes: 645f3d85129d ("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>
net/wireless/scan.c