diff options
author | 2021-09-30 13:11:21 +0200 | |
---|---|---|
committer | 2021-10-01 11:02:27 +0200 | |
commit | a2083eeb119fb9307258baea9b7c243ca9a2e0b6 (patch) | |
tree | 75f565f3b331c4cb56a88b35557ca81ef67d2fc6 /drivers/net/phy/phy.c | |
parent | mac80211: mesh: fix HE operation element length check (diff) | |
download | wireguard-linux-a2083eeb119fb9307258baea9b7c243ca9a2e0b6.tar.xz wireguard-linux-a2083eeb119fb9307258baea9b7c243ca9a2e0b6.zip |
cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
The SSID pointer is pointing to RCU protected data, so we
need to have it under rcu_read_lock() for the entire use.
Fix this.
Cc: stable@vger.kernel.org
Fixes: 0b8fb8235be8 ("cfg80211: Parsing of Multiple BSSID information in scanning")
Link: https://lore.kernel.org/r/20210930131120.6ddfc603aa1d.I2137344c4e2426525b1a8e4ce5fca82f8ecbfe7e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions