watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.4.65:5507]
Modules linked in:
irq event stamp: 12164739
hardirqs last  enabled at (12164738): [<ffffffff8bc45533>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (12164739): [<ffffffff8bc430de>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1037
softirqs last  enabled at (11788954): [<ffffffff81576384>] __do_softirq kernel/softirq.c:588 [inline]
softirqs last  enabled at (11788954): [<ffffffff81576384>] invoke_softirq kernel/softirq.c:428 [inline]
softirqs last  enabled at (11788954): [<ffffffff81576384>] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
softirqs last disabled at (11788959): [<ffffffff81576384>] __do_softirq kernel/softirq.c:588 [inline]
softirqs last disabled at (11788959): [<ffffffff81576384>] invoke_softirq kernel/softirq.c:428 [inline]
softirqs last disabled at (11788959): [<ffffffff81576384>] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
CPU: 0 UID: 0 PID: 5507 Comm: syz.4.65 Not tainted 6.11.0-syzkaller-10575-g9502a7de5a61 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:in_gate_area_no_mm+0x14/0x60 arch/x86/entry/vsyscall/vsyscall_64.c:321
Code: cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 53 48 89 fb e8 42 00 94 00 8b 2d fc 4a 30 0d <bf> 02 00 00 00 89 ee e8 70 04 94 00 83 fd 02 40 0f 95 c5 48 81 e3
RSP: 0018:ffffc90000007318 EFLAGS: 00000246
RAX: ffffffff8100b4fe RBX: 00007fa9bf17dff9 RCX: ffff88802e71da00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 00007fa9bf17dff9
RBP: 0000000000000001 R08: 0000000000000021 R09: ffffc90000007470
R10: ffffc900000073d0 R11: ffffffff81806870 R12: ffff88802e71da00
R13: ffffffff81806870 R14: dffffc0000000000 R15: 1ffff92000000e79
FS:  00007fa9bebff6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020273000 CR3: 00000000317dc000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 is_kernel_text include/linux/kallsyms.h:31 [inline]
 core_kernel_text kernel/extable.c:68 [inline]
 kernel_text_address+0x30/0xe0 kernel/extable.c:99
 __kernel_text_address+0xd/0x40 kernel/extable.c:79
 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369
 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
 kasan_slab_alloc include/linux/kasan.h:247 [inline]
 slab_post_alloc_hook mm/slub.c:4086 [inline]
 slab_alloc_node mm/slub.c:4135 [inline]
 kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4187
 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:668
 skb_copy+0x19d/0x9c0 net/core/skbuff.c:2159
 mac80211_hwsim_tx_frame_no_nl+0x106b/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1866
 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215
 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315
 __iterate_interfaces+0x222/0x510 net/mac80211/util.c:774
 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:810
 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345
 __run_hrtimer kernel/time/hrtimer.c:1691 [inline]
 __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755
 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772
 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
 __do_softirq kernel/softirq.c:588 [inline]
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:preempt_schedule+0x0/0xf0 kernel/sched/core.c:6871
Code: 00 00 e8 13 9f 96 f5 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 48 89 e5 41 57 41 56 41 54 53 48 83 e4 e0 48 83 ec
RSP: 0018:ffffc90008f1f730 EFLAGS: 00010283
RAX: ffffffff8188d3c4 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc9000a16a000 RSI: 0000000000007ac6 RDI: 0000000000007ac7
RBP: ffffc90008f1f780 R08: ffffffff8188d3a9 R09: 1ffffffff284d0f8
R10: dffffc0000000000 R11: fffffbfff284d0f9 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff901ce1e8
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
 on_each_cpu_cond_mask+0x79/0x80 kernel/smp.c:1052
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2085 [inline]
 text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295
 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 tracepoint_add_func+0x953/0x9e0 kernel/tracepoint.c:361
 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline]
 tracepoint_probe_register+0x105/0x160 kernel/tracepoint.c:531
 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline]
 perf_trace_event_init+0x478/0x930 kernel/trace/trace_event_perf.c:202
 perf_trace_init+0x243/0x2e0 kernel/trace/trace_event_perf.c:226
 perf_tp_event_init+0x8d/0x110 kernel/events/core.c:10358
 perf_try_init_event+0x146/0x810 kernel/events/core.c:11892
 perf_init_event kernel/events/core.c:11978 [inline]
 perf_event_alloc+0x135f/0x2310 kernel/events/core.c:12260
 __do_sys_perf_event_open kernel/events/core.c:12767 [inline]
 __se_sys_perf_event_open+0xb1f/0x3870 kernel/events/core.c:12658
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa9bf17dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa9bebff038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007fa9bf335f80 RCX: 00007fa9bf17dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007fa9bf1f0296 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa9bf335f80 R15: 00007ffd01cb1f68
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5509 Comm: syz.2.66 Not tainted 6.11.0-syzkaller-10575-g9502a7de5a61 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:430 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x781/0xdb0 kernel/locking/qspinlock.c:508
Code: ff 42 0f b6 04 2b 84 c0 75 6c 66 c7 84 24 b0 00 00 00 00 01 48 8b 44 24 40 42 0f b6 04 28 84 c0 75 77 41 80 3e 00 74 0c f3 90 <41> ff c4 75 d2 e9 a0 00 00 00 4c 89 f7 be 02 00 00 00 e8 98 3b 30
RSP: 0018:ffffc90000a18700 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 1ffff920001430f6 RCX: ffffc90000a18701
RDX: 0000000000000100 RSI: ffffffff8c0aca40 RDI: ffffffff8c610420
RBP: ffffc90000a18838 R08: ffffffff9426882f R09: 1ffffffff284d105
R10: dffffc0000000000 R11: fffffbfff284d106 R12: 00000000ffffaf4b
R13: dffffc0000000000 R14: ffffffff8f534f40 R15: ffffc90000a187c0
FS:  00007fe85d0c96c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32911ff8 CR3: 000000002f80c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline]
 queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116
 spin_lock include/linux/spinlock.h:351 [inline]
 mac80211_hwsim_tx_frame_no_nl+0x982/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1817
 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215
 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315
 __iterate_interfaces+0x222/0x510 net/mac80211/util.c:774
 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:810
 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345
 __run_hrtimer kernel/time/hrtimer.c:1691 [inline]
 __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755
 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772
 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
 __do_softirq kernel/softirq.c:588 [inline]
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5189
Code: c9 50 e8 79 fa 0b 00 48 83 c4 08 4c 89 f7 e8 4d 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 80 e6 69 0a e8 fb 59 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc9000580f128 EFLAGS: 00000282
RAX: 2bfa7884d1596b00 RBX: ffff888022b9da00 RCX: ffffffff8170892a
RDX: dffffc0000000000 RSI: ffffffff8c0aca40 RDI: ffffffff8c610420
RBP: ffffc9000580f170 R08: ffffffff94268807 R09: 1ffffffff284d100
R10: dffffc0000000000 R11: fffffbfff284d101 R12: 1ffff110170e7f14
R13: dffffc0000000000 R14: ffff8880b873ea80 R15: ffff8880b873f8a0
 context_switch kernel/sched/core.c:5318 [inline]
 __schedule+0x189d/0x4b30 kernel/sched/core.c:6675
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:tomoyo_check_path_number_acl+0x5/0x280 security/tomoyo/file.c:277
Code: fb ff ff e8 7d 50 53 07 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 49 89 f6 49 89 ff 49 bd 00 00 00 00 00
RSP: 0018:ffffc9000580f4f0 EFLAGS: 00000246
RAX: 0000000000000002 RBX: 0000000000000002 RCX: 0000000000040000
RDX: ffff888022b9da00 RSI: ffff888142e97b80 RDI: ffffc9000580f640
RBP: 0000000000000002 R08: ffffffff8470964a R09: ffffffff84723cdc
R10: 0000000000000002 R11: ffffffff8470f3f0 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888142e97b80 R15: ffff888028f5f490
 tomoyo_check_acl+0x12e/0x3f0 security/tomoyo/domain.c:175
 tomoyo_path_number_perm+0x459/0x880 security/tomoyo/file.c:733
 tomoyo_path_mknod+0x176/0x1b0 security/tomoyo/tomoyo.c:252
 security_path_mknod+0x181/0x3a0 security/security.c:1893
 may_o_create fs/namei.c:3414 [inline]
 lookup_open fs/namei.c:3558 [inline]
 open_last_lookups fs/namei.c:3694 [inline]
 path_openat+0xe2f/0x3590 fs/namei.c:3930
 do_filp_open+0x235/0x490 fs/namei.c:3960
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
 do_sys_open fs/open.c:1430 [inline]
 __do_sys_openat fs/open.c:1446 [inline]
 __se_sys_openat fs/open.c:1441 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1441
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe85c37dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe85d0c9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe85c535f80 RCX: 00007fe85c37dff9
RDX: 00000000000026e1 RSI: 0000000020000280 RDI: ffffffffffffff9c
RBP: 00007fe85c3f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe85c535f80 R15: 00007ffdb631ba28
 </TASK>