watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.7:4188] Modules linked in: irq event stamp: 5859849 hardirqs last enabled at (5859848): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5859849): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (5844820): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5844823): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4188 Comm: syz-executor.7 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__unwind_start+0x2cf/0x7e0 arch/x86/kernel/unwind_orc.c:709 Code: 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e f6 02 00 00 41 c7 07 00 00 00 00 48 83 c4 18 5b <5d> 41 5c 41 5d 41 5e 41 5f e9 63 b0 0f 03 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88806cf09718 EFLAGS: 00000292 RAX: 1ffff1100d9e12f0 RBX: ffffffff813009f0 RCX: ffff88806cf097d8 RDX: ffff88806cf0a000 RSI: ffff88806cf097d0 RDI: ffff88806cf09758 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9e12cc R12: ffffed100d9e12eb R13: ffffed100d9e12ea R14: ffff88806cf09780 R15: ffff88806cf09748 FS: 00007fab27859700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff3b547d78 CR3: 000000001afc8000 CR4: 0000000000350ee0 Call Trace: unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5f/0xf0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 skb_copy+0x183/0x350 net/core/skbuff.c:1529 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:crc32_body+0xc6/0x600 lib/crc32.c:110 Code: 03 38 c8 7c 08 84 c9 0f 85 1e 05 00 00 41 8b 47 04 31 d8 0f b6 c8 49 8d 9c 8d 00 1c 00 00 48 89 d9 48 c1 e9 03 42 0f b6 34 21 <48> 89 d9 83 e1 07 83 c1 03 40 38 f1 7c 09 40 84 f6 0f 85 d5 04 00 RSP: 0018:ffff88800f6b7098 EFLAGS: 00000216 RAX: 000000008a6ff14e RBX: ffffffff845bfcf8 RCX: 1ffffffff08b7f9f RDX: 0000000000040000 RSI: 0000000000000000 RDI: ffff8880458441cc RBP: 000000000000000f R08: 0000000000000000 R09: 00000000f338dccf R10: 000000000000000f R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff845bdfc0 R14: 0000000000000009 R15: ffff8880458441c8 chksum_update+0x4c/0xb0 crypto/crc32c_generic.c:88 crypto_shash_update+0xca/0x120 crypto/shash.c:131 ext4_chksum fs/ext4/ext4.h:2302 [inline] ext4_inode_csum+0x657/0x8f0 fs/ext4/inode.c:76 ext4_inode_csum_set fs/ext4/inode.c:114 [inline] ext4_inode_csum_set+0x169/0x360 fs/ext4/inode.c:104 ext4_do_update_inode fs/ext4/inode.c:5249 [inline] ext4_mark_iloc_dirty+0x18dc/0x3630 fs/ext4/inode.c:5838 ext4_xattr_set_handle+0xafb/0x1320 fs/ext4/xattr.c:2426 ext4_initxattrs+0xb5/0x120 fs/ext4/xattr_security.c:43 security_inode_init_security+0x1a7/0x360 security/security.c:1069 __ext4_new_inode+0x3869/0x5370 fs/ext4/ialloc.c:1323 ext4_create+0x2ce/0x4d0 fs/ext4/namei.c:2729 lookup_open.isra.0+0xea8/0x1270 fs/namei.c:3163 open_last_lookups fs/namei.c:3233 [inline] path_openat+0x972/0x2770 fs/namei.c:3422 do_filp_open+0x190/0x3e0 fs/namei.c:3452 do_sys_openat2+0x171/0x4d0 fs/open.c:1227 do_sys_open fs/open.c:1243 [inline] __do_sys_openat fs/open.c:1259 [inline] __se_sys_openat fs/open.c:1254 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1254 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fab2a2e3b19 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:00007fab27859188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fab2a3f6f60 RCX: 00007fab2a2e3b19 RDX: 0000000000000042 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007fab2a33df6d R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001ff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed262e29f R14: 00007fab27859300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 00 a4 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04080 RCX: ffffffff81279b47 RDX: fffffbfff0f40811 RSI: 0000000000000004 RDI: ffffffff87a04080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04083 R10: fffffbfff0f40810 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40810 R14: 0000000000000001 R15: 1ffff1100d9c1348 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560cf03f8678 CR3: 000000000dcd8000 CR4: 0000000000350ef0 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:default_idle+0xe/0x20 arch/x86/kernel/process.c:707 Code: 4e ff ff ff 4c 89 e7 e8 10 1d 85 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 e9 07 00 00 00 0f 00 2d c4 c9 5a 00 fb f4 fd ca 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffffffff84e07e38 EFLAGS: 00000202 RAX: ffffffff83e774b0 RBX: 0000000000000000 RCX: ffffffff83e5f08c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e77ab8 RBP: fffffbfff09c6450 R08: 0000000000000001 R09: ffff88806ce3c12b R10: ffffed100d9c7825 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff85675ec8 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0xbf/0x2c0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x3ad/0x520 kernel/sched/idle.c:300 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 start_kernel+0x464/0x489 init/main.c:1046 secondary_startup_64_no_verify+0xbe/0xcb ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 4c 89 fa fisttps -0x6(%rcx,%rcx,4) 4: 48 c1 ea 03 shr $0x3,%rdx 8: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax c: 84 c0 test %al,%al e: 74 08 je 0x18 10: 3c 03 cmp $0x3,%al 12: 0f 8e f6 02 00 00 jle 0x30e 18: 41 c7 07 00 00 00 00 movl $0x0,(%r15) 1f: 48 83 c4 18 add $0x18,%rsp 23: 5b pop %rbx * 24: 5d pop %rbp <-- trapping instruction 25: 41 5c pop %r12 27: 41 5d pop %r13 29: 41 5e pop %r14 2b: 41 5f pop %r15 2d: e9 63 b0 0f 03 jmpq 0x30fb095 32: 48 rex.W 33: b8 00 00 00 00 mov $0x0,%eax 38: 00 fc add %bh,%ah