Commit c6625c21 authored by Lachlan Hodges's avatar Lachlan Hodges Committed by Greg Kroah-Hartman
Browse files

wifi: cfg80211: fix S1G beacon head validation in nl80211



[ Upstream commit 1fe44a86 ]

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
1e1f706f ("wifi: cfg80211/mac80211: correctly parse S1G
beacon optional elements").

Fixes: 1d47f119 ("nl80211: correctly validate S1G beacon head")
Signed-off-by: default avatarLachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20250626115118.68660-1-lachlan.hodges@morsemicro.com


[shorten/reword subject]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8d4d00ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment