mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.4:10596] Modules linked in: irq event stamp: 3497709 hardirqs last enabled at (3497708): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (3497709): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (3466634): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (3466637): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (3466637): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 0 PID: 10596 Comm: syz-executor.4 Not tainted 4.19.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__unwind_start+0x511/0x960 arch/x86/kernel/unwind_orc.c:636 Code: 6e 00 4c 8b 4c 24 08 45 88 67 35 48 b8 00 00 00 00 00 fc ff df 4c 89 ca 4d 8d 67 20 48 c1 ea 03 80 3c 02 00 0f 85 60 03 00 00 <48> b8 00 00 00 00 00 fc ff df 48 8b 14 24 49 8b 77 28 48 c1 ea 03 RSP: 0018:ffff8880ba007620 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880ba007768 RCX: ffffffff81299b25 RDX: 1ffff11017400ee2 RSI: 0000000000000000 RDI: ffff8880ba007748 RBP: 1ffff11017400ec8 R08: 0000000000000001 R09: ffff8880ba007710 R10: ffff8880ba007747 R11: 000000006714ad40 R12: ffff8880ba007708 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880ba0076e8 FS: 00007f2d6b45e700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe86ef7f20 CR3: 0000000009e6d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_start arch/x86/include/asm/unwind.h:60 [inline] __save_stack_trace+0x72/0x190 arch/x86/kernel/stacktrace.c:43 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625 kmalloc include/linux/slab.h:515 [inline] dst_cow_metrics_generic+0x48/0x190 net/core/dst.c:213 dst_metrics_write_ptr include/net/dst.h:129 [inline] dst_metric_set include/net/dst.h:190 [inline] icmp6_dst_alloc+0x49a/0x660 net/ipv6/route.c:2745 ndisc_send_skb+0xd10/0x1720 net/ipv6/ndisc.c:471 ndisc_send_rs+0x131/0x690 net/ipv6/ndisc.c:685 addrconf_rs_timer+0x384/0x6a0 net/ipv6/addrconf.c:3835 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x50 kernel/kcov.c:101 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b <8b> 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 RSP: 0018:ffff8880277a7738 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff8880abcc80c0 RBX: 0000000000000000 RCX: ffffffff819033aa RDX: 0000000000000000 RSI: ffffffff819033fa RDI: 0000000000000001 RBP: ffffea00028df280 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dead000000000100 R15: 00007f2d6c61a000 page_remove_rmap+0xda/0x120 mm/rmap.c:1297 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x147d/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 exit_mm kernel/exit.c:549 [inline] do_exit+0xaec/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2d6de9a69c Code: Bad RIP value. RSP: 002b:00007f2d6b45d020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 0000000000000020 RBX: 00007f2d6b45d110 RCX: 00007f2d6de9a69c RDX: 0000000000000020 RSI: 00007f2d6b45d160 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f2d6b45d074 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 00007f2d6b45d0c8 R13: 00007f2d6b45d160 R14: 0000000000000004 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10630 Comm: syz-executor.5 Not tainted 4.19.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97 Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 RSP: 0018:ffff8880ba1074f8 EFLAGS: 00000246 RAX: 0000000000000302 RBX: ffff888037f3a748 RCX: ffffffff86a41d6f RDX: 0000000000000000 RSI: ffff8880b30a2680 RDI: 0000000000000001 RBP: ffff8880aa4bb600 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a14b5180 R13: 0000000000000002 R14: ffff8880aa4bb6f0 R15: 0000000000000000 FS: 00007f70a4ce9700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31921000 CR3: 0000000037ddf000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_ct_refresh_acct include/net/netfilter/nf_conntrack.h:198 [inline] udp_packet+0x328/0x410 net/netfilter/nf_conntrack_proto_udp.c:66 nf_conntrack_in+0x56a/0xe20 net/netfilter/nf_conntrack_core.c:1600 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline] nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:511 nf_hook include/linux/netfilter.h:244 [inline] NF_HOOK include/linux/netfilter.h:287 [inline] ip_rcv+0x246/0x3c0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066 netif_receive_skb_internal+0xf0/0x3f0 net/core/dev.c:5156 ieee80211_deliver_skb_to_local_stack net/mac80211/rx.c:2473 [inline] ieee80211_deliver_skb+0x9b6/0xe00 net/mac80211/rx.c:2563 ieee80211_rx_h_data net/mac80211/rx.c:2915 [inline] ieee80211_rx_handlers+0x1b70/0x9730 net/mac80211/rx.c:3685 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3726 [inline] ieee80211_prepare_and_rx_handle+0x23fa/0x6790 net/mac80211/rx.c:4423 __ieee80211_rx_handle_packet net/mac80211/rx.c:4483 [inline] ieee80211_rx_napi+0x108d/0x2470 net/mac80211/rx.c:4672 ieee80211_rx include/net/mac80211.h:4109 [inline] ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092 do_softirq.part.0+0x160/0x1c0 kernel/softirq.c:336 do_softirq kernel/softirq.c:328 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:721 [inline] ip_finish_output2+0xde2/0x15a0 net/ipv4/ip_output.c:232 ip_finish_output+0xae9/0x10b0 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406 dst_output include/net/dst.h:455 [inline] ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125 ip_send_skb+0x3e/0xe0 net/ipv4/ip_output.c:1452 udp_send_skb+0x6a4/0x1170 net/ipv4/udp.c:848 udp_sendmsg+0x1cb4/0x2550 net/ipv4/udp.c:1135 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x3b3/0x8e0 net/socket.c:2227 __sys_sendmmsg+0x195/0x470 net/socket.c:2322 __do_sys_sendmmsg net/socket.c:2351 [inline] __se_sys_sendmmsg net/socket.c:2348 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2348 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f70a77728d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f70a4ce9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f70a7876f60 RCX: 00007f70a77728d9 RDX: 0400000000000070 RSI: 0000000020007fc0 RDI: 0000000000000004 RBP: 00007f70a77cccb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0040030000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3828dd2f R14: 00007f70a4ce9300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 6e outsb %ds:(%rsi),(%dx) 1: 00 4c 8b 4c add %cl,0x4c(%rbx,%rcx,4) 5: 24 08 and $0x8,%al 7: 45 88 67 35 mov %r12b,0x35(%r15) b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 4c 89 ca mov %r9,%rdx 18: 4d 8d 67 20 lea 0x20(%r15),%r12 1c: 48 c1 ea 03 shr $0x3,%rdx 20: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 24: 0f 85 60 03 00 00 jne 0x38a * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 8b 14 24 mov (%rsp),%rdx 38: 49 8b 77 28 mov 0x28(%r15),%rsi 3c: 48 c1 ea 03 shr $0x3,%rdx