watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz-executor.0:4996] Modules linked in: CPU: 0 PID: 4996 Comm: syz-executor.0 Tainted: G W 5.15.149-syzkaller-00131-g79bd336c7a94 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 cb 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:ffffc90000e67960 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff920001ccf30 RCX: ffffffff8154fa3f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881274f9090 RBP: ffffc90000e67a10 R08: dffffc0000000000 R09: ffffed1024e9f213 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881274f9090 R14: 0000000000000003 R15: 1ffff920001ccf34 FS: 000055555685f480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ed24000 CR3: 0000000129f48000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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 spin_lock_bh include/linux/spinlock.h:368 [inline] sk_psock_link_pop+0x2e/0x170 net/core/skmsg.c:753 sock_map_remove_links+0x25/0x570 net/core/sock_map.c:1504 sock_map_close+0x2ac/0x4c0 net/core/sock_map.c:1546 unix_release+0x82/0xc0 net/unix/af_unix.c:949 __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:0x7f7351c00e5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffefa99ed40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f7351c00e5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffffffffffffffff R08: 00007f7351b85000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 00007f7351d38f80 R13: 00007f7351d38f8c R14: 0000000000000032 R15: 00007f7351d3a980 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4993 Comm: syz-executor.2 Tainted: G W 5.15.149-syzkaller-00131-g79bd336c7a94 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:912 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 fa 03 f3 03 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc900001cf800 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000039f04 RCX: ffffffff8154fa3f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888127454928 RBP: ffffc900001cf8b0 R08: dffffc0000000000 R09: ffffed1024e8a926 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888127454928 R14: 0000000000000003 R15: 1ffff92000039f08 FS: 00007fa1543766c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffefa99ee38 CR3: 000000012d333000 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_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_map_delete net/core/sock_map.c:416 [inline] sock_map_delete_elem+0x99/0x130 net/core/sock_map.c:448 bpf_prog_2c29ac5cdc6b1842+0x3a/0xc14 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:1880 [inline] bpf_trace_run4+0x13f/0x270 kernel/trace/bpf_trace.c:1919 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline] __alloc_pages+0x3cb/0x8f0 mm/page_alloc.c:5798 __alloc_pages_node include/linux/gfp.h:591 [inline] alloc_pages_node include/linux/gfp.h:605 [inline] alloc_pages include/linux/gfp.h:618 [inline] __stack_depot_save+0x38d/0x470 lib/stackdepot.c:326 stack_depot_save+0xe/0x10 lib/stackdepot.c:383 save_stack+0x104/0x1e0 mm/page_owner.c:140 __set_page_owner+0x28/0x2e0 mm/page_owner.c:200 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1a3/0x1b0 mm/page_alloc.c:2604 prep_new_page+0x1b/0x110 mm/page_alloc.c:2610 get_page_from_freelist+0x3550/0x35d0 mm/page_alloc.c:4484 __alloc_pages+0x27e/0x8f0 mm/page_alloc.c:5776 __alloc_pages_node include/linux/gfp.h:591 [inline] alloc_pages_node include/linux/gfp.h:605 [inline] alloc_pages include/linux/gfp.h:618 [inline] __stack_depot_save+0x38d/0x470 lib/stackdepot.c:326 kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track+0x5d/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x126/0x160 mm/kasan/common.c:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0xbd/0x190 mm/slub.c:1749 slab_free mm/slub.c:3519 [inline] kfree+0xc8/0x220 mm/slub.c:4579 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_map_delete net/core/sock_map.c:422 [inline] sock_map_delete_elem+0xc1/0x130 net/core/sock_map.c:448 bpf_prog_2c29ac5cdc6b1842+0x3a/0xc14 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:1880 [inline] bpf_trace_run4+0x13f/0x270 kernel/trace/bpf_trace.c:1919 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline] __alloc_pages+0x3cb/0x8f0 mm/page_alloc.c:5798 allocate_slab mm/slub.c:1932 [inline] new_slab+0x9a/0x4e0 mm/slub.c:1995 ___slab_alloc+0x39e/0x830 mm/slub.c:3028 __slab_alloc+0x4a/0x90 mm/slub.c:3115 slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3248 [inline] kmem_cache_alloc+0x134/0x200 mm/slub.c:3253 __sigqueue_alloc+0x130/0x200 kernel/signal.c:439 __send_signal+0x1fd/0xcb0 kernel/signal.c:1125 send_signal+0x43a/0x590 kernel/signal.c:1254 do_send_sig_info+0xde/0x230 kernel/signal.c:1303 group_send_sig_info+0x113/0x460 kernel/signal.c:1451 do_bpf_send_signal+0x8c/0x150 kernel/trace/bpf_trace.c:779 irq_work_single kernel/irq_work.c:155 [inline] irq_work_run_list+0x1c2/0x290 kernel/irq_work.c:177 irq_work_run+0x69/0xf0 kernel/irq_work.c:186 __sysvec_irq_work+0x63/0x1b0 arch/x86/kernel/irq_work.c:22 sysvec_irq_work+0x92/0xb0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1b/0x20 arch/x86/include/asm/idtentry.h:664 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x49/0x70 kernel/locking/spinlock.c:202 Code: 08 00 74 0c 48 c7 c7 d8 54 8d 86 e8 71 45 e9 fc 48 83 3d b1 2a c4 01 00 74 2a 48 89 df e8 e3 bb 8b fc 66 90 fb bf 01 00 00 00 42 ff 82 fc 65 8b 05 43 43 39 7b 85 c0 74 03 5b 5d c3 e8 43 57 RSP: 0018:ffffc90000d4fbb8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8881449ea300 RCX: dffffc0000000000 RDX: ffffc9000231e000 RSI: 000000000003ffff RDI: 0000000000000001 RBP: ffffc90000d4fbc0 R08: ffffffff81456d9a R09: fffff520001a9fc0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881449ea300 R13: ffff8881449ea720 R14: 0000000000000021 R15: dffffc0000000000 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x1562/0x1630 kernel/signal.c:2899 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 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:0x7fa154fa6880 Code: 5b 5d c3 48 8d 3d fa 1b 0b 00 e8 ab fb ff ff 48 8d 3d fc 1b 0b 00 e8 9f fb ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <53> 89 fb 48 83 ec 10 64 8b 04 25 ac ff ff ff 85 c0 74 2a 89 fe 31 RSP: 002b:00007fa1543752b8 EFLAGS: 00000283 RAX: 0000000000000000 RBX: 00007fa154375dc0 RCX: 00007fa1550fcbc0 RDX: 00007fa1543752c0 RSI: 00007fa1543753f0 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000073 R13: 00007fa154375f40 R14: 9999999999999999 R15: 0000000000000000