Commit f2a489f
netfilter: nf_tables: hold mutex on netns pre_exit path
commit 3923b1e upstream.
clean_net() runs in workqueue while walking over the lists, grab mutex.
Fixes: 767d121 ("netfilter: nftables: fix possible UAF over chains from packet path in netns")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent c88f3e3 commit f2a489f
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9813 | 9813 | | |
9814 | 9814 | | |
9815 | 9815 | | |
| 9816 | + | |
| 9817 | + | |
| 9818 | + | |
9816 | 9819 | | |
| 9820 | + | |
9817 | 9821 | | |
9818 | 9822 | | |
9819 | 9823 | | |
| |||
0 commit comments