------------[ cut here ]------------ hook not found, pf 5 num 0 WARNING: CPU: 1 PID: 13034 at net/netfilter/core.c:514 __nf_unregister_net_hook+0x30a/0x700 net/netfilter/core.c:514 Modules linked in: CPU: 1 UID: 0 PID: 13034 Comm: syz.2.2066 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__nf_unregister_net_hook+0x30a/0x700 net/netfilter/core.c:514 Code: 36 1b f8 05 01 90 48 8b 44 24 10 0f b6 04 28 84 c0 0f 85 e3 03 00 00 41 8b 17 48 c7 c7 60 7d 72 8c 44 89 ee e8 07 38 14 f8 90 <0f> 0b 90 90 e9 d8 01 00 00 e8 38 80 d7 01 89 c3 31 ff 89 c6 e8 2d RSP: 0018:ffffc9000b3b7898 EFLAGS: 00010246 RAX: a9eed74fb8f47000 RBX: ffff88805117c000 RCX: ffff888033840000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: dffffc0000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bba680 R12: ffff888032960000 R13: 0000000000000005 R14: ffff88807d5d0488 R15: ffff888077d4acbc FS: 000055557b8a0500(0000) GS:ffff88812623b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007531c000 CR4: 00000000003526f0 Call Trace: nft_unregister_flowtable_ops net/netfilter/nf_tables_api.c:8979 [inline] nft_flowtable_event net/netfilter/nf_tables_api.c:9758 [inline] __nf_tables_flowtable_event+0x5bf/0x8c0 net/netfilter/nf_tables_api.c:9803 nf_tables_flowtable_event+0x103/0x160 net/netfilter/nf_tables_api.c:9834 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] unregister_netdevice_many_notify+0x1860/0x2390 net/core/dev.c:12284 unregister_netdevice_many net/core/dev.c:12347 [inline] unregister_netdevice_queue+0x33c/0x380 net/core/dev.c:12161 unregister_netdevice include/linux/netdevice.h:3389 [inline] __tun_detach+0x6d9/0x15d0 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3436 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f485d98f6c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffaebd7db8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000042a1e RCX: 00007f485d98f6c9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f485dbe7da0 R08: 0000000000000001 R09: 0000000daebd80af R10: 0000001b30120000 R11: 0000000000000246 R12: 00007f485dbe5fac R13: 00007f485dbe5fa0 R14: ffffffffffffffff R15: 00007fffaebd7ed0