Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
commit a2083ee upstream. 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: [email protected] Fixes: 0b8fb82 ("cfg80211: Parsing of Multiple BSSID information in scanning") Link: https://lore.kernel.org/r/20210930131120.6ddfc603aa1d.I2137344c4e2426525b1a8e4ce5fca82f8ecbfe7e@changeid Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information