watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.4:10606] Modules linked in: irq event stamp: 12904718 hardirqs last enabled at (12904717): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 hardirqs last disabled at (12904718): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (126550): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (126550): [] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 softirqs last disabled at (126209): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (126209): [] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 CPU: 1 PID: 10606 Comm: syz-executor.4 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:302 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5cd/0xb40 kernel/locking/qspinlock.c:473 Code: 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 83 e8 01 0f 84 93 00 00 00 <0f> b6 16 84 d2 74 09 80 fa 03 0f 8e 96 03 00 00 41 8b 57 08 85 d2 RSP: 0018:ffffc90001e3f488 EFLAGS: 00000216 RAX: 0000000000004d3f RBX: ffff8880b9c52900 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed10173aa521 RDI: ffff8880b9d52914 RBP: ffff8880b9d52914 R08: 0000000000000001 R09: ffff8880b9d52914 R10: ffffed10173aa522 R11: 0000000000000000 R12: ffffed101738a522 R13: ffff8880b9c52914 R14: dffffc0000000000 R15: ffff8880b9d52900 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0063) knlGS:00000000f5592b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000400308 CR3: 000000002c524000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] __set_page_dirty_buffers+0x43/0x5d0 fs/buffer.c:624 set_page_dirty+0x285/0x6b0 mm/page-writeback.c:2592 fault_dirty_shared_page+0xc7/0x400 mm/memory.c:2900 wp_page_shared mm/memory.c:3219 [inline] do_wp_page+0xcf2/0x1ad0 mm/memory.c:3304 handle_pte_fault mm/memory.c:4576 [inline] __handle_mm_fault+0x2ada/0x5320 mm/memory.c:4693 handle_mm_fault+0x1c8/0x790 mm/memory.c:4791 faultin_page mm/gup.c:951 [inline] __get_user_pages+0x503/0xf70 mm/gup.c:1173 __get_user_pages_locked mm/gup.c:1359 [inline] __get_user_pages_remote+0x18f/0x840 mm/gup.c:1868 pin_user_pages_remote+0x63/0x90 mm/gup.c:2941 process_vm_rw_single_vec mm/process_vm_access.c:105 [inline] process_vm_rw_core.constprop.0+0x445/0x990 mm/process_vm_access.c:215 process_vm_rw+0x29c/0x300 mm/process_vm_access.c:283 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline] __ia32_sys_process_vm_writev+0xdc/0x1b0 mm/process_vm_access.c:298 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f98549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55925fc EFLAGS: 00000296 ORIG_RAX: 000000000000015c RAX: ffffffffffffffda RBX: 0000000000000063 RCX: 0000000020c22000 RDX: 0000000000000002 RSI: 0000000020c22fa0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10636 Comm: syz-executor.3 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:110 Code: c7 00 37 ec 8e e8 58 44 89 00 eb b0 66 0f 1f 44 00 00 be 01 00 00 00 e9 06 fc 2c 00 cc cc cc cc cc cc 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:ffffc90000007920 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff8b315a60 RCX: 0000000000000020 RDX: 1ffffffff1662b4e RSI: 0000000000000056 RDI: 0000000000000380 RBP: ffff8880b9c1f300 R08: 000000000000003f R09: 0000000000000000 R10: ffffffff81688e47 R11: 0000000000000000 R12: 0000000000000056 R13: 0000000000000020 R14: ffff8880b9c42400 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f5517b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000816f59c CR3: 000000001d9a5000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x4d/0x80 arch/x86/kernel/apic/apic.c:472 clockevents_program_event+0x254/0x370 kernel/time/clockevents.c:334 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x414/0xa00 kernel/time/hrtimer.c:1676 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xde/0x180 mm/kasan/generic.c:189 Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c RSP: 0018:ffffc90000007b38 EFLAGS: 00000246 RAX: ffffed1005a2a18b RBX: ffffed1005a2a194 RCX: ffffffff8886299a RDX: ffffed1005a2a194 RSI: 000000000000004c RDI: ffff88802d150c50 RBP: ffffed1005a2a18a R08: 0000000000000001 R09: ffff88802d150c9b R10: ffffed1005a2a193 R11: 000000000000003f R12: 000000000000004c R13: ffff88802d150c50 R14: 000000000000004c R15: ffff8880163b9638 memcpy+0x39/0x60 mm/kasan/shadow.c:66 memcpy include/linux/fortify-string.h:191 [inline] skb_put_data include/linux/skbuff.h:2302 [inline] __ieee80211_beacon_get+0xf1a/0x1ac0 net/mac80211/tx.c:5066 ieee80211_beacon_get_tim+0x88/0x930 net/mac80211/tx.c:5175 ieee80211_beacon_get include/net/mac80211.h:4962 [inline] mac80211_hwsim_beacon_tx+0x111/0x930 drivers/net/wireless/mac80211_hwsim.c:1808 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c9/0xb40 kernel/locking/qspinlock.c:508 Code: 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 <38> d8 7f 08 84 c0 0f 85 91 05 00 00 0f b6 45 00 84 c0 75 db be 02 RSP: 0018:ffffc900021af4b0 EFLAGS: 00000212 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffff110034a8f4f RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffff88801a547a7a RBP: ffff88801a547a78 R08: 0000000000000001 R09: ffff88801a547a7b R10: ffffed10034a8f4f R11: 0000000000000000 R12: 00000000000051df R13: ffffed10034a8f4f R14: 0000000000000001 R15: ffff8880b9c52900 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] __set_page_dirty_buffers+0x43/0x5d0 fs/buffer.c:624 set_page_dirty+0x285/0x6b0 mm/page-writeback.c:2592 filemap_page_mkwrite+0x43f/0x700 mm/filemap.c:3255 do_page_mkwrite+0x1a7/0x550 mm/memory.c:2870 do_shared_fault mm/memory.c:4236 [inline] do_fault mm/memory.c:4304 [inline] handle_pte_fault mm/memory.c:4558 [inline] __handle_mm_fault+0x2b7d/0x5320 mm/memory.c:4693 handle_mm_fault+0x1c8/0x790 mm/memory.c:4791 faultin_page mm/gup.c:951 [inline] __get_user_pages+0x503/0xf70 mm/gup.c:1173 __get_user_pages_locked mm/gup.c:1359 [inline] __get_user_pages_remote+0x18f/0x840 mm/gup.c:1868 pin_user_pages_remote+0x63/0x90 mm/gup.c:2941 process_vm_rw_single_vec mm/process_vm_access.c:105 [inline] process_vm_rw_core.constprop.0+0x445/0x990 mm/process_vm_access.c:215 process_vm_rw+0x29c/0x300 mm/process_vm_access.c:283 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline] __ia32_sys_process_vm_writev+0xdc/0x1b0 mm/process_vm_access.c:298 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f1d549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55175fc EFLAGS: 00000296 ORIG_RAX: 000000000000015c RAX: ffffffffffffffda RBX: 0000000000000055 RCX: 0000000020c22000 RDX: 0000000000000002 RSI: 0000000020c22fa0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 24 4c and $0x4c,%al 2: 89 e9 mov %ebp,%ecx 4: 83 e1 07 and $0x7,%ecx 7: 38 ca cmp %cl,%dl 9: 7f 08 jg 0x13 b: 84 d2 test %dl,%dl d: 0f 85 ed 03 00 00 jne 0x400 13: 0f b6 53 14 movzbl 0x14(%rbx),%edx 17: 84 d2 test %dl,%dl 19: 0f 85 9e 00 00 00 jne 0xbd 1f: f3 90 pause 21: 83 e8 01 sub $0x1,%eax 24: 0f 84 93 00 00 00 je 0xbd * 2a: 0f b6 16 movzbl (%rsi),%edx <-- trapping instruction 2d: 84 d2 test %dl,%dl 2f: 74 09 je 0x3a 31: 80 fa 03 cmp $0x3,%dl 34: 0f 8e 96 03 00 00 jle 0x3d0 3a: 41 8b 57 08 mov 0x8(%r15),%edx 3e: 85 d2 test %edx,%edx