]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: fix S1G beacon head validation in nl80211
authorLachlan Hodges <lachlan.hodges@morsemicro.com>
Thu, 26 Jun 2025 11:51:18 +0000 (21:51 +1000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Jun 2025 13:33:46 +0000 (15:33 +0200)
commit1fe44a86ff0ff483aa1f1332f2b08f431fa51ce8
tree8cf3bae009a98377a813978453e0c590ff6d9006
parente34a79b96ab9d49ed8b605fee11099cf3efbb428
wifi: cfg80211: fix S1G beacon head validation in nl80211

S1G beacons contain fixed length optional fields that precede the
variable length elements, ensure we take this into account when
validating the beacon. This particular case was missed in
1e1f706fc2ce ("wifi: cfg80211/mac80211: correctly parse S1G
beacon optional elements").

Fixes: 1d47f1198d58 ("nl80211: correctly validate S1G beacon head")
Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20250626115118.68660-1-lachlan.hodges@morsemicro.com
[shorten/reword subject]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c