syzbot


INFO: rcu detected stall in worker_thread (5)

Status: auto-closed as invalid on 2022/08/31 00:50
Subsystems: kernel
[Documentation on labels]
First crash: 961d, last: 925d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in worker_thread (3) cgroups mm 1 1800d 1800d 0/28 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in worker_thread (4) cgroups mm 28 1800d 1800d 0/28 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in worker_thread 1 441d 441d 0/3 auto-obsoleted due to no activity on 2024/01/09 18:17
upstream INFO: rcu detected stall in worker_thread (8) kernel 1 583d 583d 0/28 auto-obsoleted due to no activity on 2023/08/07 05:14
upstream INFO: rcu detected stall in worker_thread (9) netfilter C done 2850 1h42m 432d 0/28 upstream: reported C repro on 2023/10/07 18:33
upstream INFO: rcu detected stall in worker_thread (2) cgroups mm 12 1800d 1801d 0/28 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in worker_thread cgroups mm 150 1835d 1837d 0/28 closed as invalid on 2019/12/04 14:14
linux-6.1 INFO: rcu detected stall in worker_thread 6 176d 206d 0/3 auto-obsoleted due to no activity on 2024/09/27 16:46
upstream INFO: rcu detected stall in worker_thread (6) kernel 1 800d 800d 0/28 auto-obsoleted due to no activity on 2023/01/12 15:50
linux-5.15 INFO: rcu detected stall in worker_thread (2) 4 179d 185d 0/3 auto-obsoleted due to no activity on 2024/09/24 04:34
upstream INFO: rcu detected stall in worker_thread (7) kernel 1 693d 693d 0/28 auto-obsoleted due to no activity on 2023/04/27 16:37
upstream INFO: task hung in crda_timeout_work (8) wireless C done 386 3d21h 76d 0/28 upstream: reported C repro on 2024/09/27 16:53
android-5-15 BUG: soft lockup in worker_thread origin:lts C done 1 108d 108d 0/2 auto-obsoleted due to no activity on 2024/12/04 04:19

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 GPs behind) idle=ec5/1/0x4000000000000000 softirq=101793/101794 fqs=1 
	(detected by 1, t=10505 jiffies, g=165117, q=202 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 143 Comm: kworker/0:2 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue:  0x0 (events)
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4748 [inline]
RIP: 0010:__lock_acquire+0x6c0/0x1f80 kernel/locking/lockdep.c:5003
Code: fc ff df eb b1 48 c7 c7 a0 ce 9e 8c 48 89 de e8 a6 3b fa 02 48 ba 00 00 00 00 00 fc ff df e9 69 ff ff ff 65 8b 05 d4 af 9a 7e <41> b5 02 85 c0 75 23 48 8b 44 24 48 8a 04 10 84 c0 0f 85 cf 14 00
RSP: 0018:ffffc900000079e8 EFLAGS: 00000096
RAX: 0000000000000001 RBX: 000000000000005c RCX: 0000000000000002
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8fb5bfc0
RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1f6b7f9
R10: fffffbfff1f6b7f9 R11: 1ffffffff1f6b7f8 R12: 0000000000000000
R13: ffff88801baf8aa8 R14: ffff88801baf8a58 R15: ffff88801baf8000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2a67088a0 CR3: 000000004084b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5665
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x61/0x400 lib/debugobjects.c:732
 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
 debug_deactivate kernel/time/hrtimer.c:481 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1653 [inline]
 __hrtimer_run_queues+0x2f9/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20
RIP: 0010:finish_lock_switch+0x1c5/0x350 kernel/sched/core.c:4877
Code: be ff ff ff ff e8 6b 55 cb 08 85 c0 74 37 4d 85 e4 75 58 e9 43 01 00 00 4c 89 ff e8 85 3f d4 08 e8 b0 13 30 00 fb 48 83 c4 10 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 4d 85 e4 0f 85 4a ff ff ff
RSP: 0018:ffffc900028ffbc8 EFLAGS: 00000282
RAX: f9fcb91b46394100 RBX: ffff8880b9a3a888 RCX: ffffffff90bc7603
RDX: dffffc0000000000 RSI: ffffffff8a8d23a0 RDI: ffffffff8ae99840
RBP: ffff8880b9a3a600 R08: dffffc0000000000 R09: ffffed1017347369
R10: ffffed1017347369 R11: 1ffff11017347368 R12: 0000000000000000
R13: ffff8880b9a3a898 R14: dffffc0000000000 R15: ffff8880b9a39b40
 finish_task_switch+0x140/0x610 kernel/sched/core.c:4994
 context_switch kernel/sched/core.c:5119 [inline]
 __schedule+0x95f/0xec0 kernel/sched/core.c:6431
 schedule+0xeb/0x1b0 kernel/sched/core.c:6503
 worker_thread+0xfbf/0x1330 kernel/workqueue.c:2457
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>
rcu: rcu_preempt kthread starved for 10500 jiffies! g165117 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:26424 pid:   17 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5116 [inline]
 __schedule+0x957/0xec0 kernel/sched/core.c:6431
 schedule+0xeb/0x1b0 kernel/sched/core.c:6503
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935
 rcu_gp_fqs_loop+0x2b9/0xfb0 kernel/rcu/tree.c:1999
 rcu_gp_kthread+0xa5/0x360 kernel/rcu/tree.c:2187
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 1
CPU: 1 PID: 31362 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_check_gp_kthread_starvation+0x1da/0x250 kernel/rcu/tree_stall.h:518
 print_other_cpu_stall+0x140a/0x1560 kernel/rcu/tree_stall.h:623
 check_cpu_stall kernel/rcu/tree_stall.h:771 [inline]
 rcu_pending kernel/rcu/tree.c:3977 [inline]
 rcu_sched_clock_irq+0x9c4/0x19f0 kernel/rcu/tree.c:2675
 update_process_times+0x148/0x1b0 kernel/time/timer.c:1839
 tick_sched_handle kernel/time/tick-sched.c:243 [inline]
 tick_sched_timer+0x377/0x540 kernel/time/tick-sched.c:1481
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20
RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline]
RIP: 0010:smp_call_function_many_cond+0xf12/0x1500 kernel/smp.c:988
Code: 8b 3c 24 44 89 fe 83 e6 01 31 ff e8 58 e0 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 08 e8 23 dc 0a 00 eb 46 90 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 2b e8 06 dc
RSP: 0018:ffffc90004467520 EFLAGS: 00000246
RAX: ffffffff817cb0ea RBX: 1ffff11017348411 RCX: 0000000000040000
RDX: ffffc90006b0a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900044676e0 R08: ffffffff817cb0b8 R09: fffffbfff1f6b7f9
R10: fffffbfff1f6b7f9 R11: 1ffffffff1f6b7f8 R12: ffff8880b9a42088
R13: 1ffff11017367580 R14: 0000000000000000 R15: dffffc0000000000
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1154
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1231 [inline]
 text_poke_bp_batch+0x324/0x970 arch/x86/kernel/alternative.c:1419
 text_poke_bp+0xc7/0x140 arch/x86/kernel/alternative.c:1635
 arch_static_call_transform+0x8c/0x1c0 arch/x86/kernel/static_call.c:107
 __static_call_update+0xd4/0x600 kernel/static_call_inline.c:136
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x797/0x9f0 kernel/tracepoint.c:365
 tracepoint_probe_register_prio_may_exist+0x11d/0x190 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x451/0x6b0 kernel/bpf/syscall.c:3307
 bpf_raw_tracepoint_open+0x195/0x200 kernel/bpf/syscall.c:3334
 __sys_bpf+0x4ee/0x6c0 kernel/bpf/syscall.c:4959
 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5019 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5019
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fc6f7689109

================================
WARNING: inconsistent lock state
5.18.0-syzkaller-11817-g8171acb8bc9b #0 Not tainted
--------------------------------
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage.
syz-executor.1/31362 [HC1[1]:SC0[0]:HE0:SE1] takes:
ffffffff8cbeda38 (vmap_area_lock){?.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffffffff8cbeda38 (vmap_area_lock){?.+.}-{2:2}, at: find_vmap_area mm/vmalloc.c:1805 [inline]
ffffffff8cbeda38 (vmap_area_lock){?.+.}-{2:2}, at: find_vm_area+0x1d/0x140 mm/vmalloc.c:2525
{HARDIRQ-ON-W} state was registered at:
  lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5665
  __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
  _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
  spin_lock include/linux/spinlock.h:349 [inline]
  alloc_vmap_area+0x18bb/0x1ae0 mm/vmalloc.c:1586
  __get_vm_area_node+0x18a/0x380 mm/vmalloc.c:2453
  get_vm_area_caller+0x45/0x50 mm/vmalloc.c:2506
  __ioremap_caller+0x510/0x920 arch/x86/mm/ioremap.c:280
  acpi_os_ioremap include/acpi/acpi_io.h:13 [inline]
  acpi_map drivers/acpi/osl.c:296 [inline]
  acpi_os_map_iomem+0x226/0x4b0 drivers/acpi/osl.c:355
  acpi_tb_acquire_table+0xf5/0x25d drivers/acpi/acpica/tbdata.c:142
  acpi_tb_validate_table drivers/acpi/acpica/tbdata.c:317 [inline]
  acpi_tb_validate_temp_table+0xa6/0x10b drivers/acpi/acpica/tbdata.c:400
  acpi_tb_verify_temp_table+0x82/0x8ed drivers/acpi/acpica/tbdata.c:504
  acpi_reallocate_root_table+0x328/0x584 drivers/acpi/acpica/tbxface.c:180
  acpi_early_init+0xdb/0x536 drivers/acpi/bus.c:1200
  start_kernel+0x40b/0x55b init/main.c:1098
  secondary_startup_64_no_verify+0xcf/0xdb
irq event stamp: 24676
hardirqs last  enabled at (24675): [<ffffffff8a400c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20
hardirqs last disabled at (24676): [<ffffffff8a296f4a>] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (3880): [<ffffffff8151adbc>] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650
softirqs last disabled at (3791): [<ffffffff8151adbc>] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(vmap_area_lock);
  <Interrupt>
    lock(vmap_area_lock);

 *** DEADLOCK ***

4 locks held by syz-executor.1/31362:
 #0: ffffffff8cb64048 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0xb7/0x190 kernel/tracepoint.c:478
 #1: ffffffff8c9bd5b0 (cpu_hotplug_lock){++++}-{0:0}, at: __static_call_update+0x7f/0x600 kernel/static_call_inline.c:128
 #2: ffffffff8cbaf0a8 (static_call_mutex){+.+.}-{3:3}, at: static_call_lock kernel/static_call_inline.c:25 [inline]
 #2: ffffffff8cbaf0a8 (static_call_mutex){+.+.}-{3:3}, at: __static_call_update+0x8d/0x600 kernel/static_call_inline.c:129
 #3: ffffffff8c9d1ca8 (text_mutex){+.+.}-{3:3}, at: arch_static_call_transform+0x2e/0x1c0 arch/x86/kernel/static_call.c:103

stack backtrace:
CPU: 1 PID: 31362 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 mark_lock_irq+0xb20/0xf00
 mark_lock+0x21c/0x350 kernel/locking/lockdep.c:4632
 mark_usage kernel/locking/lockdep.c:4524 [inline]
 __lock_acquire+0xb43/0x1f80 kernel/locking/lockdep.c:5007
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5665
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:349 [inline]
 find_vmap_area mm/vmalloc.c:1805 [inline]
 find_vm_area+0x1d/0x140 mm/vmalloc.c:2525
 check_heap_object+0x33/0x870 mm/usercopy.c:176
 __check_object_size+0xad/0x210 mm/usercopy.c:252
 check_object_size include/linux/thread_info.h:199 [inline]
 __copy_from_user_inatomic include/linux/uaccess.h:62 [inline]
 copy_from_user_nmi+0x98/0x100 arch/x86/lib/usercopy.c:47
 copy_code arch/x86/kernel/dumpstack.c:91 [inline]
 show_opcodes+0xa2/0x120 arch/x86/kernel/dumpstack.c:121
 show_ip arch/x86/kernel/dumpstack.c:144 [inline]
 show_iret_regs+0x2f/0x60 arch/x86/kernel/dumpstack.c:149
 __show_regs+0x29/0x500 arch/x86/kernel/process_64.c:74
 show_regs_if_on_stack arch/x86/kernel/dumpstack.c:167 [inline]
 show_trace_log_lvl+0x562/0x630 arch/x86/kernel/dumpstack.c:292
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_check_gp_kthread_starvation+0x1da/0x250 kernel/rcu/tree_stall.h:518
 print_other_cpu_stall+0x140a/0x1560 kernel/rcu/tree_stall.h:623
 check_cpu_stall kernel/rcu/tree_stall.h:771 [inline]
 rcu_pending kernel/rcu/tree.c:3977 [inline]
 rcu_sched_clock_irq+0x9c4/0x19f0 kernel/rcu/tree.c:2675
 update_process_times+0x148/0x1b0 kernel/time/timer.c:1839
 tick_sched_handle kernel/time/tick-sched.c:243 [inline]
 tick_sched_timer+0x377/0x540 kernel/time/tick-sched.c:1481
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20
RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline]
RIP: 0010:smp_call_function_many_cond+0xf12/0x1500 kernel/smp.c:988
Code: 8b 3c 24 44 89 fe 83 e6 01 31 ff e8 58 e0 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 08 e8 23 dc 0a 00 eb 46 90 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 2b e8 06 dc
RSP: 0018:ffffc90004467520 EFLAGS: 00000246
RAX: ffffffff817cb0ea RBX: 1ffff11017348411 RCX: 0000000000040000
RDX: ffffc90006b0a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900044676e0 R08: ffffffff817cb0b8 R09: fffffbfff1f6b7f9
R10: fffffbfff1f6b7f9 R11: 1ffffffff1f6b7f8 R12: ffff8880b9a42088
R13: 1ffff11017367580 R14: 0000000000000000 R15: dffffc0000000000
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1154
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1231 [inline]
 text_poke_bp_batch+0x324/0x970 arch/x86/kernel/alternative.c:1419
 text_poke_bp+0xc7/0x140 arch/x86/kernel/alternative.c:1635
 arch_static_call_transform+0x8c/0x1c0 arch/x86/kernel/static_call.c:107
 __static_call_update+0xd4/0x600 kernel/static_call_inline.c:136
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x797/0x9f0 kernel/tracepoint.c:365
 tracepoint_probe_register_prio_may_exist+0x11d/0x190 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x451/0x6b0 kernel/bpf/syscall.c:3307
 bpf_raw_tracepoint_open+0x195/0x200 kernel/bpf/syscall.c:3334
 __sys_bpf+0x4ee/0x6c0 kernel/bpf/syscall.c:4959
 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5019 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5019
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fc6f7689109
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc6f63dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fc6f779c1d0 RCX: 00007fc6f7689109
RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011
RBP: 00007fc6f76e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd5342f27f R14: 00007fc6f63dd300 R15: 0000000000022000
 </TASK>
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc6f63dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fc6f779c1d0 RCX: 00007fc6f7689109
RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011
RBP: 00007fc6f76e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd5342f27f R14: 00007fc6f63dd300 R15: 0000000000022000
 </TASK>
watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [syz-executor.1:31362]
Modules linked in:
irq event stamp: 24676
hardirqs last  enabled at (24675): [<ffffffff8a400c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20
hardirqs last disabled at (24676): [<ffffffff8a296f4a>] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (3880): [<ffffffff8151adbc>] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650
softirqs last disabled at (3791): [<ffffffff8151adbc>] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650
CPU: 1 PID: 31362 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline]
RIP: 0010:smp_call_function_many_cond+0xf17/0x1500 kernel/smp.c:988
Code: fe 83 e6 01 31 ff e8 58 e0 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 08 e8 23 dc 0a 00 eb 46 90 f3 90 42 0f b6 04 3b <84> c0 75 11 41 f7 04 24 01 00 00 00 74 2b e8 06 dc 0a 00 eb e4 44
RSP: 0018:ffffc90004467520 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff11017348411 RCX: 0000000000040000
RDX: ffffc90006b0a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900044676e0 R08: ffffffff817cb0b8 R09: fffffbfff1f6b7f9
R10: fffffbfff1f6b7f9 R11: 1ffffffff1f6b7f8 R12: ffff8880b9a42088
R13: 1ffff11017367580 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fc6f63dd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e424000 CR3: 0000000026679000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1154
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1231 [inline]
 text_poke_bp_batch+0x324/0x970 arch/x86/kernel/alternative.c:1419
 text_poke_bp+0xc7/0x140 arch/x86/kernel/alternative.c:1635
 arch_static_call_transform+0x8c/0x1c0 arch/x86/kernel/static_call.c:107
 __static_call_update+0xd4/0x600 kernel/static_call_inline.c:136
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x797/0x9f0 kernel/tracepoint.c:365
 tracepoint_probe_register_prio_may_exist+0x11d/0x190 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x451/0x6b0 kernel/bpf/syscall.c:3307
 bpf_raw_tracepoint_open+0x195/0x200 kernel/bpf/syscall.c:3334
 __sys_bpf+0x4ee/0x6c0 kernel/bpf/syscall.c:4959
 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5019 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5019
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fc6f7689109
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc6f63dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fc6f779c1d0 RCX: 00007fc6f7689109
RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011
RBP: 00007fc6f76e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd5342f27f R14: 00007fc6f63dd300 R15: 0000000000022000
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 143 Comm: kworker/0:2 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue:  0x0 (events)
RIP: 0010:rcu_read_lock_sched_held+0xc2/0x130 kernel/rcu/update.c:126
Code: 36 e0 45 49 c7 04 1e 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 48 75 6d 44 89 f8 48 8d 65 e0 5b 41 5c 41 5e 41 5f 5d <c3> 65 8b 05 6e 9a 92 7e 41 bf 01 00 00 00 a9 ff ff ff 7f 75 bc 4c
RSP: 0018:ffffc90000007cf0 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff88801baf8000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81777337 R09: fffffbfff1c06ef6
R10: fffffbfff1c06ef6 R11: 1ffffffff1c06ef5 R12: ffff8880b9a2a440
R13: dffffc0000000000 R14: ffff8880b9a2a588 R15: ffff888023a46340
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2a67088a0 CR3: 000000004084b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 trace_hrtimer_start+0xac/0x270 include/trace/events/timer.h:198
 debug_activate kernel/time/hrtimer.c:476 [inline]
 enqueue_hrtimer kernel/time/hrtimer.c:1084 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1702 [inline]
 __hrtimer_run_queues+0x59f/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20
RIP: 0010:finish_lock_switch+0x1c5/0x350 kernel/sched/core.c:4877
Code: be ff ff ff ff e8 6b 55 cb 08 85 c0 74 37 4d 85 e4 75 58 e9 43 01 00 00 4c 89 ff e8 85 3f d4 08 e8 b0 13 30 00 fb 48 83 c4 10 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 4d 85 e4 0f 85 4a ff ff ff
RSP: 0018:ffffc900028ffbc8 EFLAGS: 00000282
RAX: f9fcb91b46394100 RBX: ffff8880b9a3a888 RCX: ffffffff90bc7603
RDX: dffffc0000000000 RSI: ffffffff8a8d23a0 RDI: ffffffff8ae99840
RBP: ffff8880b9a3a600 R08: dffffc0000000000 R09: ffffed1017347369
R10: ffffed1017347369 R11: 1ffff11017347368 R12: 0000000000000000
R13: ffff8880b9a3a898 R14: dffffc0000000000 R15: ffff8880b9a39b40
 finish_task_switch+0x140/0x610 kernel/sched/core.c:4994
 context_switch kernel/sched/core.c:5119 [inline]
 __schedule+0x95f/0xec0 kernel/sched/core.c:6431
 schedule+0xeb/0x1b0 kernel/sched/core.c:6503
 worker_thread+0xfbf/0x1330 kernel/workqueue.c:2457
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	df eb                	fucomip %st(3),%st
   2:	b1 48                	mov    $0x48,%cl
   4:	c7 c7 a0 ce 9e 8c    	mov    $0x8c9ecea0,%edi
   a:	48 89 de             	mov    %rbx,%rsi
   d:	e8 a6 3b fa 02       	callq  0x2fa3bb8
  12:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  19:	fc ff df
  1c:	e9 69 ff ff ff       	jmpq   0xffffff8a
  21:	65 8b 05 d4 af 9a 7e 	mov    %gs:0x7e9aafd4(%rip),%eax        # 0x7e9aaffc
* 28:	41 b5 02             	mov    $0x2,%r13b <-- trapping instruction
  2b:	85 c0                	test   %eax,%eax
  2d:	75 23                	jne    0x52
  2f:	48 8b 44 24 48       	mov    0x48(%rsp),%rax
  34:	8a 04 10             	mov    (%rax,%rdx,1),%al
  37:	84 c0                	test   %al,%al
  39:	0f                   	.byte 0xf
  3a:	85 cf                	test   %ecx,%edi
  3c:	14 00                	adc    $0x0,%al

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/02 00:42 upstream 8171acb8bc9b b4bc6a3d .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in worker_thread
2022/04/26 09:19 linux-next e7d6987e09a3 1fa34c1b .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in worker_thread
* Struck through repros no longer work on HEAD.