]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: cfg80211: lock wiphy mutex for rfkill poll
authorJohannes Berg <johannes.berg@intel.com>
Wed, 8 Nov 2023 12:41:25 +0000 (13:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 22:52:27 +0000 (14:52 -0800)
commit473fb46aa376e60f45c89b39ebb085bcdcfeebdd
tree3c3cb7f1df810aa0b6a23839e36a87ed87866478
parent5d520ae3dad074443ff3306a0e7691625e3fcb2e
wifi: cfg80211: lock wiphy mutex for rfkill poll

[ Upstream commit 8e2f6f2366219b3304b227bdd2f04b64c92e3e12 ]

We want to guarantee the mutex is held for pretty much
all operations, so ensure that here as well.

Reported-by: syzbot+7e59a5bfc7a897247e18@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/core.c