RBP: 00007f424ef794a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f424f05af80 R15: 00007ffc48f2e0b8 watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [syz-executor.4:3536] Modules linked in: CPU: 1 PID: 3536 Comm: syz-executor.4 Tainted: G W 5.15.148-syzkaller-00013-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 5b 03 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc900001d07a0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff9200003a0f8 RCX: 1ffffffff0d1aa9c RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7137ed4 RBP: ffffc900001d0850 R08: dffffc0000000000 R09: ffffed103ee26fdb R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7137ed4 R14: 0000000000000001 R15: 1ffff9200003a0fc FS: 00007f424dca06c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f8e000 CR3: 0000000128778000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline] __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x9b0 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 security_cred_free+0xb3/0xf0 security/security.c:1702 put_cred_rcu+0x66/0x320 kernel/cred.c:117 rcu_do_batch+0x57a/0xc10 kernel/rcu/tree.c:2523 rcu_core+0x517/0x1020 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648 irq_exit_rcu+0x9/0x10 kernel/softirq.c:660 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:197 Code: 40 4b 92 7e 65 8b 15 41 4b 92 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 5c 0b 00 00 00 74 2c 8b 91 38 0b 00 00 <83> fa 02 75 21 48 8b 91 40 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 3c RSP: 0018:ffffc90000bc7300 EFLAGS: 00000246 RAX: ffffffff81ca20f2 RBX: ffff888109093348 RCX: ffff88810f1d8000 RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000bc7300 R08: ffffffff819b1a61 R09: fffff9400094af69 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000010b R13: ffff888109198f80 R14: 0000000000000008 R15: 0000000000001000 __getblk_gfp+0x42/0x7c0 fs/buffer.c:1335 sb_getblk include/linux/buffer_head.h:361 [inline] __ext4_get_inode_loc+0x4ce/0xcd0 fs/ext4/inode.c:4345 ext4_get_inode_loc fs/ext4/inode.c:4469 [inline] ext4_reserve_inode_write+0x1bf/0x3d0 fs/ext4/inode.c:5810 __ext4_mark_inode_dirty+0x129/0x7a0 fs/ext4/inode.c:5987 ext4_dirty_inode+0xbd/0x100 fs/ext4/inode.c:6024 __mark_inode_dirty+0x200/0xa50 fs/fs-writeback.c:2464 mark_inode_dirty include/linux/fs.h:2497 [inline] generic_write_end+0x202/0x300 fs/buffer.c:2204 ext4_da_write_end+0x6dc/0xab0 fs/ext4/inode.c:3108 generic_perform_write+0x3b4/0x5a0 mm/filemap.c:3858 ext4_buffered_write_iter+0x48a/0x610 fs/ext4/file.c:270 ext4_file_write_iter+0x443/0x1c80 call_write_iter include/linux/fs.h:2202 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xd5d/0x1110 fs/read_write.c:594 ksys_write+0x199/0x2c0 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f424ef2cea9 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:00007f424dca00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f424f05af80 RCX: 00007f424ef2cea9 RDX: 000000005c9c8df6 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f424ef794a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f424f05af80 R15: 00007ffc48f2e0b8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3564 Comm: syz-executor.3 Tainted: G W 5.15.148-syzkaller-00013-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 5b 03 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000bd75c0 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff9200017aebc RCX: ffffffff8154f88f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888120dd8ec8 RBP: ffffc90000bd7670 R08: dffffc0000000000 R09: ffffed10241bb1da R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888120dd8ec8 R14: 0000000000000003 R15: 1ffff9200017aec0 FS: 00007f32597146c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020646000 CR3: 0000000120e68000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x9b0 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 sk_psock_free_link include/linux/skmsg.h:420 [inline] sock_map_del_link net/core/sock_map.c:160 [inline] sock_map_unref+0x352/0x4d0 net/core/sock_map.c:182 sock_hash_delete_elem+0x274/0x2f0 net/core/sock_map.c:941 bpf_prog_2c29ac5cdc6b1842+0x3a/0x9b0 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 packet_release+0x9a2/0xcb0 net/packet/af_packet.c:3128 __sock_release net/socket.c:649 [inline] sock_close+0xdf/0x270 net/socket.c:1336 __fput+0x3fe/0x910 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0xc4/0xe0 kernel/entry/common.c:175 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f325a9a0ea9 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:00007f32597140c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000005 RBX: 00007f325aacef80 RCX: 00007f325a9a0ea9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f325a9ed4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f325aacef80 R15: 00007ffceaf19f48