diff options
author | 2024-01-03 20:13:51 +0800 | |
---|---|---|
committer | 2024-01-03 15:34:53 +0100 | |
commit | 1184950e341c11b6f82bc5b59564411d9537ab27 (patch) | |
tree | 5863ebcce45ba02c482dfc78254a9101fc8ca5bf /net/core/sock.c | |
parent | wifi: iwlwifi: replace ENOTSUPP with EOPNOTSUPP (diff) | |
download | wireguard-linux-1184950e341c11b6f82bc5b59564411d9537ab27.tar.xz wireguard-linux-1184950e341c11b6f82bc5b59564411d9537ab27.zip |
wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
Replace rcu_dereference() with rcu_access_pointer() since we hold
the lock here (and aren't in an RCU critical section).
Fixes: 32af9a9e1069 ("wifi: cfg80211: free beacon_ies when overridden from hidden BSS")
Reported-and-tested-by: syzbot+864a269c27ee06b58374@syzkaller.appspotmail.com
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Link: https://msgid.link/tencent_BF8F0DF0258C8DBF124CDDE4DD8D992DCF07@qq.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions