Oops: general protection fault, probably for non-canonical address 0xdffffc0000000016: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7] CPU: 0 UID: 0 PID: 17286 Comm: kworker/u8:17 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #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.part.0+0x199/0x510 net/ipv6/ip6_fib.c:987 Code: 48 c1 ea 03 42 80 3c 32 00 0f 85 5e 03 00 00 4c 8b 28 4d 85 ed 74 2e e8 c5 33 c1 f7 49 8d bd 90 00 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 24 03 00 00 49 8b 85 90 00 00 00 4c 39 e0 0f RSP: 0018:ffffc9000362f040 EFLAGS: 00010202 RAX: 0000000000000016 RBX: 0000000000000001 RCX: 1ffffffff1b4c371 RDX: ffff888026e01e00 RSI: ffffffff89cc545b RDI: 00000000000000b0 RBP: ffff888029cf8cb8 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888029cf8c00 R13: 0000000000000020 R14: dffffc0000000000 R15: ffffed100539f1a2 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc8af9229c7 CR3: 0000000047fbe000 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:1030 [inline] fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1031 [inline] fib6_purge_rt+0x80c/0x9e0 net/ipv6/ip6_fib.c:1042 fib6_del_route net/ipv6/ip6_fib.c:2002 [inline] fib6_del+0xa70/0x1790 net/ipv6/ip6_fib.c:2047 fib6_clean_node+0x426/0x5b0 net/ipv6/ip6_fib.c:2209 fib6_walk_continue+0x44f/0x8d0 net/ipv6/ip6_fib.c:2131 fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2179 fib6_clean_tree+0xd7/0x120 net/ipv6/ip6_fib.c:2259 __fib6_clean_all+0x100/0x2d0 net/ipv6/ip6_fib.c:2275 rt6_sync_down_dev net/ipv6/route.c:4908 [inline] rt6_disable_ip+0x2ef/0x940 net/ipv6/route.c:4913 addrconf_ifdown.isra.0+0x126/0x1af0 net/ipv6/addrconf.c:3858 addrconf_notify+0x220/0x19c0 net/ipv6/addrconf.c:3781 notifier_call_chain+0xb9/0x410 kernel/notifier.c:93 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_close_many+0x333/0x6a0 net/core/dev.c:1589 dev_close net/core/dev.c:1611 [inline] dev_close+0x181/0x230 net/core/dev.c:1605 cfg80211_shutdown_all_interfaces+0x9a/0x200 net/wireless/core.c:280 ieee80211_remove_interfaces+0xd2/0x760 net/mac80211/iface.c:2273 ieee80211_unregister_hw+0x55/0x3a0 net/mac80211/main.c:1669 mac80211_hwsim_del_radio drivers/net/wireless/virtual/mac80211_hwsim.c:5625 [inline] hwsim_exit_net+0x3ad/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6505 ops_exit_list+0xb0/0x180 net/core/net_namespace.c:173 cleanup_net+0x5b7/0xb40 net/core/net_namespace.c:626 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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.part.0+0x199/0x510 net/ipv6/ip6_fib.c:987 Code: 48 c1 ea 03 42 80 3c 32 00 0f 85 5e 03 00 00 4c 8b 28 4d 85 ed 74 2e e8 c5 33 c1 f7 49 8d bd 90 00 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 24 03 00 00 49 8b 85 90 00 00 00 4c 39 e0 0f RSP: 0018:ffffc9000362f040 EFLAGS: 00010202 RAX: 0000000000000016 RBX: 0000000000000001 RCX: 1ffffffff1b4c371 RDX: ffff888026e01e00 RSI: ffffffff89cc545b RDI: 00000000000000b0 RBP: ffff888029cf8cb8 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888029cf8c00 R13: 0000000000000020 R14: dffffc0000000000 R15: ffffed100539f1a2 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc8af9229c7 CR3: 0000000047fbe000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 42 80 3c 32 00 cmpb $0x0,(%rdx,%r14,1) 9: 0f 85 5e 03 00 00 jne 0x36d f: 4c 8b 28 mov (%rax),%r13 12: 4d 85 ed test %r13,%r13 15: 74 2e je 0x45 17: e8 c5 33 c1 f7 call 0xf7c133e1 1c: 49 8d bd 90 00 00 00 lea 0x90(%r13),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 0f 85 24 03 00 00 jne 0x359 35: 49 8b 85 90 00 00 00 mov 0x90(%r13),%rax 3c: 4c 39 e0 cmp %r12,%rax 3f: 0f .byte 0xf