watchdog: BUG: soft lockup - CPU#1 stuck for 245s! [syz.8.54:655] Modules linked in: CPU: 1 PID: 655 Comm: syz.8.54 Not tainted 5.15.167-syzkaller-android13-5.15.167_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_done arch/x86/include/asm/unwind.h:46 [inline] RIP: 0010:unwind_get_return_address+0x1d/0x90 arch/x86/kernel/unwind_frame.c:16 Code: 7d 00 eb a1 cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 53 48 89 fb 49 be 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 48 83 3b 00 74 3a 48 83 c3 48 49 89 df 49 RSP: 0018:ffffc900001d0738 EFLAGS: 00000a02 RAX: 1ffff9200003a0ec RBX: ffffc900001d0760 RCX: 00000000001d0701 RDX: 1ffff9200003a0ee RSI: ffffc900037c7f48 RDI: ffffc900001d0760 RBP: ffffc900001d0750 R08: ffffc900001d0848 R09: 0000000000000025 R10: ffffc900001d0850 R11: dffffc0000000001 R12: ffff888100df0000 R13: ffffffff815f77f0 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020282000 CR3: 000000012d354000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:512 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc_track_caller+0x139/0x260 mm/slub.c:4950 kmalloc_reserve net/core/skbuff.c:357 [inline] __alloc_skb+0x10c/0x550 net/core/skbuff.c:428 alloc_skb include/linux/skbuff.h:1183 [inline] ndisc_alloc_skb+0xf3/0x2d0 net/ipv6/ndisc.c:423 ndisc_send_rs+0x26c/0x6a0 net/ipv6/ndisc.c:689 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3979 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1457 expire_timers kernel/time/timer.c:1502 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1773 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1786 handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565 __do_softirq kernel/softirq.c:603 [inline] invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652 irq_exit_rcu+0x9/0x10 kernel/softirq.c:664 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:finish_task_switch+0x191/0x7b0 Code: fb 49 8d 9d 38 0b 00 00 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 7e 02 00 00 80 63 03 bf <4c> 8b 7d d0 48 8b 5d c8 0f 1f 44 00 00 48 85 db 74 6e 49 81 c5 20 RSP: 0018:ffffc900037c72c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888100df0b38 RCX: 0000000000000002 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900037c7310 R08: ffffffff8191f919 R09: fffffbfff0e53363 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f71378c0 R13: ffff888100df0000 R14: dffffc0000000000 R15: ffff8881f7138408 context_switch kernel/sched/core.c:5155 [inline] __schedule+0xcd4/0x1590 kernel/sched/core.c:6512 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6654 __mutex_lock_common kernel/locking/mutex.c:693 [inline] __mutex_lock+0x90e/0x1870 kernel/locking/mutex.c:756 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1007 mutex_lock+0x135/0x1e0 kernel/locking/mutex.c:289 rcu_barrier+0x46/0x400 kernel/rcu/tree.c:4086 netdev_run_todo+0x14b/0x9f0 net/core/dev.c:10629 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:112 tun_detach drivers/net/tun.c:705 [inline] tun_chr_close+0xc4/0x140 drivers/net/tun.c:3440 __fput+0x228/0x8c0 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xc48/0x2ca0 kernel/exit.c:880 do_group_exit+0x141/0x310 kernel/exit.c:1002 get_signal+0x7a3/0x1630 kernel/signal.c:2904 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:320 irqentry_exit+0x12/0x40 kernel/entry/common.c:411 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7fdff485d719 Code: Unable to access opcode bytes at RIP 0x7fdff485d6ef. RSP: 002b:00007fdff34b5038 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fdff4a15058 RCX: 00007fdff485d719 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005 RBP: 00007fdff48d039e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdff4a15058 R15: 00007ffe19cef5c8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1479 Comm: kworker/u4:16 Not tainted 5.15.167-syzkaller-android13-5.15.167_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:ktime_get+0x21/0x160 kernel/time/timekeeping.c:827 Code: 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 5e 27 0f 00 8b 1d f4 64 c8 05 31 ff 89 de e8 ff 2a 0f 00 <85> db 0f 85 1d 01 00 00 e8 42 27 0f 00 44 8b 25 bb 7b ee 05 44 89 RSP: 0018:ffffc90000007ac8 EFLAGS: 00000006 RAX: 0000000000010000 RBX: 0000000000000000 RCX: ffff8881192462c0 RDX: ffff8881192462c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007af0 R08: ffffffff81613031 R09: ffffc900000078e0 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000002710 R13: 1ffff92000000f68 R14: 0000000000000001 R15: ffff888124fc7cb0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f85ce3f5866 CR3: 0000000006a0f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: hrtimer_forward_now include/linux/hrtimer.h:509 [inline] perf_swevent_hrtimer+0x4aa/0x560 kernel/events/core.c:10737 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x95/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x60 kernel/kcov.c:216 Code: 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 0b 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a 5d 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 90 15 92 7e 65 8b 05 RSP: 0018:ffffc9000114f838 EFLAGS: 00000293 RAX: ffffffff8165b57b RBX: 1ffff1103ee2784d RCX: ffff8881192462c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000114f958 R08: ffffffff8165b54a R09: fffffbfff0e5326e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713c268 R14: ffff8881f7038e80 R15: dffffc0000000000 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1207 [inline] text_poke_bp_batch+0x1db/0x720 arch/x86/kernel/alternative.c:1407 text_poke_flush arch/x86/kernel/alternative.c:1598 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1605 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x3af/0x450 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:729 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287