watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.2:17797] Modules linked in: irq event stamp: 2932411 hardirqs last enabled at (2932410): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (2932410): [] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192 hardirqs last disabled at (2932411): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.0+0x15b9/0x8260 kernel/fork.c:1856 softirqs last disabled at (1951): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (1951): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 0 PID: 17797 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192 Code: c0 98 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 01 31 d8 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 26 1b 28 f9 65 8b 05 9f 8d e8 77 85 c0 74 02 5d RSP: 0018:ffff8880ba007de0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff110140a1d32 RDX: dffffc0000000000 RSI: ffff8880a050e998 RDI: ffff8880a050e944 RBP: ffff8880ba022b40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8688f6d0 R13: ffff8880ba022b40 R14: ffff8880ba007e78 R15: 0000000000000000 FS: 00007f4d7e5a9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555573b1708 CR3: 0000000094a44000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: expire_timers+0x238/0x4e0 kernel/time/timer.c:1374 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:rcu_read_lock include/linux/rcupdate.h:628 [inline] RIP: 0010:ext4_get_group_desc+0x393/0x4e0 fs/ext4/balloc.c:284 Code: ff e8 11 17 8a ff 48 c7 c2 c0 fd 79 88 be 1c 01 00 00 48 c7 c7 c0 ff 79 88 c6 05 79 1f 36 09 01 e8 36 c7 1a 06 e9 f0 fd ff ff e8 16 8a ff 0f b6 05 67 1f 36 09 31 ff 89 c6 88 44 24 04 e8 04 RSP: 0018:ffff88822607f608 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81d86c1e RDX: ffffffff81d86bd5 RSI: ffff8880a050e0c0 RDI: 0000000000000005 RBP: ffff8880a3d80380 R08: 0000000065825d7f R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a3d823c0 R13: 0000000000000000 R14: ffff8880a3d80a00 R15: 0000000000000000 recently_deleted fs/ext4/ialloc.c:680 [inline] find_inode_bit+0x1a0/0x520 fs/ext4/ialloc.c:724 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2517 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4d7fc55049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4d7e5a9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f4d7fd68030 RCX: 00007f4d7fc55049 RDX: 0000000000000000 RSI: 00000000000200c2 RDI: 0000000020000040 RBP: 00007f4d7fcaf08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5a773dcf R14: 00007f4d7e5a9300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17729 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:29 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:211 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x41/0x170 mm/kasan/kasan.c:267 Code: 48 39 c7 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 55 48 89 fd 49 c1 e9 03 48 c1 ed 03 53 <49> 01 c1 48 01 c5 49 8d 59 01 48 89 e8 48 89 da 48 29 ea 48 83 fa RSP: 0018:ffff8880ba107748 EFLAGS: 00000806 RAX: dffffc0000000000 RBX: ffff888099408a00 RCX: ffffffff8176d6ca RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888099408bd8 RBP: 1ffff1101328117b R08: 0000000000000001 R09: 1ffff1101328117b R10: ffff888099408bdf R11: ffffffff8c66505b R12: ffff888099408b58 R13: ffffffff89fe85a0 R14: ffff888099408a00 R15: dffffc0000000000 FS: 00007ff6155ff700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff61555a718 CR3: 000000001c488000 CR4: 00000000003406e0 DR0: 00000000000000ff DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpu_clock_event_update kernel/events/core.c:9339 [inline] cpu_clock_event_read+0x2a/0x50 kernel/events/core.c:9371 perf_swevent_hrtimer+0x128/0x3e0 kernel/events/core.c:9254 __run_hrtimer kernel/time/hrtimer.c:1465 [inline] __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1527 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3911 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 09 2e a6 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff8880ba107cd0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3051 RBX: ffff88800df10640 RCX: 0000000000007ee0 RDX: dffffc0000000000 RSI: 000000004514b9dd RDI: 0000000000000286 RBP: ffff8880ba107d58 R08: ffffffff8cd56c40 R09: 0000000000000000 R10: ffff88800df10ec8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 call_timer_fn+0x113/0x700 kernel/time/timer.c:1335 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:150 [inline] RIP: 0010:unwind_next_frame+0x285/0x1400 arch/x86/kernel/unwind_orc.c:422 Code: 48 89 54 24 30 48 89 74 24 28 44 89 5c 24 20 e8 71 de 6e 00 48 8b 54 24 30 48 8b 74 24 28 44 8b 5c 24 20 8b 0c 95 bc 91 17 8c <8d> 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 bc 91 17 8c 49 RSP: 0018:ffff888225c177f8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 1ffff11044b82f08 RCX: 00000000001164eb RDX: 0000000000056d4c RSI: 0000000000056d4c RDI: ffffffff8c2d46ec RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff888225c17987 R11: 0000000000074071 R12: ffff888225c17970 R13: ffff888225c1795d R14: ffff888225c17928 R15: ffffffff866d4c97 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 __d_alloc+0x2b/0xa10 fs/dcache.c:1612 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1743 alloc_file_pseudo+0xc6/0x250 fs/file_table.c:224 sock_alloc_file+0x48/0x180 net/socket.c:406 __sys_accept4+0x236/0x5f0 net/socket.c:1690 __do_sys_accept4 net/socket.c:1736 [inline] __se_sys_accept4 net/socket.c:1733 [inline] __x64_sys_accept4+0x93/0xf0 net/socket.c:1733 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7ff616c8a049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff6155ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000120 RAX: ffffffffffffffda RBX: 00007ff616d9cf60 RCX: 00007ff616c8a049 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000000000043 RBP: 00007ff616ce408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeda8db12f R14: 00007ff6155ff300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 7: fc ff df a: 48 c1 e8 03 shr $0x3,%rax e: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 12: 75 31 jne 0x45 14: 48 83 3d 01 31 d8 01 cmpq $0x0,0x1d83101(%rip) # 0x1d8311d 1b: 00 1c: 74 25 je 0x43 1e: fb sti 1f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 25: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2a: e8 26 1b 28 f9 callq 0xf9281b55 2f: 65 8b 05 9f 8d e8 77 mov %gs:0x77e88d9f(%rip),%eax # 0x77e88dd5 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5d pop %rbp