watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:4427] Modules linked in: irq event stamp: 4634943 hardirqs last enabled at (4634942): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4634943): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (4607204): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4607207): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4427 Comm: syz-executor.0 Not tainted 5.10.229 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:unwind_next_frame+0xe5/0x1a90 arch/x86/kernel/unwind_orc.c:424 Code: 89 c2 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 2f 13 00 00 49 8b 45 38 65 ff 05 9b fb f1 7e <48> 89 44 24 18 49 8d 45 50 48 89 c2 48 89 04 24 48 b8 00 00 00 00 RSP: 0018:ffff88806ce095c8 EFLAGS: 00000206 RAX: ffff88804639f980 RBX: 0000000000000001 RCX: 1ffff1100d9c1201 RDX: 1ffff1100d9c12db RSI: ffffffff8157af0c RDI: ffff88806ce096a0 RBP: ffff88806ce09728 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9c12c1 R12: ffff88806ce096e8 R13: ffff88806ce096a0 R14: 1ffff1100d9c12c1 R15: 0000000000000170 FS: 00007f1af8fe5700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555565392c58 CR3: 0000000033480000 CR4: 0000000000350ef0 Call Trace: 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] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] __kmalloc_node_track_caller+0x1a6/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 __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:stack_trace_consume_entry+0x35/0x160 kernel/stacktrace.c:85 Code: 53 48 89 fb 48 83 c7 10 48 89 fa 48 c1 ea 03 48 83 ec 08 0f b6 04 02 84 c0 74 08 3c 03 0f 8e e7 00 00 00 48 8d 7b 08 8b 6b 10 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 RSP: 0018:ffff88804639f338 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88804639f410 RCX: ffff88804639f3e8 RDX: 1ffff11008c73e84 RSI: ffffffff8130259c RDI: ffff88804639f418 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff11008c73e4e R12: ffff88804639f410 R13: 0000000000000000 R14: ffff888046593480 R15: ffff88801d490828 arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:27 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 free_buffer_head+0x42/0xa0 fs/buffer.c:3352 try_to_free_buffers+0x235/0x3e0 fs/buffer.c:3266 jbd2_journal_try_to_free_buffers+0x37c/0x480 fs/jbd2/transaction.c:2183 ext4_releasepage+0x177/0x300 fs/ext4/inode.c:3376 try_to_release_page+0x1be/0x270 mm/filemap.c:3532 block_invalidatepage+0x445/0x4c0 fs/buffer.c:1544 do_invalidatepage mm/truncate.c:163 [inline] truncate_cleanup_page+0x205/0x2a0 mm/truncate.c:182 truncate_inode_pages_range+0x4bc/0x1290 mm/truncate.c:362 swap_inode_boot_loader fs/ext4/ioctl.c:161 [inline] __ext4_ioctl+0x1600/0x4190 fs/ext4/ioctl.c:1065 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f1afba6fb19 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:00007f1af8fe5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1afbb82f60 RCX: 00007f1afba6fb19 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 00007f1afbac9f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5d91492f R14: 00007f1af8fe5300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 ---------------- Code disassembly (best guess): 0: 89 c2 mov %eax,%edx 2: 48 89 44 24 08 mov %rax,0x8(%rsp) 7: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax e: fc ff df 11: 48 c1 ea 03 shr $0x3,%rdx 15: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 19: 0f 85 2f 13 00 00 jne 0x134e 1f: 49 8b 45 38 mov 0x38(%r13),%rax 23: 65 ff 05 9b fb f1 7e incl %gs:0x7ef1fb9b(%rip) # 0x7ef1fbc5 * 2a: 48 89 44 24 18 mov %rax,0x18(%rsp) <-- trapping instruction 2f: 49 8d 45 50 lea 0x50(%r13),%rax 33: 48 89 c2 mov %rax,%rdx 36: 48 89 04 24 mov %rax,(%rsp) 3a: 48 rex.W 3b: b8 00 00 00 00 mov $0x0,%eax