xt_SECMARK: only valid in 'mangle' or 'security' table, not 'raw' ------------[ cut here ]------------ hook not found, pf 2 num 1 WARNING: CPU: 1 PID: 6170 at net/netfilter/core.c:517 __nf_unregister_net_hook+0x48a/0x810 net/netfilter/core.c:517 Modules linked in: CPU: 1 UID: 0 PID: 6170 Comm: syz.0.56 Not tainted 6.15.0-rc1-syzkaller-00209-gfaeefc173be4 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__nf_unregister_net_hook+0x48a/0x810 net/netfilter/core.c:517 Code: 01 90 48 8b 44 24 10 0f b6 04 28 84 c0 0f 85 76 03 00 00 48 8b 04 24 8b 10 48 c7 c7 c0 bd 55 8d 8b 74 24 1c e8 67 9b 4b f7 90 <0f> 0b 90 90 e9 3c 01 00 00 e8 58 79 8c f7 e9 56 fc ff ff e8 4e 79 RSP: 0018:ffffc9000bb475d0 EFLAGS: 00010246 RAX: ae2db5a186d6bc00 RBX: ffff88805f887f00 RCX: ffff88805eff3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81828a12 R09: 1ffff110170e47d2 R10: dffffc0000000000 R11: ffffed10170e47d3 R12: ffff88805f5d4080 R13: ffff88805f5d52d8 R14: 0000000000000006 R15: ffffffff8d575520 FS: 00007f23619d26c0(0000) GS:ffff888125093000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30d5ffff CR3: 000000005f86c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_unregister_net_hook net/netfilter/core.c:-1 [inline] nf_unregister_net_hooks+0xd0/0x140 net/netfilter/core.c:613 synproxy_tg4_destroy+0x58/0xb0 net/ipv4/netfilter/ipt_SYNPROXY.c:91 cleanup_entry+0x3c6/0x4b0 net/ipv4/netfilter/ip_tables.c:652 translate_table+0x215e/0x2390 net/ipv4/netfilter/ip_tables.c:727 do_replace net/ipv4/netfilter/ip_tables.c:1137 [inline] do_ipt_set_ctl+0xe44/0x1260 net/ipv4/netfilter/ip_tables.c:1635 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x3b1/0x710 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x1ee/0x280 net/socket.c:2324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2360b8d169 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:00007f23619d2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2360da6160 RCX: 00007f2360b8d169 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000009 RBP: 00007f2360c0e990 R08: 0000000000000350 R09: 0000000000000000 R10: 0000200000000040 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2360da6160 R15: 00007ffe2a2d3b08