Re: [syzbot] [netfilter?] WARNING in nf_hook_entry_head (2)
From: syzbot
Date: Sun Mar 08 2026 - 01:39:57 EST
syzbot has found a reproducer for the following issue on:
HEAD commit: c113d5e32678 Merge branch 'net-spacemit-a-few-error-handli..
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=176fca02580000
kernel config: https://syzkaller.appspot.com/x/.config?x=779072223d02a312
dashboard link: https://syzkaller.appspot.com/bug?extid=6f6a1d20567a8d6b2a58
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1457075a580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a1a0aa684791/disk-c113d5e3.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6d0461aed5ba/vmlinux-c113d5e3.xz
kernel image: https://storage.googleapis.com/syzbot-assets/05b26502bb1f/bzImage-c113d5e3.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6f6a1d20567a8d6b2a58@xxxxxxxxxxxxxxxxxxxxxxxxx
------------[ cut here ]------------
1
WARNING: net/netfilter/core.c:329 at nf_hook_entry_head+0x23e/0x2c0 net/netfilter/core.c:329, CPU#1: kworker/u8:6/166
Modules linked in:
CPU: 1 UID: 0 PID: 166 Comm: kworker/u8:6 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: netns cleanup_net
RIP: 0010:nf_hook_entry_head+0x23e/0x2c0 net/netfilter/core.c:329
Code: 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 ed 82 69 f8 4d 39 37 74 36 e8 43 41 ff f7 90 <0f> 0b 90 31 db 48 89 d8 5b 41 5e 41 5f 5d c3 cc cc cc cc cc e8 29
RSP: 0018:ffffc900030a7820 EFLAGS: 00010293
RAX: ffffffff89c657eb RBX: ffff8880358c4000 RCX: ffff88801f3a3d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88801f3a3d00 R09: 0000000000000006
R10: 000000000000000a R11: 0000000000000000 R12: ffff888068070000
R13: 0000000000000005 R14: ffff888068070000 R15: ffff8880358c4108
FS: 0000000000000000(0000) GS:ffff888125561000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f121e9e80 CR3: 0000000029e2a000 CR4: 00000000003526f0
Call Trace:
<TASK>
__nf_unregister_net_hook+0x74/0x6f0 net/netfilter/core.c:491
nft_unregister_flowtable_ops net/netfilter/nf_tables_api.c:8905 [inline]
__nft_unregister_flowtable_net_hooks net/netfilter/nf_tables_api.c:8920 [inline]
__nft_release_hook net/netfilter/nf_tables_api.c:11904 [inline]
__nft_release_hooks net/netfilter/nf_tables_api.c:11918 [inline]
nf_tables_pre_exit_net+0x64a/0x900 net/netfilter/nf_tables_api.c:12069
ops_pre_exit_list net/core/net_namespace.c:161 [inline]
ops_undo_list+0x187/0x940 net/core/net_namespace.c:234
cleanup_net+0x56b/0x800 net/core/net_namespace.c:704
process_one_work kernel/workqueue.c:3275 [inline]
process_scheduled_works+0xb02/0x1830 kernel/workqueue.c:3358
worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.