watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz-executor.4:14012] Modules linked in: CPU: 1 PID: 14012 Comm: syz-executor.4 Tainted: G W 6.1.75-syzkaller-00017-gca4095789fda #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x851/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 0b 9e 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 46 9a 09 00 e9 2f ff ff ff f3 90 <42> 0f b6 04 3b 84 c0 75 14 41 f7 06 01 00 00 00 0f 84 12 ff ff ff RSP: 0000:ffffc90004247820 EFLAGS: 00000293 RAX: ffffffff816bc3fc RBX: 1ffff1103ee07919 RCX: ffff8881297b6540 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004247928 R08: ffffffff816bc3c5 R09: ffffc900042476a8 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000800000000 R14: ffff8881f703c8c8 R15: dffffc0000000000 FS: 00005555572d3480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c052db2e0 CR3: 0000000130fab000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166 native_flush_tlb_multi+0x143/0x210 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline] flush_tlb_multi arch/x86/mm/tlb.c:924 [inline] flush_tlb_mm_range+0x298/0x360 arch/x86/mm/tlb.c:1010 flush_tlb_page arch/x86/include/asm/tlbflush.h:240 [inline] ptep_clear_flush+0x115/0x150 mm/pgtable-generic.c:98 wp_page_copy+0xca9/0x1690 mm/memory.c:3247 do_wp_page+0xc25/0xdf0 handle_pte_fault mm/memory.c:5113 [inline] __handle_mm_fault mm/memory.c:5237 [inline] handle_mm_fault+0x15a2/0x2f40 mm/memory.c:5377 do_user_addr_fault arch/x86/mm/fault.c:1363 [inline] handle_page_fault arch/x86/mm/fault.c:1506 [inline] exc_page_fault+0x3b3/0x700 arch/x86/mm/fault.c:1562 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f4c0465291e Code: 31 ff 4d 01 f2 41 0f 92 c7 72 a6 48 8b 44 24 08 48 8d 84 06 00 08 00 00 4c 01 f0 48 21 d8 49 39 c2 72 8e 31 c0 be 01 00 00 00 0f b1 35 ba 89 c8 00 0f 85 26 0a 00 00 c1 e1 02 48 8b 05 ca 89 RSP: 002b:00007ffc3ff45da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: fffffffffffff000 RCX: 0000000000000006 RDX: 000000000000003f RSI: 0000000000000001 RDI: 00007ffc3ff45ff8 RBP: 0000000000000000 R08: 00007f4c047ac05c R09: 00007f4c047ac05c R10: 0000000000021000 R11: 0000000000020000 R12: 00007ffc3ff46040 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14013 Comm: syz-executor.4 Tainted: G W 6.1.75-syzkaller-00017-gca4095789fda #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline] RIP: 0010:kvm_wait+0x117/0x180 arch/x86/kernel/kvm.c:1058 Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d 1a 12 11 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc90000007660 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000000ed0 RCX: ffffffff84ff6d9c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88813d436140 RBP: ffffc90000007710 R08: dffffc0000000000 R09: ffffed1027a86c29 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813d436140 R14: 0000000000000003 R15: 1ffff92000000ed4 FS: 00007f4c054306c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020842000 CR3: 0000000130fab000 CR4: 00000000003506b0 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __stack_map_get+0x10f/0x3d0 kernel/bpf/queue_stack_maps.c:144 stack_map_pop_elem+0x22/0x30 kernel/bpf/queue_stack_maps.c:189 bpf_prog_bf9a7c5adf7f532a+0x3a/0x3e bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314 __bpf_trace_contention_end+0xb/0x10 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0xd59/0xda0 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __stack_map_get+0x10f/0x3d0 kernel/bpf/queue_stack_maps.c:144 stack_map_pop_elem+0x22/0x30 kernel/bpf/queue_stack_maps.c:189 bpf_prog_bf9a7c5adf7f532a+0x3a/0x3e bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314 __bpf_trace_tlb_flush+0x23/0x30 include/trace/events/tlb.h:38 trace_tlb_flush include/trace/events/tlb.h:38 [inline] flush_tlb_func+0x526/0x540 arch/x86/mm/tlb.c:875 __flush_smp_call_function_queue+0x222/0x6a0 kernel/smp.c:641 generic_smp_call_function_single_interrupt+0x13/0x20 kernel/smp.c:557 __sysvec_call_function_single+0x63/0x1b0 arch/x86/kernel/smp.c:267 sysvec_call_function_single+0x92/0xb0 arch/x86/kernel/smp.c:262 asm_sysvec_call_function_single+0x1b/0x20 arch/x86/include/asm/idtentry.h:661 RIP: 0010:kasan_check_range+0x6/0x2a0 mm/kasan/generic.c:188 Code: c6 48 89 c7 e8 db 66 3d 03 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 a4 01 00 00 48 89 fb 48 RSP: 0018:ffffc900044df898 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffffffff81f492c4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88815ac33d20 RBP: ffffc900044df8a0 R08: ffffffff81f492a3 R09: ffffed102b5867a5 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000841000 R13: ffff88815ac33d20 R14: 1ffff1102b5867a4 R15: ffffea00050800c0 __kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] buffer_delay include/linux/buffer_head.h:130 [inline] ext4_da_should_update_i_disksize fs/ext4/inode.c:3057 [inline] ext4_da_write_end+0x5b4/0x9a0 fs/ext4/inode.c:3106 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3849 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285 ext4_file_write_iter+0x194/0x1570 call_write_iter include/linux/fs.h:2258 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x902/0xeb0 fs/read_write.c:584 ksys_write+0x199/0x2c0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4c0467de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4c054300c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4c047abf80 RCX: 00007f4c0467de69 RDX: 000000011ffffce1 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f4c046ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4c047abf80 R15: 00007ffc3ff45df8