Commit 3923b1e
committed
netfilter: nf_tables: hold mutex on netns pre_exit path
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 <[email protected]>1 parent fecf31e commit 3923b1e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9896 | 9896 | | |
9897 | 9897 | | |
9898 | 9898 | | |
| 9899 | + | |
| 9900 | + | |
| 9901 | + | |
9899 | 9902 | | |
| 9903 | + | |
9900 | 9904 | | |
9901 | 9905 | | |
9902 | 9906 | | |
| |||
0 commit comments