watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [syz-executor.1:8637] Modules linked in: irq event stamp: 5385015 hardirqs last enabled at (5385014): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (5385014): [] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192 hardirqs last disabled at (5385015): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (2476334): [] rcu_read_unlock_bh include/linux/rcupdate.h:717 [inline] softirqs last enabled at (2476334): [] ip6_finish_output2+0x1176/0x2290 net/ipv6/ip6_output.c:121 softirqs last disabled at (2476335): [] do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092 CPU: 0 PID: 8637 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192 Code: c0 98 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 01 31 d8 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 26 1b 28 f9 65 8b 05 9f 8d e8 77 85 c0 74 02 5d RSP: 0018:ffff8880ba007e28 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11012951dad RDX: dffffc0000000000 RSI: ffff888094a8ed48 RDI: ffff888094a8ed44 RBP: ffff8880ba022b40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8688f6d0 R13: ffff8880ba022b40 R14: ffff8880ba007ec0 R15: 0000000000000000 FS: 00007fe5c5073700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10800bdfc0 CR3: 000000009e28e000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: expire_timers+0x238/0x4e0 kernel/time/timer.c:1374 __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 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] ip6_finish_output2+0x11a9/0x2290 net/ipv6/ip6_output.c:121 ip6_fragment+0x29bb/0x34e0 net/ipv6/ip6_output.c:761 ip6_finish_output+0x9da/0x10f0 net/ipv6/ip6_output.c:190 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] ip6_local_out+0xaf/0x170 net/ipv6/output_core.c:160 ip6_send_skb+0xb3/0x300 net/ipv6/ip6_output.c:1741 ip6_push_pending_frames+0xbd/0xe0 net/ipv6/ip6_output.c:1761 rawv6_push_pending_frames net/ipv6/raw.c:618 [inline] rawv6_sendmsg+0x2a81/0x36a0 net/ipv6/raw.c:959 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 sock_write_iter+0x287/0x3c0 net/socket.c:966 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_writev+0x153/0x2e0 fs/read_write.c:1005 do_writev+0x136/0x330 fs/read_write.c:1040 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe5c66fe279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe5c5073168 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fe5c6810f80 RCX: 00007fe5c66fe279 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00007fe5c6758189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd864a48f R14: 00007fe5c5073300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8675 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:109 Code: 3d cc 17 3d 0b 01 7f 02 5d c3 89 ef 5d e9 f5 fe c9 06 48 c7 c7 00 97 65 8c e8 84 e2 6f 00 eb df 66 90 89 ff 89 b7 00 c0 5f ff 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48 RSP: 0018:ffff8880ba107458 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff89cfb1a0 RCX: 0000000000000020 RDX: 1ffffffff139f636 RSI: 00000000000000e6 RDI: 0000000000000380 RBP: ffff8880ba11e2c0 R08: ffffffff8c665058 R09: 0000000000000000 R10: 0000000000000007 R11: ffffffff8c66505b R12: 00000000000000e6 R13: 0000000000000000 R14: ffff8880ba124cc0 R15: ffff8880ba124d30 FS: 00007f1080184700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8159527000 CR3: 00000000b3779000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:389 [inline] lapic_next_event+0x4d/0x80 arch/x86/kernel/apic/apic.c:460 clockevents_program_event+0x234/0x350 kernel/time/clockevents.c:344 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:48 hrtimer_interrupt+0x40a/0x9e0 kernel/time/hrtimer.c:1598 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:deref_stack_reg+0x36/0x1d0 arch/x86/kernel/unwind_orc.c:330 Code: 41 55 49 89 d5 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 68 48 c7 44 24 08 b3 8a b5 41 48 8d 5c 24 08 48 c7 44 24 10 35 af b6 89 <48> c1 eb 03 48 c7 44 24 18 20 7f 29 81 48 8d 14 03 c7 02 f1 f1 f1 RSP: 0018:ffff8880ba107670 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880ba107678 RCX: ffffffff8bf58053 RDX: ffff8880ba107878 RSI: ffff8880ba107be8 RDI: ffff8880ba107838 RBP: ffff8880ba107be8 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880ba107897 R11: 0000000000074071 R12: ffff8880ba107838 R13: ffff8880ba107878 R14: ffff8880ba107838 R15: ffffffff8bf5804e unwind_next_frame+0xf83/0x1400 arch/x86/kernel/unwind_orc.c:555 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 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_node_trace+0x151/0x3b0 mm/slab.c:3668 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0xae/0x560 net/core/skbuff.c:205 __netdev_alloc_skb+0x76/0x460 net/core/skbuff.c:407 netdev_alloc_skb include/linux/skbuff.h:2680 [inline] dev_alloc_skb include/linux/skbuff.h:2693 [inline] __ieee80211_beacon_get+0xc7d/0x1a30 net/mac80211/tx.c:4352 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463 ieee80211_beacon_get include/net/mac80211.h:4484 [inline] mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __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:zap_pte_range mm/memory.c:1335 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1463 [inline] RIP: 0010:zap_pud_range mm/memory.c:1492 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1513 [inline] RIP: 0010:unmap_page_range+0x116a/0x2c50 mm/memory.c:1534 Code: ff 48 83 7c 24 50 00 49 89 c5 0f 85 b5 09 00 00 e8 1b e8 d6 ff 48 8b 44 24 18 48 8d 78 20 48 89 f8 48 c1 e8 03 42 0f b6 04 30 <84> c0 74 06 0f 8e e4 09 00 00 48 8b 44 24 18 31 ff 0f b6 40 20 89 RSP: 0018:ffff88805e937770 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 8000000000000007 RCX: ffffffff818b840c RDX: 0000000000000000 RSI: ffffffff818b9d55 RDI: ffff88805e9379d0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000023ffff R10: 0000000000000006 R11: 0000000000000000 R12: 800000009d218007 R13: ffffea0002748600 R14: dffffc0000000000 R15: 00007f1080a2f000 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 __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:0x7f108180f279 Code: Bad RIP value. RSP: 002b:00007f1080184168 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000006 RBX: 00007f1081921f80 RCX: 00007f108180f279 RDX: 0000000000000006 RSI: 0000000000000003 RDI: 000000000000000a RBP: 00007f1081869189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffcb9d7abf R14: 00007f1080184300 R15: 0000000000022000