Oops: general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097] CPU: 1 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net RIP: 0010:__fib6_drop_pcpu_from+0x1fd/0x3d0 net/ipv6/ip6_fib.c:980 Code: 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 4a f4 9a f7 48 8b 6d 00 48 85 ed 74 30 48 81 c5 90 00 00 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 24 f4 9a f7 48 8b 45 00 4c 39 f0 RSP: 0018:ffffc90000106ca0 EFLAGS: 00010207 RAX: 0000000000000012 RBX: ffffffff8e2cea98 RCX: ffff88801d2c3c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000094 R08: ffffffff8a683da8 R09: 1ffffffff284db10 R10: dffffc0000000000 R11: fffffbfff284db11 R12: dffffc0000000000 R13: ffff888012574d10 R14: ffff888012574c00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5d1563360 CR3: 000000005f080000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1024 [inline] fib6_purge_rt+0x193/0x890 net/ipv6/ip6_fib.c:1035 fib6_del_route net/ipv6/ip6_fib.c:1995 [inline] fib6_del+0xe71/0x1600 net/ipv6/ip6_fib.c:2040 fib6_clean_node+0x2f7/0x5e0 net/ipv6/ip6_fib.c:2202 fib6_walk_continue+0x658/0x8f0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x168/0x2b0 net/ipv6/ip6_fib.c:2172 fib6_clean_tree net/ipv6/ip6_fib.c:2252 [inline] __fib6_clean_all+0x31f/0x4b0 net/ipv6/ip6_fib.c:2268 rt6_sync_down_dev net/ipv6/route.c:4908 [inline] rt6_disable_ip+0x170/0x800 net/ipv6/route.c:4913 addrconf_ifdown+0x15d/0x1bd0 net/ipv6/addrconf.c:3877 addrconf_notify+0x3cb/0x1020 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_close_many+0x33c/0x4c0 net/core/dev.c:1589 unregister_netdevice_many_notify+0x530/0x1da0 net/core/dev.c:11500 unregister_netdevice_many net/core/dev.c:11590 [inline] default_device_exit_batch+0xa1f/0xaa0 net/core/dev.c:12073 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:632 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__fib6_drop_pcpu_from+0x1fd/0x3d0 net/ipv6/ip6_fib.c:980 Code: 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 4a f4 9a f7 48 8b 6d 00 48 85 ed 74 30 48 81 c5 90 00 00 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 24 f4 9a f7 48 8b 45 00 4c 39 f0 RSP: 0018:ffffc90000106ca0 EFLAGS: 00010207 RAX: 0000000000000012 RBX: ffffffff8e2cea98 RCX: ffff88801d2c3c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000094 R08: ffffffff8a683da8 R09: 1ffffffff284db10 R10: dffffc0000000000 R11: fffffbfff284db11 R12: dffffc0000000000 R13: ffff888012574d10 R14: ffff888012574c00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5d1563360 CR3: 000000005f080000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 9: 74 08 je 0x13 b: 48 89 ef mov %rbp,%rdi e: e8 4a f4 9a f7 call 0xf79af45d 13: 48 8b 6d 00 mov 0x0(%rbp),%rbp 17: 48 85 ed test %rbp,%rbp 1a: 74 30 je 0x4c 1c: 48 81 c5 90 00 00 00 add $0x90,%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 24 f4 9a f7 call 0xf79af45d 39: 48 8b 45 00 mov 0x0(%rbp),%rax 3d: 4c 39 f0 cmp %r14,%rax