]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: cfg80211: enforce HE/EHT cap/oper consistency
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 09:18:11 +0000 (11:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 11:25:19 +0000 (13:25 +0200)
commitcb9959ab5f99611d27a06586add84811fe8102dc
tree146def2d0cfd9c8af39118994d20d2d4189d0f89
parent7752c543536d614bfad7ada731bcee90bd214a52
wifi: cfg80211: enforce HE/EHT cap/oper consistency

Xiang Mei reports that mac80211 could crash if eht_cap is set
but eht_oper isn't. Rather than fixing that for the individual
user(s), enforce that both HE/EHT have consistent elements.

Reported-by: Xiang Mei <xmei5@asu.edu>
Fixes: 22c64f37e1d4 ("wifi: mac80211: Update MCS15 support in link_conf")
Link: https://patch.msgid.link/20260603091812.101894-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c