WARNING: CPU: 0 PID: 11406 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x1e9/0x600 net/netfilter/core.c:480 Modules linked in: CPU: 1 PID: 11406 Comm: syz-executor.4 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__nf_unregister_net_hook+0x1e9/0x600 net/netfilter/core.c:480 Code: 0f b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 0d 04 00 00 8b 53 1c 89 ee 48 c7 c7 a0 d5 8f 8a e8 c4 95 8d 01 <0f> 0b e9 e1 00 00 00 e8 7b b8 24 fa 4c 89 f8 48 c1 e0 04 49 8d 7c RSP: 0018:ffffc90011067708 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffff8a91ee60 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815d7235 RDI: fffff5200220ced3 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815d109e R11: 0000000000000000 R12: 0000000000000000 R13: ffff88803809c460 R14: ffff888020adf500 R15: 0000000000000006 FS: 00007f281b63a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf8942a108 CR3: 0000000075a6d000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_unregister_net_hook net/netfilter/core.c:502 [inline] nf_unregister_net_hooks+0x117/0x160 net/netfilter/core.c:576 nf_synproxy_ipv4_fini net/netfilter/nf_synproxy_core.c:810 [inline] nf_synproxy_ipv4_fini+0x68/0x80 net/netfilter/nf_synproxy_core.c:806 synproxy_tg4_destroy+0x1cf/0x360 net/ipv4/netfilter/ipt_SYNPROXY.c:91 cleanup_entry+0x213/0x300 net/ipv4/netfilter/ip_tables.c:653 translate_table+0xcdd/0x16a0 net/ipv4/netfilter/ip_tables.c:728 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x56e/0xb80 net/ipv4/netfilter/ip_tables.c:1629 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x3c3/0x3a40 net/ipv4/ip_sockglue.c:1435 raw_setsockopt+0x274/0x2c0 net/ipv4/raw.c:857 __sys_setsockopt+0x2db/0x610 net/socket.c:2152 __do_sys_setsockopt net/socket.c:2163 [inline] __se_sys_setsockopt net/socket.c:2160 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2160 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f281b63a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000040 RSI: 8001000000000000 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000340 R09: 0000000000000000 R10: 0000000020000280 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffd968d312f R14: 00007f281b63a300 R15: 0000000000022000