watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.1:5566] Modules linked in: irq event stamp: 4262980 hardirqs last enabled at (4262979): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4262980): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (56980): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (54065): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5566 Comm: syz-executor.1 Not tainted 5.10.123 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 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+0x11e/0x8c0 kernel/locking/qspinlock.c:326 Code: 8b 84 24 80 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 05 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 f3 90 77 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88800f447358 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88800eb08040 RCX: ffffffff8126fcf7 RDX: ffffed1001d61009 RSI: 0000000000000004 RDI: ffff88800eb08040 RBP: 0000000000000001 R08: 0000000000000000 R09: ffff88800eb08043 R10: ffffed1001d61008 R11: 0000000000000001 R12: 0000000000000003 R13: ffffed1001d61008 R14: 0000000000000001 R15: 1ffff11001e88e6c FS: 00007fcfb7f66700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007038 CR3: 000000003935e000 CR4: 0000000000350ef0 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1d8/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] ext4_lock_group fs/ext4/ext4.h:3360 [inline] ext4_free_blocks+0x17a5/0x20e0 fs/ext4/mballoc.c:5489 ext4_free_branches+0x2fc/0x680 fs/ext4/indirect.c:1071 ext4_ind_truncate+0x68e/0x900 fs/ext4/indirect.c:1188 ext4_truncate+0x7b4/0x12b0 fs/ext4/inode.c:4315 ext4_setattr+0x14c3/0x22b0 fs/ext4/inode.c:5557 notify_change+0xb9e/0x1080 fs/attr.c:336 do_truncate+0x134/0x1f0 fs/open.c:64 handle_truncate fs/namei.c:2905 [inline] do_open fs/namei.c:3247 [inline] path_openat+0x1d4d/0x26c0 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16d/0x420 fs/open.c:1180 do_sys_open fs/open.c:1196 [inline] __do_sys_creat fs/open.c:1270 [inline] __se_sys_creat fs/open.c:1264 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1264 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fcfba9f0b19 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:00007fcfb7f66188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fcfbab03f60 RCX: 00007fcfba9f0b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000020000100 RBP: 00007fcfbaa4af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdba2db37f R14: 00007fcfb7f66300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5568 Comm: syz-executor.5 Not tainted 5.10.123 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:281 [inline] RIP: 0010:lapic_next_deadline+0x21/0x40 arch/x86/kernel/apic/apic.c:480 Code: 00 00 00 00 00 0f 1f 40 00 0f ae f0 0f ae e8 0f 31 48 c1 e2 20 b9 e0 06 00 00 48 09 c2 48 8d 04 fa 48 89 c2 48 c1 ea 20 0f 30 <0f> 1f 44 00 00 31 c0 c3 48 89 c6 31 d2 bf e0 06 00 00 e8 08 d0 ec RSP: 0018:ffff88806cf09590 EFLAGS: 00000017 RAX: 00000059969afa78 RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 0000000000000059 RSI: ffff88806cf27980 RDI: 0000000000000503 RBP: ffff88806cf27980 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000503 R13: 0000000000000000 R14: 7fffffffffffffff R15: 0000000000000000 FS: 00007f5ad2690700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007038 CR3: 0000000039f0c000 CR4: 0000000000350ee0 Call Trace: clockevents_program_event+0x240/0x350 kernel/time/clockevents.c:334 tick_program_event+0xa0/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x3e1/0x9b0 kernel/time/hrtimer.c:1722 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1084 [inline] __sysvec_apic_timer_interrupt+0xfb/0x400 arch/x86/kernel/apic/apic.c:1101 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:unwind_done arch/x86/include/asm/unwind.h:46 [inline] RIP: 0010:unwind_get_return_address+0xe/0x90 arch/x86/kernel/unwind_orc.c:315 Code: ff ff ff e8 d4 b9 5a 00 eb b4 e8 cd b9 5a 00 eb 80 66 66 2e 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 <48> c1 ea 03 53 48 89 fb 0f b6 04 02 84 c0 74 04 3c 03 7e 51 8b 03 RSP: 0018:ffff88806cf09788 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: ffffffff812f51d0 RCX: ffff88806cf09828 RDX: ffff88806cf09798 RSI: ffff88806cf09820 RDI: ffff88806cf09798 RBP: ffff88806cf09820 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000030041 R11: 1ffff1100d9e12d6 R12: ffff88806cf09850 R13: 0000000000000000 R14: ffff88803ac3e600 R15: ffff88803a129500 arch_stack_walk+0x99/0xf0 arch/x86/kernel/stacktrace.c:26 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/0x150 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/0x310 mm/slub.c:3165 __skb_ext_put+0x120/0x2d0 net/core/skbuff.c:6380 skb_ext_put include/linux/skbuff.h:4187 [inline] skb_release_head_state+0x218/0x350 net/core/skbuff.c:671 skb_release_all net/core/skbuff.c:677 [inline] __kfree_skb net/core/skbuff.c:693 [inline] kfree_skb.part.0+0x6b/0x260 net/core/skbuff.c:711 kfree_skb+0x7d/0x100 include/linux/refcount.h:279 neigh_invalidate+0x213/0x560 net/core/neighbour.c:999 neigh_timer_handler+0xcbe/0x1050 net/core/neighbour.c:1086 call_timer_fn+0x182/0x580 kernel/time/timer.c:1414 expire_timers kernel/time/timer.c:1459 [inline] __run_timers.part.0+0x663/0xa10 kernel/time/timer.c:1753 __run_timers kernel/time/timer.c:1731 [inline] run_timer_softirq+0x80/0x120 kernel/time/timer.c:1766 __do_softirq+0x1b8/0x867 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+0x110/0x1a0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 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 1a 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 d1 04 00 RSP: 0018:ffff88803c77f2c8 EFLAGS: 00000213 RAX: 0000000043852e5b RBX: ffffffff843b9bac RCX: 1ffffffff0877375 RDX: 0000000000040000 RSI: 0000000000000000 RDI: ffff888019138a10 RBP: 0000000000000200 R08: 0000000000000000 R09: 00000000698a64df R10: 0000000000000200 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff843b7e40 R14: 0000000000000142 R15: ffff888019138a0c chksum_update+0x4c/0xb0 crypto/crc32c_generic.c:88 crypto_shash_update+0xca/0x120 crypto/shash.c:131 ext4_chksum fs/ext4/ext4.h:2297 [inline] ext4_block_bitmap_csum_set+0x21b/0x3b0 fs/ext4/bitmap.c:94 ext4_free_blocks+0xbd0/0x20e0 fs/ext4/mballoc.c:5515 ext4_free_branches+0x2fc/0x680 fs/ext4/indirect.c:1071 ext4_free_branches+0x42e/0x680 fs/ext4/indirect.c:1030 ext4_ind_truncate+0x68e/0x900 fs/ext4/indirect.c:1188 ext4_truncate+0x7b4/0x12b0 fs/ext4/inode.c:4315 ext4_setattr+0x14c3/0x22b0 fs/ext4/inode.c:5557 notify_change+0xb9e/0x1080 fs/attr.c:336 do_truncate+0x134/0x1f0 fs/open.c:64 handle_truncate fs/namei.c:2905 [inline] do_open fs/namei.c:3247 [inline] path_openat+0x1d4d/0x26c0 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16d/0x420 fs/open.c:1180 do_sys_open fs/open.c:1196 [inline] __do_sys_creat fs/open.c:1270 [inline] __se_sys_creat fs/open.c:1264 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1264 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f5ad511ab19 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:00007f5ad2690188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f5ad522df60 RCX: 00007f5ad511ab19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000020000100 RBP: 00007f5ad5174f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc72a1675f R14: 00007f5ad2690300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 8b 84 24 80 00 00 00 mov 0x80(%rsp),%eax 7: 65 48 2b 04 25 28 00 sub %gs:0x28,%rax e: 00 00 10: 0f 85 05 07 00 00 jne 0x71b 16: 48 81 c4 88 00 00 00 add $0x88,%rsp 1d: 5b pop %rbx 1e: 5d pop %rbp 1f: 41 5c pop %r12 21: 41 5d pop %r13 23: 41 5e pop %r14 25: 41 5f pop %r15 27: c3 retq 28: f3 90 pause * 2a: e9 77 ff ff ff jmpq 0xffffffa6 <-- trapping instruction 2f: 44 8b 74 24 48 mov 0x48(%rsp),%r14d 34: 41 81 fe 00 01 00 00 cmp $0x100,%r14d 3b: 0f .byte 0xf 3c: 84 e1 test %ah,%cl