------------[ cut here ]------------ hook not found, pf 5 num 0 WARNING: net/netfilter/core.c:514 at __nf_unregister_net_hook+0x2c5/0x6f0 net/netfilter/core.c:514, CPU#0: syz.2.1808/12951 Modules linked in: CPU: 0 UID: 0 PID: 12951 Comm: syz.2.1808 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:__nf_unregister_net_hook+0x2dc/0x6f0 net/netfilter/core.c:514 Code: 24 30 48 8b 5c 24 08 44 8b 6c 24 04 48 8d 3d 8b 1c 5b 06 48 8b 44 24 10 0f b6 04 28 84 c0 0f 85 f1 02 00 00 41 8b 17 44 89 ee <67> 48 0f b9 3a e9 db 01 00 00 e8 c5 98 e7 01 89 c3 31 ff 89 c6 e8 RSP: 0018:ffffc900041274d0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888058a6b180 RCX: ffff888032b95ac0 RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffffffff90209ba0 RBP: dffffc0000000000 R08: ffffffff901172b7 R09: 1ffffffff2022e56 R10: dffffc0000000000 R11: fffffbfff2022e57 R12: ffff88807ed94c80 R13: 0000000000000005 R14: ffff888033ed4490 R15: ffff888078db0fbc FS: 0000000000000000(0000) GS:ffff888125466000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2b19a3d58 CR3: 0000000078788000 CR4: 00000000003526f0 DR0: 0000000000000008 DR1: 0000000000000000 DR2: 0000200000000300 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: nft_unregister_flowtable_ops net/netfilter/nf_tables_api.c:8896 [inline] nft_flowtable_event net/netfilter/nf_tables_api.c:9675 [inline] __nf_tables_flowtable_event+0x5bf/0x8c0 net/netfilter/nf_tables_api.c:9720 nf_tables_flowtable_event+0x103/0x160 net/netfilter/nf_tables_api.c:9751 notifier_call_chain+0x1be/0x400 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2287 [inline] call_netdevice_notifiers net/core/dev.c:2301 [inline] unregister_netdevice_many_notify+0x186a/0x2370 net/core/dev.c:12403 unregister_netdevice_many net/core/dev.c:12466 [inline] unregister_netdevice_queue+0x31f/0x360 net/core/dev.c:12280 unregister_netdevice include/linux/netdevice.h:3408 [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+0x44f/0xa70 fs/file_table.c:469 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x69b/0x2320 kernel/exit.c:971 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112 get_signal+0x1284/0x1330 kernel/signal.c:3034 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff9c759c629 Code: Unable to access opcode bytes at 0x7ff9c759c5ff. RSP: 002b:00007ff9c8535028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007ff9c7815fa0 RCX: 00007ff9c759c629 RDX: 0000200000002280 RSI: 0000000000008914 RDI: 0000000000000004 RBP: 00007ff9c7632b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff9c7816038 R14: 00007ff9c7815fa0 R15: 00007ffd5f6a81d8 ---------------- Code disassembly (best guess): 0: 24 30 and $0x30,%al 2: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx 7: 44 8b 6c 24 04 mov 0x4(%rsp),%r13d c: 48 8d 3d 8b 1c 5b 06 lea 0x65b1c8b(%rip),%rdi # 0x65b1c9e 13: 48 8b 44 24 10 mov 0x10(%rsp),%rax 18: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax 1c: 84 c0 test %al,%al 1e: 0f 85 f1 02 00 00 jne 0x315 24: 41 8b 17 mov (%r15),%edx 27: 44 89 ee mov %r13d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 db 01 00 00 jmp 0x20f 34: e8 c5 98 e7 01 call 0x1e798fe 39: 89 c3 mov %eax,%ebx 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi 3f: e8 .byte 0xe8