syzbot


INFO: rcu detected stall in sys_exit_group (4)

Status: closed as invalid on 2020/01/09 08:13
Subsystems: kernel
[Documentation on labels]
First crash: 1797d, last: 1797d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_exit_group (7) net C unreliable inconclusive 90 154d 1151d 0/28 upstream: reported C repro on 2021/10/15 18:41
upstream INFO: rcu detected stall in sys_exit_group (6) mm C 4 1531d 1537d 19/28 fixed on 2021/03/10 01:48
linux-5.15 INFO: rcu detected stall in sys_exit_group (2) 3 235d 270d 0/3 auto-obsoleted due to no activity on 2024/07/27 04:53
linux-6.1 INFO: rcu detected stall in sys_exit_group (3) origin:upstream C 10 27d 321d 0/3 upstream: reported C repro on 2024/01/23 11:05
linux-6.1 INFO: rcu detected stall in sys_exit_group (2) 1 468d 468d 0/3 auto-obsoleted due to no activity on 2023/12/07 20:57
linux-6.1 INFO: rcu detected stall in sys_exit_group 1 579d 579d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
linux-5.15 INFO: rcu detected stall in sys_exit_group 1 530d 530d 0/3 auto-obsoleted due to no activity on 2023/10/06 21:30
upstream INFO: rcu detected stall in sys_exit_group (2) cgroups mm 56 1832d 1834d 0/28 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_exit_group (3) kernel 8 1797d 1798d 0/28 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_exit_group (5) mm 1 1718d 1718d 0/28 auto-closed as invalid on 2020/06/25 07:58
linux-5.15 INFO: rcu detected stall in sys_exit_group (3) 2 25d 58d 0/3 upstream: reported on 2024/10/12 11:23
upstream INFO: rcu detected stall in sys_exit_group kernel C done 1 1913d 1909d 13/28 fixed on 2019/10/09 10:54

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 1, t=10502 jiffies, g=6753, q=140)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294954966-4294944463), jiffies_till_next_fqs=1, root ->qsmask 0x0
modprobe        R  running task    28312  8514      7 0x80004008
Call Trace:
 <IRQ>
 sched_show_task+0x40f/0x560 kernel/sched/core.c:5954
 print_other_cpu_stall kernel/rcu/tree_stall.h:410 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:538 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq+0x1861/0x1ad0 kernel/rcu/tree.c:2271
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:free_thread_stack+0x151/0x590 kernel/fork.c:280
Code: 31 f6 e8 02 8d 6f 00 43 80 3c 2e 00 74 08 4c 89 e7 e8 73 94 6a 00 49 8b 1c 24 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 55 94 6a 00 48 8b 3b be fc ff ff ff e8 28 04 00
RSP: 0018:ffffc900023e7888 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff11014034361 RBX: ffff8880a01a1b08 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea000240e2c0
RBP: ffffc900023e78c0 R08: 000000000003a728 R09: ffffed10144b4aa1
R10: ffffed10144b4aa1 R11: 0000000000000000 R12: ffff8880a01a1ba0
R13: dffffc0000000000 R14: 1ffff11014034374 R15: ffff8880a25a54f8
 release_task_stack kernel/fork.c:440 [inline]
 put_task_stack+0xa3/0x130 kernel/fork.c:451
 finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x9a8/0xcc0 kernel/sched/core.c:4081
 preempt_schedule_irq+0xc1/0x140 kernel/sched/core.c:4338
 retint_kernel+0x1b/0x2b
RIP: 0010:check_memory_region+0x0/0x2e0 mm/kasan/generic.c:191
Code: c7 97 96 e5 88 eb 0c 31 db 48 c7 c7 cf 96 e5 88 4c 89 fe 31 c0 e8 63 9a ac ff eb cf cc cc cc cc 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 fd 01
RSP: 0018:ffffc900023e7ad8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff12552ad RBX: ffff8880a1a73ac0 RCX: ffffffff8801e63b
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8880a1a73ac0
RBP: ffffc900023e7ae0 R08: dffffc0000000000 R09: fffffbfff140cf2e
R10: fffffbfff140cf2e R11: 0000000000000000 R12: 1ffff9200047cf5e
R13: 1ffff1101323e531 R14: ffffc900023e7af0 R15: dffffc0000000000
 atomic64_try_cmpxchg include/asm-generic/atomic-instrumented.h:1503 [inline]
 atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:442 [inline]
 __down_write kernel/locking/rwsem.c:1390 [inline]
 down_write+0x8b/0x140 kernel/locking/rwsem.c:1535
 i_mmap_lock_write include/linux/fs.h:526 [inline]
 unlink_file_vma+0x7d/0x1b0 mm/mmap.c:162
 free_pgtables+0x1b6/0x300 mm/memory.c:414
 exit_mmap+0x28a/0x530 mm/mmap.c:3135
 __mmput+0x120/0x3a0 kernel/fork.c:1082
 mmput+0x5d/0x70 kernel/fork.c:1103
 exit_mm+0x50a/0x590 kernel/exit.c:485
 do_exit+0x572/0x2000 kernel/exit.c:788
 do_group_exit+0x15c/0x2b0 kernel/exit.c:899
 __do_sys_exit_group+0x17/0x20 kernel/exit.c:910
 __se_sys_exit_group+0x14/0x20 kernel/exit.c:908
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:908
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f2bc27571e8
Code: Bad RIP value.
RSP: 002b:00007ffc50f0eaa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2bc27571e8
RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001
RBP: 00007f2bc2a2c840 R08: 00000000000000e7 R09: ffffffffffffffa8
R10: 00007f2bc2a32740 R11: 0000000000000246 R12: 00007f2bc2a2c840
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
rcu: rcu_preempt kthread starved for 10543 jiffies! g6753 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    28984    10      2 0x80004000
Call Trace:
 context_switch kernel/sched/core.c:3385 [inline]
 __schedule+0x9a0/0xcc0 kernel/sched/core.c:4081
 schedule+0x181/0x210 kernel/sched/core.c:4155
 schedule_timeout+0x14f/0x240 kernel/time/timer.c:1895
 rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline]
 rcu_gp_kthread+0xed8/0x1770 kernel/rcu/tree.c:1821
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/08 11:42 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 10:30 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 09:57 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 09:03 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 08:49 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 08:14 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 07:43 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 07:39 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 07:21 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 07:21 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 07:11 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 06:47 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 05:37 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.