syzbot


INFO: rcu detected stall in sys_clone (7)

Status: auto-obsoleted due to no activity on 2023/05/14 17:18
Subsystems: fs
[Documentation on labels]
First crash: 471d, last: 471d
Similar bugs (13)
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 394d 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 1548d 1664d 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 1400d 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 735d 735d 0/26 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1721d 1721d 13/26 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) mm C 25 3d09h 61d 0/26 upstream: reported C repro on 2024/03/29 00:16
linux-4.19 INFO: rcu detected stall in sys_clone 2 1619d 1638d 0/1 auto-closed as invalid on 2020/04/21 05:46
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 869d 969d 0/26 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_clone (2) origin:upstream C 3 26d 63d 0/3 upstream: reported C repro on 2024/03/27 00:16
linux-6.1 INFO: rcu detected stall in sys_clone (2) 3 2d08h 70d 0/3 upstream: reported on 2024/03/20 15:17
android-5-15 BUG: soft lockup in sys_clone origin:lts C 12 3d16h 39d 0/2 upstream: reported C repro on 2024/04/20 04:17

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=cbfc/1/0x4000000000000000 softirq=26786/26786 fqs=0
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P6223/1:b..l
	(detected by 0, t=10503 jiffies, g=40529, q=27 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5117 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:enqueue_hrtimer+0x1b2/0x470 kernel/time/hrtimer.c:1089
Code: 00 74 08 4c 89 ef e8 4d df 65 00 49 8b 6d 00 48 83 c5 44 48 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 cf 00 00 00 09 5d 00 <49> 8d 7e 38 48 89 f8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 d1 00
RSP: 0018:ffffc900001e0d28 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000003
RDX: 0000000000010002 RSI: 0000000000000003 RDI: 0000000000000020
RBP: ffff8880b992b704 R08: ffffffff817b30c5 R09: fffffbfff1ca4ece
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880b992b8c0 R14: ffff88803dfe5340 R15: dffffc0000000000
FS:  00005555564b7400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff1f1cd56be CR3: 00000000386da000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1702 [inline]
 __hrtimer_run_queues+0x802/0x1000 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x193/0x680 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:check_preemption_disabled+0x6/0x110 lib/smp_processor_id.c:13
Code: ff ff 66 90 f3 0f 1e fa 48 c7 c7 60 21 38 8b 48 c7 c6 a0 21 38 8b eb 0c 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 41 54 <53> 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d
RSP: 0018:ffffc90003e7f830 EFLAGS: 00000282
RAX: 843ea35512b3d100 RBX: 000000000000000d RCX: 1ffff920007cfe8c
RDX: dffffc0000000000 RSI: ffffffff8b3821a0 RDI: ffffffff8b382160
RBP: ffffea000062d100 R08: dffffc0000000000 R09: fffffbfff2038431
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a9e8200
R13: 000000000000000d R14: 0000000000000000 R15: ffffc90003e7f8f0
 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
 rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:713
 rcu_read_lock include/linux/rcupdate.h:765 [inline]
 percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline]
 percpu_ref_get include/linux/percpu-refcount.h:222 [inline]
 obj_cgroup_get include/linux/memcontrol.h:783 [inline]
 memcg_slab_post_alloc_hook mm/slab.h:545 [inline]
 slab_post_alloc_hook+0x1d8/0x390 mm/slab.h:769
 slab_alloc_node mm/slub.c:3452 [inline]
 slab_alloc mm/slub.c:3460 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3467 [inline]
 kmem_cache_alloc+0x12c/0x280 mm/slub.c:3476
 dup_fd+0x75/0xbf0 fs/file.c:324
 copy_files+0xea/0x200 kernel/fork.c:1644
 copy_process+0x1798/0x3f50 kernel/fork.c:2254
 kernel_clone+0x22d/0x990 kernel/fork.c:2681
 __do_sys_clone kernel/fork.c:2822 [inline]
 __se_sys_clone kernel/fork.c:2806 [inline]
 __x64_sys_clone+0x235/0x280 kernel/fork.c:2806
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff1f1089e2b
Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00
RSP: 002b:00007ffc26424090 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff1f1089e2b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 00005555564b7400
R10: 00005555564b76d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc26424170
 </TASK>
task:kworker/u4:7    state:R  running task     stack:21496 pid:6223  ppid:2      flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5293 [inline]
 __schedule+0x1409/0x43f0 kernel/sched/core.c:6606
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6918
 irqentry_exit+0x57/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x60 kernel/kcov.c:206
Code: 00 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 54 a6 c6 0c 48 89 de 5b e9 b3 69 54 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0d e0 d5 77 7e 65 8b 15 e1 d5 77 7e f7 c2 00 01 ff 00 74
RSP: 0018:ffffc90007a77be8 EFLAGS: 00000283
RAX: ffffffff8a77f685 RBX: ffff888078648ee8 RCX: ffff888020f11d40
RDX: 0000000000000000 RSI: ffffffff8aea7f20 RDI: ffffffff8b3821c0
RBP: ffff88801d39b310 R08: dffffc0000000000 R09: fffffbfff1ca4ece
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000001dd
R13: dffffc0000000000 R14: ffff88803932cc80 R15: ffff88801d39b300
 rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:324
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0xca/0x580 net/batman-adv/network-coding.c:719
 process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2436
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g40529 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=88712
rcu: rcu_preempt kthread starved for 10503 jiffies! g40529 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26624 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5293 [inline]
 __schedule+0x1409/0x43f0 kernel/sched/core.c:6606
 schedule+0xc3/0x190 kernel/sched/core.c:6682
 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1656
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1855
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5117 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:lock_release+0x686/0xaa0 kernel/locking/lockdep.c:5691
Code: 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 7e dc 75 00 48 c7 84 24 90 00 00 00 00 00 00 00 9c 8f 84 24 90 00 00 00 <42> 80 3c 3b 00 74 08 4c 89 f7 e8 bb db 75 00 f6 84 24 91 00 00 00
RSP: 0018:ffffc900001e0b80 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff9200003c182 RCX: ffffc900001e0c03
RDX: 0000000000000001 RSI: ffffffff8aea7f20 RDI: ffffffff8b3821c0
RBP: ffffc900001e0cb0 R08: dffffc0000000000 R09: fffffbfff1ca4ece
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c17c
R13: 0000000000000046 R14: ffffc900001e0c10 R15: dffffc0000000000
FS:  00005555564b7400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff1f1cd56be CR3: 00000000386da000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_read_unlock include/linux/rcupdate.h:797 [inline]
 advance_sched+0x73c/0x8a0 net/sched/sch_taprio.c:755
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x65d/0x1000 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x193/0x680 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:check_preemption_disabled+0x6/0x110 lib/smp_processor_id.c:13
Code: ff ff 66 90 f3 0f 1e fa 48 c7 c7 60 21 38 8b 48 c7 c6 a0 21 38 8b eb 0c 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 41 54 <53> 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d
RSP: 0018:ffffc90003e7f830 EFLAGS: 00000282
RAX: 843ea35512b3d100 RBX: 000000000000000d RCX: 1ffff920007cfe8c
RDX: dffffc0000000000 RSI: ffffffff8b3821a0 RDI: ffffffff8b382160
RBP: ffffea000062d100 R08: dffffc0000000000 R09: fffffbfff2038431
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a9e8200
R13: 000000000000000d R14: 0000000000000000 R15: ffffc90003e7f8f0
 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
 rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:713
 rcu_read_lock include/linux/rcupdate.h:765 [inline]
 percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline]
 percpu_ref_get include/linux/percpu-refcount.h:222 [inline]
 obj_cgroup_get include/linux/memcontrol.h:783 [inline]
 memcg_slab_post_alloc_hook mm/slab.h:545 [inline]
 slab_post_alloc_hook+0x1d8/0x390 mm/slab.h:769
 slab_alloc_node mm/slub.c:3452 [inline]
 slab_alloc mm/slub.c:3460 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3467 [inline]
 kmem_cache_alloc+0x12c/0x280 mm/slub.c:3476
 dup_fd+0x75/0xbf0 fs/file.c:324
 copy_files+0xea/0x200 kernel/fork.c:1644
 copy_process+0x1798/0x3f50 kernel/fork.c:2254
 kernel_clone+0x22d/0x990 kernel/fork.c:2681
 __do_sys_clone kernel/fork.c:2822 [inline]
 __se_sys_clone kernel/fork.c:2806 [inline]
 __x64_sys_clone+0x235/0x280 kernel/fork.c:2806
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff1f1089e2b
Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00
RSP: 002b:00007ffc26424090 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff1f1089e2b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 00005555564b7400
R10: 00005555564b76d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc26424170
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/13 17:09 upstream ceaa837f96ad 4d66ad72 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clone
* Struck through repros no longer work on HEAD.