]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: cfg80211: reject HTC bit for management frames
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jul 2025 18:23:06 +0000 (20:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:25:55 +0000 (16:25 +0200)
commitd486ff6734ee1ae4efada1b5421cf3640147e5db
treed7fff53c2483ad55fd6367a2c78b93bd98b0da68
parent5d9f9125432a34665e366b5d074fb0383e93092f
wifi: cfg80211: reject HTC bit for management frames

[ Upstream commit be06a8c7313943109fa870715356503c4c709cbc ]

Management frames sent by userspace should never have the
order/HTC bit set, reject that. It could also cause some
confusion with the length of the buffer and the header so
the validation might end up wrong.

Link: https://patch.msgid.link/20250718202307.97a0455f0f35.I1805355c7e331352df16611839bc8198c855a33f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/mlme.c