Oops: general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097] CPU: 0 UID: 0 PID: 7285 Comm: kworker/u8:11 Not tainted 6.13.0-rc3-syzkaller-00301-gbcde95ce32b6 #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:980 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 85 9f be 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:ffffc90004eb7040 EFLAGS: 00010216 RAX: 0000000000000012 RBX: 0000000000000000 RCX: 1ffffffff1b4e59c RDX: ffff8880276c5a00 RSI: ffffffff89db759b RDI: 0000000000000091 RBP: ffff8880237ba4b8 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000000 R11: 0000000000000006 R12: ffff8880237ba400 R13: 0000000000000001 R14: dffffc0000000000 R15: ffffed10046f74a2 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5ab577bac CR3: 0000000027c20000 CR4: 0000000000350ef0 Call Trace: __fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1023 [inline] fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1024 [inline] fib6_purge_rt+0x80c/0x9e0 net/ipv6/ip6_fib.c:1035 fib6_del_route net/ipv6/ip6_fib.c:1995 [inline] fib6_del+0xa5a/0x1760 net/ipv6/ip6_fib.c:2040 fib6_clean_node+0x426/0x5b0 net/ipv6/ip6_fib.c:2202 fib6_walk_continue+0x452/0x8d0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2172 fib6_clean_tree+0xd7/0x120 net/ipv6/ip6_fib.c:2252 __fib6_clean_all+0x100/0x2d0 net/ipv6/ip6_fib.c:2268 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:3877 addrconf_notify+0x220/0x19c0 net/ipv6/addrconf.c:3800 notifier_call_chain+0xba/0x410 kernel/notifier.c:85 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:2280 ieee80211_unregister_hw+0x55/0x3a0 net/mac80211/main.c:1671 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+0xb3/0x180 net/core/net_namespace.c:172 cleanup_net+0x5b7/0xbd0 net/core/net_namespace.c:648 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/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:980 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 85 9f be 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:ffffc90004eb7040 EFLAGS: 00010216 RAX: 0000000000000012 RBX: 0000000000000000 RCX: 1ffffffff1b4e59c RDX: ffff8880276c5a00 RSI: ffffffff89db759b RDI: 0000000000000091 RBP: ffff8880237ba4b8 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000000 R11: 0000000000000006 R12: ffff8880237ba400 R13: 0000000000000001 R14: dffffc0000000000 R15: ffffed10046f74a2 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5ab577bac CR3: 0000000027c20000 CR4: 0000000000350ef0 ---------------- 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 85 9f be f7 call 0xf7be9fa1 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