syzbot


INFO: rcu detected stall in sys_clone (2)

Status: upstream: reported syz repro on 2024/03/20 15:17
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6554f4b40050f14e4b13@syzkaller.appspotmail.com
First crash: 258d, last: 4d04h
Bug presence (1)
Date Name Commit Repro Result
2024/11/30 upstream (ToT) 2ba9f676d0a2 C [report] INFO: rcu detected stall in tc_modify_qdisc
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_clone 1 362d 362d 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 509d 582d 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 1736d 1852d 0/28 auto-closed as invalid on 2020/06/01 05:26
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1252d 1252d 0/28 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (3) kernel 2 1588d 1610d 0/28 auto-closed as invalid on 2020/10/26 22:48
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 923d 923d 0/28 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1909d 1909d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) bpf mm C error 168 now 249d 0/28 upstream: reported C repro on 2024/03/29 00:16
linux-4.19 INFO: rcu detected stall in sys_clone 2 1807d 1826d 0/1 auto-closed as invalid on 2020/04/21 05:46
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 1057d 1157d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 658d 658d 0/28 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 missing-backport C done 10 12d 251d 0/3 upstream: reported C repro on 2024/03/27 00:16
android-5-10 BUG: soft lockup in sys_clone 1 148d 148d 0/2 auto-obsoleted due to no activity on 2024/10/06 12:58
android-5-15 BUG: soft lockup in sys_clone origin:upstream C error 18 84d 227d 0/2 upstream: reported C repro on 2024/04/20 04:17

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-...D } 2631 jiffies s: 2809 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4347 Comm: syz-executor Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__lock_acquire+0xdf2/0x1f80 kernel/locking/lockdep.c:5039
Code: 60 00 00 74 0d 41 bd 01 00 00 00 49 c7 c7 ff ff ff ff 48 8b 44 24 30 0f b6 04 38 84 c0 0f 85 ec 0a 00 00 48 8b 44 24 08 8b 28 <48> 83 bc 24 c0 00 00 00 00 0f 84 99 00 00 00 48 8b 44 24 28 0f b6
RSP: 0018:ffffc90000007a60 EFLAGS: 00000046
RAX: ffff88802ca0e4e0 RBX: 0000000000084a92 RCX: ffff88802ca0e420
RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000
RBP: 00000000000c4885 R08: dffffc0000000000 R09: fffffbfff224986f
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802ca0e418
R13: 0000000000000001 R14: ffff88802ca0e4e0 R15: ffffffffffffffff
FS:  0000555583d2c500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f78cf6756c0 CR3: 00000000774c2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 __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:351 [inline]
 advance_sched+0x47/0x970 net/sched/sch_taprio.c:700
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:275 [inline]
RIP: 0010:read_mems_allowed_begin include/linux/cpuset.h:153 [inline]
RIP: 0010:get_any_partial mm/slub.c:2287 [inline]
RIP: 0010:get_partial mm/slub.c:2329 [inline]
RIP: 0010:___slab_alloc+0xbd3/0x1270 mm/slub.c:3175
Code: 24 70 f7 44 24 70 00 02 00 00 75 0c 41 f7 c6 00 02 00 00 74 15 fb eb 12 e8 5a 64 d0 08 41 f7 c6 00 02 00 00 74 04 eb ed f3 90 <8b> 83 10 13 00 00 89 44 24 20 a8 01 75 f0 e9 1e fe ff ff 4d 85 ff
RSP: 0018:ffffc90004897688 EFLAGS: 00000206
RAX: d4d6ed556ed95d00 RBX: ffff88802ca0d940 RCX: ffffffff816b124a
RDX: dffffc0000000000 RSI: ffffffff8b0c01c0 RDI: ffffffff8b5e6200
RBP: ffffffff81e13fd5 R08: dffffc0000000000 R09: fffffbfff2249855
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: ffff888140008280 R14: 0000000000000287 R15: ffff88802ca0ec58
 __slab_alloc mm/slub.c:3279 [inline]
 slab_alloc_node mm/slub.c:3364 [inline]
 slab_alloc mm/slub.c:3406 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3413 [inline]
 kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422
 anon_vma_chain_alloc mm/rmap.c:141 [inline]
 anon_vma_clone+0x94/0x4d0 mm/rmap.c:287
 anon_vma_fork+0x83/0x580 mm/rmap.c:350
 dup_mmap kernel/fork.c:663 [inline]
 dup_mm kernel/fork.c:1541 [inline]
 copy_mm+0xc83/0x1990 kernel/fork.c:1590
 copy_process+0x19d5/0x4060 kernel/fork.c:2266
 kernel_clone+0x222/0x920 kernel/fork.c:2681
 __do_sys_clone kernel/fork.c:2822 [inline]
 __se_sys_clone kernel/fork.c:2806 [inline]
 __x64_sys_clone+0x231/0x280 kernel/fork.c:2806
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f78ce977053
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:00007ffccefda3d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f78ce977053
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000555583d2c7d0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000015b22 R14: 0000000000015b06 R15: 00007ffccefda560
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/29 12:25 linux-6.1.y e4d90d63d385 5df23865 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
2024/10/24 19:19 linux-6.1.y 7ec6f9fa3d97 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_clone
2024/10/19 15:14 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_clone
2024/10/15 01:36 linux-6.1.y aa4cd140bba5 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_clone
2024/09/28 14:49 linux-6.1.y e526b12bf916 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_clone
2024/07/30 19:34 linux-6.1.y c1cec4dad96b 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_clone
2024/07/06 22:30 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
2024/06/22 03:02 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
2024/05/27 10:47 linux-6.1.y 88690811da69 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
2024/05/03 04:16 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
2024/03/20 15:16 linux-6.1.y d7543167affd 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_clone
* Struck through repros no longer work on HEAD.