summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorBenjamin Beichler <benjamin.beichler@uni-rostock.de>2018-03-07 18:11:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-26 11:02:22 +0200
commitf606893fbbc64d68510c5cc3e64e39971e5f26e0 (patch)
tree9501cca7c9777bfcf57a78b5e4f26ea06b5a9f09 /net/tls
parent679833ea18221fe703ebf56213c1b1ca1731bad6 (diff)
mac80211_hwsim: fix use-after-free bug in hwsim_exit_net
commit 8cfd36a0b53aeb4ec21d81eb79706697b84dfc3d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions