syzbot


INFO: rcu detected stall in call_timer_fn (4)

Status: auto-obsoleted due to no activity on 2024/03/31 10:44
Subsystems: mm
[Documentation on labels]
First crash: 253d, last: 253d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in call_timer_fn mm net 19 72d 115d 0/28 auto-obsoleted due to no activity on 2024/10/08 10:43
linux-6.1 INFO: rcu detected stall in call_timer_fn 1 69d 69d 0/3 upstream: reported on 2024/08/02 13:31
linux-4.19 INFO: rcu detected stall in call_timer_fn (2) 16 1436d 1710d 0/1 auto-closed as invalid on 2021/03/04 12:30
linux-4.14 INFO: rcu detected stall in call_timer_fn (2) 1 1499d 1499d 0/1 auto-closed as invalid on 2020/12/31 22:00
upstream INFO: rcu detected stall in call_timer_fn (2) kernel C done error 47 995d 1852d 0/28 closed as invalid on 2022/02/08 10:46
upstream INFO: rcu detected stall in call_timer_fn bpf net 2 2189d 2202d 0/28 closed as dup on 2019/01/02 16:26
linux-4.19 INFO: rcu detected stall in call_timer_fn 1 1850d 1850d 0/1 auto-closed as invalid on 2020/01/15 18:43
linux-4.14 INFO: rcu detected stall in call_timer_fn 5 1623d 1743d 0/1 auto-closed as invalid on 2020/08/29 09:07
upstream INFO: rcu detected stall in call_timer_fn (3) kernel 3 735d 750d 0/28 auto-obsoleted due to no activity on 2023/01/12 18:45
linux-4.19 BUG: soft lockup in call_timer_fn C error 31 586d 1188d 0/1 upstream: reported C repro on 2021/07/10 02:48

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2635 jiffies s: 60537 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10819 Comm: syz-executor.0 Not tainted 6.8.0-rc1-next-20240129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:116 [inline]
RIP: 0010:lock_release+0xb7/0x6a0 kernel/locking/lockdep.c:5767
Code: 00 89 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 10 85 9a 8f e8 17 37 7b 00 48 0f a3 1d cf f1 2e 0e 0f 82 10 04 00 00 <48> c7 c3 b8 b8 9a 8f 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1
RSP: 0018:ffffc90000a08710 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816b9339
RDX: 0000000000000000 RSI: ffffffff8b6edc40 RDI: ffffffff8d1efa68
RBP: 1ffff920001410e4 R08: 0000000000000000 R09: fffffbfff1f350a2
R10: ffffffff8f9a8517 R11: ffffffff8b0f3fc0 R12: ffffffff94812038
R13: ffff88802925b340 R14: 000000000003c0cc R15: ffffffff94812018
FS:  00005555571c0480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fef1a7ad988 CR3: 000000004c8ee000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
 _raw_spin_unlock_irqrestore+0x1a/0x80 kernel/locking/spinlock.c:194
 debug_object_activate+0x34d/0x540 lib/debugobjects.c:726
 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline]
 debug_activate kernel/time/hrtimer.c:477 [inline]
 enqueue_hrtimer+0x25/0x390 kernel/time/hrtimer.c:1087
 __run_hrtimer kernel/time/hrtimer.c:1706 [inline]
 __hrtimer_run_queues+0xa15/0xc20 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x10f/0x410 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1076
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:lock_acquire+0x1f2/0x540 kernel/locking/lockdep.c:5722
Code: c1 05 ba e7 96 7e 83 f8 01 0f 85 c8 02 00 00 9c 58 f6 c4 02 0f 85 b3 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90000a08bb0 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000141178 RCX: ffffffff816aad6e
RDX: 0000000000000001 RSI: ffffffff8b0cc180 RDI: ffffffff8b6edcc0
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff279f207
R10: ffffffff93cf903f R11: 0000000000000008 R12: 0000000000000001
R13: 0000000000000000 R14: ffffc90000a08ce0 R15: 0000000000000000
 call_timer_fn+0x120/0x5b0 kernel/time/timer.c:1697
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x762/0xaa0 kernel/time/timer.c:2038
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2051
 __do_softirq+0x218/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb9/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x20 kernel/kcov.c:310
Code: 0c 24 89 f2 89 fe bf 05 00 00 00 e9 2a fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe bf 07 00 00 00 e9 f8 fd
RSP: 0018:ffffc90003abf6e0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffea0001237fc0 RCX: ffffffff81f194f1
RDX: 1ffffd4000246ff9 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000007 R12: ffff888017445fb0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
 _compound_head include/linux/page-flags.h:249 [inline]
 PageAnon include/linux/page-flags.h:657 [inline]
 page_table_check_set mm/page_table_check.c:112 [inline]
 page_table_check_set+0x3bf/0xc60 mm/page_table_check.c:97
 __page_table_check_ptes_set+0x444/0x700 mm/page_table_check.c:196
 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline]
 set_ptes include/linux/pgtable.h:241 [inline]
 copy_present_pte mm/memory.c:993 [inline]
 copy_pte_range mm/memory.c:1102 [inline]
 copy_pmd_range mm/memory.c:1187 [inline]
 copy_pud_range mm/memory.c:1224 [inline]
 copy_p4d_range mm/memory.c:1248 [inline]
 copy_page_range+0x131f/0x3b90 mm/memory.c:1346
 dup_mmap kernel/fork.c:745 [inline]
 dup_mm kernel/fork.c:1685 [inline]
 copy_mm kernel/fork.c:1734 [inline]
 copy_process+0x56ae/0x9350 kernel/fork.c:2495
 kernel_clone+0xfd/0x940 kernel/fork.c:2900
 __do_sys_clone+0xba/0x100 kernel/fork.c:3043
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fc9e627add3
Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffea8054438 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc9e627add3
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 00005555571c0750 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/31 10:36 linux-next 596764183be8 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in call_timer_fn
* Struck through repros no longer work on HEAD.