Re: [syzbot] [netfilter?] WARNING: ODEBUG bug in ip_set_free

Hillf Danton
2024-02-14T00:56:44Z

On Tue, 13 Feb 2024 10:22:24 -0800
> HEAD commit: f735966ee23c Merge branches 'for-next/reorg-va-space' and ..
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=161a6ba2180000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

--- x/net/netfilter/ipset/ip_set_bitmap_gen.h
+++ y/net/netfilter/ipset/ip_set_bitmap_gen.h
@@ -60,6 +60,7 @@ mtype_destroy(struct ip_set *set)
{
struct mtype *map = set->data;

+ del_timer_sync(&map->gc);
if (set->dsize && set->extensions & IPSET_EXT_DESTROY)
mtype_ext_cleanup(set);
ip_set_free(map->members);
--