]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: nl80211: strict checking attributes for NL80211_CMD_SET_BSS
authorArend van Spriel <arend.vanspriel@broadcom.com>
Sun, 17 Aug 2025 19:04:34 +0000 (21:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Sep 2025 09:19:02 +0000 (11:19 +0200)
commit4f652a390db4246c5d3c51bf25d03ed0e4178fdc
tree0a340359d4b84c2fe99e86b390eea49ab0679b15
parent18abf7a05f1e171a290d8abc3078189ca0fe2db0
wifi: nl80211: strict checking attributes for NL80211_CMD_SET_BSS

Assure user-space only modifies attributes for NL80211_CMD_SET_BSS
that are supported by the driver. This stricter checking is only done
when user-space commits to it by including NL80211_ATTR_BSS_PARAM.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20250817190435.1495094-4-arend.vanspriel@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c