watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.4:4494] Modules linked in: irq event stamp: 4546635 hardirqs last enabled at (4546634): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4546635): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4525636): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4525639): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4494 Comm: syz-executor.4 Not tainted 5.10.229 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x6f/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 50 48 63 03 48 01 RSP: 0018:ffff88806cf09620 EFLAGS: 00000216 RAX: 1ffffffff0b281ac RBX: ffffffff85940d60 RCX: ffffffff83e60852 RDX: 0000000000000000 RSI: ffffffff85d3f3f0 RDI: ffffffff85940d40 RBP: ffffffff85940d40 R08: ffffffff85d3f3f0 R09: ffffffff85d3f456 R10: 0000000000032042 R11: 1ffff1100d9e12d5 R12: ffffffff85940d80 R13: ffffffff85940d40 R14: ffffffff85940d40 R15: dffffc0000000000 FS: 00007f1162f94700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6da9423000 CR3: 000000000d0b4000 CR4: 0000000000350ee0 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:178 [inline] unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 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 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:447 netdev_alloc_skb include/linux/skbuff.h:2854 [inline] dev_alloc_skb include/linux/skbuff.h:2867 [inline] __ieee80211_beacon_get+0x3af/0x1440 net/mac80211/tx.c:4876 ieee80211_beacon_get_tim+0x88/0x9f0 net/mac80211/tx.c:4990 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x940 drivers/net/wireless/mac80211_hwsim.c:1740 __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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__orc_find+0x0/0xf0 arch/x86/kernel/unwind_orc.c:35 Code: ff e8 44 49 5c 00 e9 8c fd ff ff e8 3a 49 5c 00 e9 44 fd ff ff cc cc cc cc cc 48 8b 07 e9 88 d4 0f 03 0f 1f 84 00 00 00 00 00 <41> 57 89 d0 41 56 41 55 41 54 4c 8d 64 87 fc 55 53 48 83 ec 10 85 RSP: 0018:ffff88801ac7f0e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff817876e7 RDX: 0000000000000001 RSI: ffffffff85a296a6 RDI: ffffffff85732464 RBP: ffff88801ac7f1f5 R08: ffffffff85a296a6 R09: ffffffff85a296ac R10: 0000000000032042 R11: 1ffff1100358fe25 R12: ffff88801ac7f208 R13: ffff88801ac7f1c0 R14: 1ffff1100358fe25 R15: ffffffff817876e7 orc_find arch/x86/kernel/unwind_orc.c:178 [inline] unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x110/0x160 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kmem_cache_free+0xa7/0x2d0 mm/slub.c:3165 __es_remove_extent+0x358/0x1560 fs/ext4/extents_status.c:1460 ext4_es_remove_extent+0x2e3/0x450 fs/ext4/extents_status.c:1530 ext4_ext_truncate+0x16e/0x250 fs/ext4/extents.c:4455 ext4_truncate+0xc38/0x1160 fs/ext4/inode.c:4335 ext4_setattr+0x1659/0x20f0 fs/ext4/inode.c:5618 notify_change+0xc28/0x1160 fs/attr.c:410 do_truncate+0x134/0x1f0 fs/open.c:64 handle_truncate fs/namei.c:2970 [inline] do_open fs/namei.c:3311 [inline] path_openat+0x1dcd/0x2770 fs/namei.c:3425 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_creat fs/open.c:1319 [inline] __se_sys_creat fs/open.c:1313 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1313 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f1165a3fb19 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:00007f1162f94188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f1165b53020 RCX: 00007f1165a3fb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f1165a99f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc8b73fd3f R14: 00007f1162f94300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 ---------------- Code disassembly (best guess): 0: 72 4d jb 0x4f 2: 4c 89 e0 mov %r12,%rax 5: 48 29 e8 sub %rbp,%rax 8: 48 89 c2 mov %rax,%rdx b: 48 c1 e8 3f shr $0x3f,%rax f: 48 c1 fa 02 sar $0x2,%rdx 13: 48 01 d0 add %rdx,%rax 16: 48 d1 f8 sar %rax 19: 48 8d 5c 85 00 lea 0x0(%rbp,%rax,4),%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 04 jl 0x3b 37: 84 d2 test %dl,%dl 39: 75 50 jne 0x8b 3b: 48 63 03 movslq (%rbx),%rax 3e: 48 rex.W 3f: 01 .byte 0x1