syzbot


INFO: rcu detected stall in sys_clone

Status: auto-closed as invalid on 2020/04/21 05:46
Reported-by: syzbot+ca69afa277388e5a55ad@syzkaller.appspotmail.com
First crash: 1638d, last: 1620d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_clone 1 175d 175d 0/3 auto-obsoleted due to no activity on 2024/03/15 18:08
linux-6.1 INFO: rcu detected stall in sys_clone 3 322d 395d 0/3 auto-obsoleted due to no activity on 2023/10/20 18:18
upstream INFO: rcu detected stall in sys_clone (2) mm 49 1549d 1665d 0/26 auto-closed as invalid on 2020/06/01 05:26
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1065d 1065d 0/26 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (3) kernel 2 1401d 1423d 0/26 auto-closed as invalid on 2020/10/26 22:48
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 736d 736d 0/26 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1722d 1722d 13/26 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) mm C 25 4d00h 62d 0/26 upstream: reported C repro on 2024/03/29 00:16
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 870d 970d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 471d 471d 0/26 auto-obsoleted due to no activity on 2023/05/14 17:18
linux-5.15 INFO: rcu detected stall in sys_clone (2) origin:upstream C 3 27d 64d 0/3 upstream: reported C repro on 2024/03/27 00:16
linux-6.1 INFO: rcu detected stall in sys_clone (2) 3 3d00h 70d 0/3 upstream: reported on 2024/03/20 15:17

Sample crash report:
Killed process 16099 (syz-executor.5) total-vm:72984kB, anon-rss:10420kB, file-rss:35824kB, shmem-rss:0kB
net_ratelimit: 24 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 0, t=10502 jiffies, g=84361, q=56)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295024074-4295013571), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.5  R  running task    27464 27851  13816 0x00000000
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5338 [inline]
 sched_show_task.cold+0x2ee/0x35d kernel/sched/core.c:5313
 print_other_cpu_stall kernel/rcu/tree.c:1430 [inline]
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0xaa1/0xd90 kernel/rcu/tree.c:2682
 update_process_times+0x32/0x80 kernel/time/timer.c:1638
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:164
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x33b/0xdc0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x111/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ea/0x3f0 kernel/locking/lockdep.c:3906
Code: 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c4 01 00 00 48 83 3d 7a dd 9f 07 00 0f 84 38 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b
RSP: 0000:ffff88804c627468 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff11e4b79 RBX: ffff88804bd6e4c0 RCX: 000000005bd9f4b5
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000282
RBP: ffff88804c6274b0 R08: 0000000000000000 R09: 0000000000000000
R10: ffff88804bd6ed40 R11: 000000009899986f R12: ffffffff88f972e0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
 rcu_lock_acquire include/linux/rcupdate.h:242 [inline]
 rcu_read_lock include/linux/rcupdate.h:627 [inline]
 mem_cgroup_iter+0x1bb/0xac0 mm/memcontrol.c:940
 snapshot_refaults+0x13b/0x1f0 mm/vmscan.c:2988
 do_try_to_free_pages+0xbf8/0x11c0 mm/vmscan.c:3046
 try_to_free_mem_cgroup_pages+0x32b/0x920 mm/vmscan.c:3322
 try_charge+0x51d/0x1490 mm/memcontrol.c:2262
 memcg_kmem_charge_memcg+0x83/0x170 mm/memcontrol.c:2643
 memcg_kmem_charge+0x13b/0x370 mm/memcontrol.c:2686
 __alloc_pages_nodemask+0x3c3/0x750 mm/page_alloc.c:4421
 __alloc_pages include/linux/gfp.h:496 [inline]
 __alloc_pages_node include/linux/gfp.h:509 [inline]
 alloc_pages_node include/linux/gfp.h:523 [inline]
 alloc_thread_stack_node kernel/fork.c:237 [inline]
 dup_task_struct kernel/fork.c:801 [inline]
 copy_process.part.0+0x3e0/0x7a30 kernel/fork.c:1727
 copy_process kernel/fork.c:1684 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2197
 __do_sys_clone kernel/fork.c:2304 [inline]
 __se_sys_clone kernel/fork.c:2298 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2298
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d2e9
Code: ff 48 85 f6 0f 84 d7 8c fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c ae 8c fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75
RSP: 002b:00007fff8c985e08 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f4561836700 RCX: 000000000045d2e9
RDX: 00007f45618369d0 RSI: 00007f4561835db0 RDI: 00000000003d0f00
RBP: 00007fff8c986020 R08: 00007f4561836700 R09: 00007f4561836700
R10: 00007f45618369d0 R11: 0000000000000202 R12: 0000000000000000
R13: 00007fff8c985ebf R14: 00007f45618369c0 R15: 000000000075c07c
rcu: rcu_preempt kthread starved for 10548 jiffies! g84361 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29008    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3515
 schedule+0x92/0x1c0 kernel/sched/core.c:3559
 schedule_timeout+0x4db/0xfc0 kernel/time/timer.c:1806
 rcu_gp_kthread+0xd5c/0x2190 kernel/rcu/tree.c:2202
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/23 05:45 linux-4.19.y 672481c2deff 8b967267 .config console log report ci2-linux-4-19
2019/12/04 15:37 linux-4.19.y 174651bdf802 b2088328 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.