]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: nl80211: don't give key data to userspace
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Jun 2024 08:44:11 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 13:34:10 +0000 (15:34 +0200)
commit9ae2ed6f26c849b241f253015c6cc829def83163
treee2c2f5dc1b895de1fa3d70d290cd44450e78215f
parent13663a7c644bf1dedaf461d07252db5d76c8759a
wifi: nl80211: don't give key data to userspace

[ Upstream commit a7e5793035792cc46a1a4b0a783655ffa897dfe9 ]

When a key is requested by userspace, there's really no need
to include the key data, the sequence counter is really what
userspace needs in this case. The fact that it's included is
just a historic quirk.

Remove the key data.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240627104411.b6a4f097e4ea.I7e6cc976cb9e8a80ef25a3351330f313373b4578@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/nl80211.c