watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [init:1] Modules linked in: CPU: 0 PID: 1 Comm: init Not tainted 5.10.222-syzkaller-01494-gfd58936f3c1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__raw_write_unlock_irq include/linux/rwlock_api_smp.h:268 [inline] RIP: 0010:_raw_write_unlock_irq+0x2a/0x60 kernel/locking/spinlock.c:343 Code: 55 48 89 e5 53 48 89 fb 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 23 c6 03 00 fb bf 01 00 00 00 f1 d0 96 fc 65 8b 05 26 2f 50 7b 85 c0 74 03 5b 5d c3 e8 92 3d RSP: 0018:ffffc90000017b48 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8660a040 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffffc90000017b50 R08: dffffc0000000000 R09: ffffed102442c001 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811a76bf00 R13: ffff8881177340f8 R14: ffff88810020a858 R15: ffff88810acb8488 FS: 00007f8ca08ff380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010bab5000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000020000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: copy_process+0x306c/0x3340 kernel/fork.c:2398 kernel_clone+0x21e/0x9e0 kernel/fork.c:2574 __do_sys_vfork+0xcd/0x130 kernel/fork.c:2662 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8ca0a39a68 Code: 00 48 8d b8 e0 02 00 00 48 89 b8 d8 02 00 00 48 89 b8 e0 02 00 00 b8 11 01 00 00 0f 05 44 89 c0 c3 90 5f b8 3a 00 00 00 0f 05 <57> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 90 43 0f 00 f7 d8 64 89 01 48 RSP: 002b:00007fff7fa8a010 EFLAGS: 00000246 ORIG_RAX: 000000000000003a RAX: ffffffffffffffda RBX: 000055aa5c67fa50 RCX: 00007f8ca0a39a68 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 00007f8ca0bc4bed RBP: 00007f8ca0bff528 R08: 0000000000000007 R09: cbd728644c5e611d R10: 00007fff7fa8a050 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000018 R14: 000055aa5ab54169 R15: 00007f8ca0c30a80 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6126 Comm: syz.2.1001 Not tainted 5.10.222-syzkaller-01494-gfd58936f3c1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:perf_callchain_store include/linux/perf_event.h:1306 [inline] RIP: 0010:perf_callchain_kernel+0x48e/0x640 arch/x86/events/core.c:2567 Code: 03 42 80 3c 20 00 74 08 48 89 df e8 5c 62 a7 00 4c 89 33 48 8b 44 24 30 42 0f b6 04 20 84 c0 0f 85 9e 00 00 00 48 8b 44 24 10 00 4c 89 ff e8 48 33 31 00 48 8b 44 24 18 42 0f b6 04 20 84 c0 RSP: 0018:ffffc9000016fd80 EFLAGS: 00000046 RAX: ffffc9000016ff4c RBX: ffff8881071fc970 RCX: 000000000000001e RDX: ffff8881220ce2c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000016fed0 R08: ffffffff8100dead R09: ffffc9000016fe00 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200002dfbc R14: ffffffff8128b49d R15: ffffc9000016fe00 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a35807ce38 CR3: 000000010cf48000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: get_perf_callchain+0x579/0x810 kernel/events/callchain.c:200 perf_callchain kernel/events/core.c:7197 [inline] perf_prepare_sample+0x35a/0x1af0 kernel/events/core.c:7224 __perf_event_output kernel/events/core.c:7382 [inline] perf_event_output_forward+0xdb/0x1b0 kernel/events/core.c:7402 __perf_event_overflow+0x1c8/0x350 kernel/events/core.c:9058 perf_swevent_hrtimer+0x3fd/0x560 kernel/events/core.c:10461 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x3d7/0xa50 kernel/time/hrtimer.c:1647 hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1709 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:kasan_check_range+0x6/0x2a0 mm/kasan/generic.c:188 Code: c6 48 89 c7 e8 4b be 04 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:ffffc900001707f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff814c5459 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881002bd320 RBP: ffffc90000170800 R08: dffffc0000000000 R09: ffffc90000170b80 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000170b80 R13: ffff8881002bd320 R14: dffffc0000000000 R15: ffff8881002bd300 __kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:367 [inline] update_sg_lb_stats kernel/sched/fair.c:8800 [inline] update_sd_lb_stats kernel/sched/fair.c:9359 [inline] find_busiest_group kernel/sched/fair.c:9624 [inline] load_balance+0xd79/0x76d0 kernel/sched/fair.c:10004 rebalance_domains+0x4da/0xa90 kernel/sched/fair.c:10442 run_rebalance_domains+0xfc/0x1b0 kernel/sched/fair.c:11120 __do_softirq+0x268/0x5bb kernel/softirq.c:309 asm_call_irq_on_stack+0xf/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+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:last_frame arch/x86/kernel/unwind_frame.c:82 [inline] RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:87 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:156 [inline] RIP: 0010:unwind_next_frame+0x12a/0x700 arch/x86/kernel/unwind_frame.c:266 Code: 48 89 45 98 48 8d 58 18 48 89 d8 48 c1 e8 03 80 3c 10 00 74 12 48 89 df e8 33 2d 76 00 48 ba 00 00 00 00 00 fc ff df 48 8b 3b <4c> 8d af 00 80 00 00 48 81 c7 48 7f 00 00 48 8b 5d d0 48 39 fb 0f RSP: 0018:ffffc90000bc7298 EFLAGS: 00000246 RAX: 1ffff11024419c5b RBX: ffff8881220ce2d8 RCX: 0000000000bc7301 RDX: dffffc0000000000 RSI: ffffffff81a81961 RDI: ffffc90000bc0000 RBP: ffffc90000bc7310 R08: ffffc90000bc7408 R09: 0000000000000002 R10: ffffc90000bc7410 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffff8159b260 R14: ffffc90000bc7320 R15: 1ffff92000178e64 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x121/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0xc0/0x190 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kmem_cache_free+0xa9/0x1e0 mm/slub.c:3219 vm_area_free+0x52/0xf0 kernel/fork.c:386 __free_vma mm/mmap.c:179 [inline] put_vma mm/mmap.c:186 [inline] remove_vma mm/mmap.c:205 [inline] exit_mmap+0x494/0x5c0 mm/mmap.c:3363 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:850 do_group_exit+0x141/0x310 kernel/exit.c:985 get_signal+0x10a0/0x1410 kernel/signal.c:2782 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe716e90299 Code: Unable to access opcode bytes at RIP 0x7fe716e9026f. RSP: 002b:00007fe715b10048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: 0000000000000000 RBX: 00007fe71701ef80 RCX: 00007fe716e90299 RDX: 0000000000000050 RSI: 0000000020000240 RDI: 000000000000000a RBP: 00007fe716efd8e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe71701ef80 R15: 00007fffd75f0bb8