------------[ cut here ]------------ WARNING: CPU: 0 PID: 6014 at net/ipv6/ip6mr.c:419 ip6mr_free_table+0xbd/0x120 net/ipv6/ip6mr.c:419 Modules linked in: CPU: 0 UID: 0 PID: 6014 Comm: syz-executor258 Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ip6mr_free_table+0xbd/0x120 net/ipv6/ip6mr.c:419 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 58 49 83 bc 24 c0 0e 00 00 00 74 09 e8 74 6c b5 f7 90 <0f> 0b 90 e8 6b 6c b5 f7 48 8d 7b 38 e8 42 44 a2 f7 48 89 df be 0f RSP: 0018:ffffc900040af878 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802440c000 RCX: ffffffff89d89304 RDX: ffff88807b3abc00 RSI: ffffffff89d8933c RDI: ffff88802333cb40 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802333bc80 R13: ffff88802440c000 R14: ffff88802440c008 R15: dead000000000100 FS: 00007f981997e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9819a4e250 CR3: 0000000021bce000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6mr_rules_exit+0x176/0x2d0 net/ipv6/ip6mr.c:283 ip6mr_net_exit_batch+0x53/0xa0 net/ipv6/ip6mr.c:1388 ops_exit_list+0x128/0x180 net/core/net_namespace.c:177 setup_net+0x4fe/0x860 net/core/net_namespace.c:394 copy_net_ns+0x2b4/0x6b0 net/core/net_namespace.c:500 create_new_namespaces+0x3ea/0xad0 kernel/nsproxy.c:110 copy_namespaces+0x468/0x560 kernel/nsproxy.c:179 copy_process+0x251a/0x6f20 kernel/fork.c:2398 kernel_clone+0xfd/0x960 kernel/fork.c:2807 __do_sys_clone3+0x1f9/0x270 kernel/fork.c:3111 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98199c3329 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:00007f981997e138 EFLAGS: 00000206 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f9819a4d308 RCX: 00007f98199c3329 RDX: 00007f981999f9c6 RSI: 0000000000000058 RDI: 00007f981997e140 RBP: 00007f9819a4d300 R08: 00007ffee4c7bd37 R09: 0000000040000000 R10: 0000000000000000 R11: 0000000000000206 R12: 00007f981997e140 R13: 0000000000000000 R14: 00007ffee4c7bc50 R15: 00007ffee4c7bd38