------------[ cut here ]------------ WARNING: CPU: 1 PID: 31744 at net/ipv6/ip6mr.c:407 ip6mr_free_table+0x1d/0x50 net/ipv6/ip6mr.c:407 Modules linked in: CPU: 1 UID: 0 PID: 31744 Comm: syz-executor268 Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ip6mr_free_table+0x1d/0x50 net/ipv6/ip6mr.c:407 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 53 48 8b 47 10 48 89 fb 8b 90 44 01 00 00 85 d2 74 0e 48 83 b8 c0 0e 00 00 00 74 04 90 <0f> 0b 90 48 8d 7b 38 e8 57 dd 8b fe 48 89 df be 0f 00 00 00 e8 0a RSP: 0018:ffffc90003357b78 EFLAGS: 00010286 RAX: ffff888125688000 RBX: ffff8881238a0000 RCX: ffff888125688eb0 RDX: 0000000000000001 RSI: ffff8881238a0000 RDI: ffff8881238a0000 RBP: ffff888125688eb0 R08: 0000000000000000 R09: ffff8881253e2ce8 R10: ffffc90003357bc0 R11: 0000000000000000 R12: ffff888125688eb0 R13: dead000000000122 R14: dead000000000100 R15: ffff888125688000 FS: 00007fa49f7f66c0(0000) GS:ffff88813bb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa49f8c6270 CR3: 0000000114eba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6mr_rules_exit+0x71/0xd0 net/ipv6/ip6mr.c:273 ip6mr_net_exit_batch+0x26/0x40 net/ipv6/ip6mr.c:1374 setup_net+0x1d1/0x2d0 net/core/net_namespace.c:394 copy_net_ns+0x10c/0x270 net/core/net_namespace.c:500 create_new_namespaces+0x112/0x300 kernel/nsproxy.c:110 copy_namespaces+0xeb/0x140 kernel/nsproxy.c:179 copy_process+0xbc9/0x2910 kernel/fork.c:2378 kernel_clone+0xa9/0x530 kernel/fork.c:2787 __do_sys_clone+0x66/0x90 kernel/fork.c:2930 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xb4/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa49f83b419 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa49f7f6238 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fa49f8c5328 RCX: 00007fa49f83b419 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040020000 RBP: 00007fa49f8c5320 R08: 0000000000000000 R09: 00007fa49f7f66c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa49f892074 R13: 0000000000000000 R14: 00007ffef6c321f0 R15: 00007ffef6c322d8