aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorBenjamin Beichler <benjamin.beichler@uni-rostock.de>2018-03-07 18:11:07 +0100
committerJohannes Berg <johannes.berg@intel.com>2018-03-21 10:57:33 +0100
commit8cfd36a0b53aeb4ec21d81eb79706697b84dfc3d (patch)
tree3a4a59d732bbf4e7d34fc90af03b2c66462f34bb /net/mac80211
parentmac80211_hwsim: fix secondary MAC address assignment (diff)
downloadlinux-dev-8cfd36a0b53aeb4ec21d81eb79706697b84dfc3d.tar.xz
linux-dev-8cfd36a0b53aeb4ec21d81eb79706697b84dfc3d.zip
mac80211_hwsim: fix use-after-free bug in hwsim_exit_net
When destroying a net namespace, all hwsim interfaces, which are not created in default namespace are deleted. But the async deletion of the interfaces could last longer than the actual destruction of the namespace, which results to an use after free bug. Therefore use synchronous deletion in this case. Fixes: 100cb9ff40e0 ("mac80211_hwsim: Allow managing radios from non-initial namespaces") Reported-by: syzbot+70ce058e01259de7bb1d@syzkaller.appspotmail.com Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions