kernel-hacking-2024-linux-s.../net/wireless
Johannes Berg 6873cc4416 wifi: cfg80211: correct S1G beacon length calculation
The minimum header length calculation (equivalent to the start
of the elements) for the S1G long beacon erroneously required
only up to the start of u.s1g_beacon rather than the start of
u.s1g_beacon.variable. Fix that, and also shuffle the branches
around a bit to not assign useless values that are overwritten
later.

Reported-by: syzbot+0f3afa93b91202f21939@syzkaller.appspotmail.com
Fixes: 9eaffe5078 ("cfg80211: convert S1G beacon to scan results")
Link: https://patch.msgid.link/20240724132912.9662972db7c1.I8779675b5bbda4994cc66f876b6b87a2361c3c0b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-07-26 12:32:47 +02:00
..
certs
tests wifi: cfg80211: reject non-conformant 6 GHz center frequencies 2024-06-12 13:04:25 +02:00
.gitignore
ap.c
chan.c wifi: cfg80211: reject non-conformant 6 GHz center frequencies 2024-06-12 13:04:25 +02:00
core.c wireless-next patches for v6.11 2024-06-10 17:40:26 -07:00
core.h wifi: cfg80211: refactor 6 GHz AP power type parsing 2024-06-12 13:04:25 +02:00
debugfs.c
debugfs.h
ethtool.c
ibss.c wifi: cfg80211: restrict operation during radar detection 2024-05-23 11:28:48 +02:00
Kconfig
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
Makefile
mesh.c wifi: cfg80211: restrict operation during radar detection 2024-05-23 11:28:48 +02:00
mlme.c
nl80211.c wifi: cfg80211: add support for advertising multiple radios belonging to a wiphy 2024-07-09 11:29:59 +02:00
nl80211.h wifi: nl80211: clean up coalescing rule handling 2024-05-29 10:38:53 +02:00
ocb.c
of.c
pmsr.c wifi: nl80211: remove the FTMs per burst limit for NDP ranging 2024-06-12 13:04:25 +02:00
radiotap.c
rdev-ops.h wifi: cfg80211: extend interface combination check for multi-radio 2024-07-09 11:29:59 +02:00
reg.c wifi: cfg80211: add regulatory flag to allow VLP AP operation 2024-06-12 13:04:25 +02:00
reg.h
scan.c wifi: cfg80211: correct S1G beacon length calculation 2024-07-26 12:32:47 +02:00
sme.c wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done 2024-07-26 12:31:45 +02:00
sysfs.c wifi: cfg80211: fully move wiphy work to unbound workqueue 2024-05-29 15:23:33 +02:00
sysfs.h
trace.c
trace.h wifi: cfg80211: add regulatory flag to allow VLP AP operation 2024-06-12 13:04:25 +02:00
util.c wifi: cfg80211: add helper for checking if a chandef is valid on a radio 2024-07-09 11:36:00 +02:00
wext-compat.c
wext-compat.h
wext-core.c
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c