[syzbot ci] Re: netfilter: ipset fixes, second batch
syzbot ci <[email protected]>
| Newsgroups | dev.linux.lists.syzbot,org.kernel.vger.netfilter-devel |
|---|---|
| Message-ID | <[email protected]> |
syzbot ci has tested the following series [v3] netfilter: ipset fixes, second batch https://lore.kernel.org/all/[email protected] * [PATCH v3 1/7] netfilter: ipset: Don't use test_bit() in lockless RCU readers in hash types * [PATCH v3 2/7] netfilter: ipset: Don't use test_bit() in lockless RCU readers in bitmap types * [PATCH v3 3/7] netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer() * [PATCH v3 4/7] netfilter: ipset: exlude gc when resize is in progress * [PATCH v3 5/7] netfilter: ipset: make sure gc is properly stopped * [PATCH v3 6/7] netfilter: ipset: cleanup the add/del backlog when resize failed * [PATCH v3 7/7] netfilter: ipset: rework cidr bookkeeping and found the following issues: * INFO: trying to register non-static key in hash_ipportip6_resize * INFO: trying to register non-static key in hash_netport6_resize * INFO: trying to register non-static key in hash_netportnet6_resize Full report is available here: https://ci.syzbot.org/series/7264660b-3f58-4809-9af0-c77ead1aac16 *** INFO: trying to register non-static key in hash_ipportip6_resize tree: nf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/netfilter/nf-next.git base: 3b165c2a29cfb6453f26e1ac833ca6afd28d28cf arch: amd64 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 config: https://ci.syzbot.org/builds/44611eeb-52b4-4b97-8744-2265cbb063fa/config syz repro: https://ci.syzbot.org/findings/c1aaddfd-5ff4-410d-85fa-3c212552d465/syz_repro INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 UID: 0 PID: 5810 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1299 __lock_acquire+0xad/0x2cf0 kernel/locking/lockdep.c:5112 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:182 spin_lock_bh include/linux/spinlock.h:348 [inline] hash_ipportip6_resize+0x4d4/0x1dd0 net/netfilter/ipset/ip_set_hash_gen.h:699 call_ad+0x463/0xb60 net/netfilter/ipset/ip_set_core.c:1758 ip_set_ad+0x824/0x9d0 net/netfilter/ipset/ip_set_core.c:1842 nfnetlink_rcv_msg+0xc03/0x12c0 net/netfilter/nfnetlink.c:300 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2556 nfnetlink_rcv+0x2c0/0x27b0 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x75c/0x8e0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2699 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2753 __sys_sendmsg net/socket.c:2785 [inline] __do_sys_sendmsg net/socket.c:2790 [inline] __se_sys_sendmsg net/socket.c:2788 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2788 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4ef2b9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4ef3b42028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f4ef2e15fa0 RCX: 00007f4ef2b9ce59 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000004 RBP: 00007f4ef2c32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4ef2e16038 R14: 00007f4ef2e15fa0 R15: 00007ffd926dea58 </TASK> *** INFO: trying to register non-static key in hash_netport6_resize tree: nf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/netfilter/nf-next.git base: 3b165c2a29cfb6453f26e1ac833ca6afd28d28cf arch: amd64 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 config: https://ci.syzbot.org/builds/44611eeb-52b4-4b97-8744-2265cbb063fa/config syz repro: https://ci.syzbot.org/findings/60d79dbd-6e73-4ee8-be39-8bea69cb5f52/syz_repro INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 UID: 0 PID: 5834 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1299 __lock_acquire+0xad/0x2cf0 kernel/locking/lockdep.c:5112 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:182 spin_lock_bh include/linux/spinlock.h:348 [inline] hash_netport6_resize+0x548/0x1d30 net/netfilter/ipset/ip_set_hash_gen.h:699 call_ad+0x463/0xb60 net/netfilter/ipset/ip_set_core.c:1758 ip_set_ad+0x824/0x9d0 net/netfilter/ipset/ip_set_core.c:1842 nfnetlink_rcv_msg+0xc03/0x12c0 net/netfilter/nfnetlink.c:300 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2556 nfnetlink_rcv+0x2c0/0x27b0 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x75c/0x8e0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2699 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2753 __sys_sendmsg net/socket.c:2785 [inline] __do_sys_sendmsg net/socket.c:2790 [inline] __se_sys_sendmsg net/socket.c:2788 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2788 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c11d9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c113dd028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5c12016090 RCX: 00007f5c11d9ce59 RDX: 0000000000000090 RSI: 00002000000002c0 RDI: 0000000000000004 RBP: 00007f5c11e32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c12016128 R14: 00007f5c12016090 R15: 00007ffd4124a0a8 </TASK> *** INFO: trying to register non-static key in hash_netportnet6_resize tree: nf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/netfilter/nf-next.git base: 3b165c2a29cfb6453f26e1ac833ca6afd28d28cf arch: amd64 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 config: https://ci.syzbot.org/builds/44611eeb-52b4-4b97-8744-2265cbb063fa/config syz repro: https://ci.syzbot.org/findings/a0e027e2-8833-4fe6-8f75-2f388682c035/syz_repro INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 UID: 0 PID: 5880 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1299 __lock_acquire+0xad/0x2cf0 kernel/locking/lockdep.c:5112 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:182 spin_lock_bh include/linux/spinlock.h:348 [inline] hash_netportnet6_resize+0x5aa/0x2040 net/netfilter/ipset/ip_set_hash_gen.h:699 call_ad+0x463/0xb60 net/netfilter/ipset/ip_set_core.c:1758 ip_set_ad+0x824/0x9d0 net/netfilter/ipset/ip_set_core.c:1842 nfnetlink_rcv_msg+0xc03/0x12c0 net/netfilter/nfnetlink.c:300 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2556 nfnetlink_rcv+0x2c0/0x27b0 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x75c/0x8e0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2699 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2753 __sys_sendmsg net/socket.c:2785 [inline] __do_sys_sendmsg net/socket.c:2790 [inline] __se_sys_sendmsg net/socket.c:2788 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2788 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9c00b9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9c01a82028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9c00e15fa0 RCX: 00007f9c00b9ce59 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000004 RBP: 00007f9c00c32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9c00e16038 R14: 00007f9c00e15fa0 R15: 00007ffe8ca45b58 </TASK> *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: [email protected] --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at [email protected]. To test a patch for this bug, please reply with `#syz test` (should be on a separate line). The patch should be attached to the email. Note: arguments like custom git repos and branches are not supported.