]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: nl80211: constrain MBSSID TX link ID range
authorZhao Li <enderaoelyther@gmail.com>
Fri, 12 Jun 2026 13:18:56 +0000 (21:18 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jul 2026 12:11:10 +0000 (14:11 +0200)
commit172f06023669f0a96d32511669ff45c600731380
tree69ad792c543f8397933f90d9bbbd95ea1f5a6e1e
parent7f4b01812323443b55e4c65381c9dc851ff009e3
wifi: nl80211: constrain MBSSID TX link ID range

MBSSID transmitted-profile link IDs are valid only in the range
0..IEEE80211_MLD_MAX_NUM_LINKS - 1. Constrain the nl80211 policy to
reject out-of-range values during attribute validation.

Fixes: 37523c3c47b3 ("wifi: nl80211: add link id of transmitted profile for MLO MBSSID")
Assisted-by: Codex:gpt-5.5
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Zhao Li <enderaoelyther@gmail.com>
Link: https://patch.msgid.link/20260612131854.43575-4-enderaoelyther@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c