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: 0 UID: 0 PID: 1128 Comm: kworker/u8:5 Not tainted 6.12.0-syzkaller-12113-gbcc8eda6d349 #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 8a 53 97 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 64 53 97 f7 48 8b 45 00 4c 39 f0 RSP: 0018:ffffc900040bec20 EFLAGS: 00010206 RAX: 0000000000000012 RBX: ffffffff8e2cba90 RCX: ffff88802759da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000091 R08: ffffffff8a6fd958 R09: 1ffffffff2850510 R10: dffffc0000000000 R11: fffffbfff2850511 R12: dffffc0000000000 R13: ffff88805bd77510 R14: ffff88805bd77400 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65b09bd000 CR3: 0000000030b26000 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 dev_close+0x1c0/0x2c0 net/core/dev.c:1611 cfg80211_shutdown_all_interfaces+0xbb/0x1d0 net/wireless/core.c:280 ieee80211_remove_interfaces+0x106/0x700 net/mac80211/iface.c:2283 ieee80211_unregister_hw+0x5d/0x2c0 net/mac80211/main.c:1671 mac80211_hwsim_del_radio+0x2c4/0x4c0 drivers/net/wireless/virtual/mac80211_hwsim.c:5625 hwsim_exit_net+0x5c1/0x670 drivers/net/wireless/virtual/mac80211_hwsim.c:6505 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x802/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 8a 53 97 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 64 53 97 f7 48 8b 45 00 4c 39 f0 RSP: 0018:ffffc900040bec20 EFLAGS: 00010206 RAX: 0000000000000012 RBX: ffffffff8e2cba90 RCX: ffff88802759da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000091 R08: ffffffff8a6fd958 R09: 1ffffffff2850510 R10: dffffc0000000000 R11: fffffbfff2850511 R12: dffffc0000000000 R13: ffff88805bd77510 R14: ffff88805bd77400 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65b09bd000 CR3: 000000000e736000 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 8a 53 97 f7 call 0xf797539d 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 64 53 97 f7 call 0xf797539d 39: 48 8b 45 00 mov 0x0(%rbp),%rax 3d: 4c 39 f0 cmp %r14,%rax