diff options
author | Phil Sutter <phil@nwl.cc> | 2024-11-29 16:30:38 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@netfilter.org> | 2024-12-15 17:58:02 +0100 |
commit | e0f7cd8480b7e92ab8521b3348db1d212699d2b7 (patch) | |
tree | 5ff239fe5177595547e8ffc4986edaab726c5b2c /ChangeLog | |
parent | 23d63a5237f7cef36bdf8aede670979a451cf7fc (diff) |
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 <phil@nwl.cc>
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions