aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netkit.c
diff options
context:
space:
mode:
authorPhil Sutter <[email protected]>2024-11-29 15:30:38 +0000
committerPablo Neira Ayuso <[email protected]>2024-12-04 14:39:22 +0000
commit456f010bfaefde84d3390c755eedb1b0a5857c3c (patch)
tree91bf2f49fc03be087674f0b33deb94c875ff6959 /drivers/net/netkit.c
parentnetfilter: nft_inner: incorrect percpu area handling under softirq (diff)
downloadkernel-456f010bfaefde84d3390c755eedb1b0a5857c3c.tar.gz
kernel-456f010bfaefde84d3390c755eedb1b0a5857c3c.zip
netfilter: ipset: Hold module reference while requesting a module
User space may unload ip_set.ko while it is itself requesting a set type backend module, leading to a kernel crash. The race condition may be provoked by inserting an mdelay() right after the nfnl_unlock() call. Fixes: a7b4f989a629 ("netfilter: ipset: IP set core support") Signed-off-by: Phil Sutter <[email protected]> Acked-by: Jozsef Kadlecsik <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions