syzbot


INFO: rcu detected stall in sys_clone (2)

Status: upstream: reported on 2024/03/20 15:17
Reported-by: syzbot+6554f4b40050f14e4b13@syzkaller.appspotmail.com
First crash: 68d, last: 17h35m
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 173d 173d 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 320d 392d 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 1546d 1663d 0/26 auto-closed as invalid on 2020/06/01 05:26
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1063d 1063d 0/26 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (3) kernel 2 1399d 1421d 0/26 auto-closed as invalid on 2020/10/26 22:48
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 734d 734d 0/26 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1719d 1719d 13/26 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) mm C 25 1d17h 60d 0/26 upstream: reported C repro on 2024/03/29 00:16
linux-4.19 INFO: rcu detected stall in sys_clone 2 1617d 1636d 0/1 auto-closed as invalid on 2020/04/21 05:46
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 868d 967d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 469d 469d 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 25d 62d 0/3 upstream: reported C repro on 2024/03/27 00:16
android-5-15 BUG: soft lockup in sys_clone origin:lts C 12 2d01h 38d 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: { 1-...D } 2665 jiffies s: 1633 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: 3004 Comm: udevd Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
RIP: 0010:do_raw_spin_lock+0xbd/0x370 kernel/locking/spinlock_debug.c:114
Code: 00 4d 8d 6c 24 10 4c 89 e8 48 c1 e8 03 48 89 44 24 20 80 3c 10 00 74 12 4c 89 ef e8 ad 4c 76 00 48 ba 00 00 00 00 00 fc ff df <49> 8b 45 00 65 48 8b 0d 07 af 96 7e 48 89 4c 24 28 48 39 c8 0f 84
RSP: 0018:ffffc900001e0be0 EFLAGS: 00000046
RAX: 1ffff1100ba1dc5f RBX: ffff88805d0ee2ec RCX: 1ffff9200003c184
RDX: dffffc0000000000 RSI: 1ffff9200003c184 RDI: ffff88805d0ee2e8
RBP: ffffc900001e0cb0 R08: dffffc0000000000 R09: fffffbfff2093866
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805d0ee2e8
R13: ffff88805d0ee2f8 R14: dffffc0000000000 R15: ffff88807debe408
FS:  00007ff4aaeb0c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562110076e20 CR3: 0000000028a88000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 spin_lock include/linux/spinlock.h:351 [inline]
 advance_sched+0x47/0x970 net/sched/sch_taprio.c:700
 __run_hrtimer kernel/time/hrtimer.c:1686 [inline]
 __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__rb_insert lib/rbtree.c:185 [inline]
RIP: 0010:__rb_insert_augmented+0x139/0x600 lib/rbtree.c:459
Code: 0f 84 8a 02 00 00 49 89 ef 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 74 08 48 89 ef e8 1b 50 5d f7 f6 45 00 01 <0f> 85 60 02 00 00 49 89 dd 48 83 cb 01 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc900031af720 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff88807eaa4170 RCX: ffff88807debd940
RDX: ffffffff81c9add0 RSI: ffff8880289b2500 RDI: ffff888017ea7720
RBP: ffff888073005790 R08: dffffc0000000000 R09: ffff888017ea7728
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807eaa4178
R13: 1ffff1100fd5482f R14: ffff88807f97e100 R15: 1ffff1100e600af2
 anon_vma_chain_link mm/rmap.c:156 [inline]
 anon_vma_clone+0x228/0x4d0 mm/rmap.c:297
 anon_vma_fork+0x83/0x580 mm/rmap.c:350
 dup_mmap kernel/fork.c:662 [inline]
 dup_mm kernel/fork.c:1540 [inline]
 copy_mm+0xf92/0x19c0 kernel/fork.c:1589
 copy_process+0x19d5/0x4060 kernel/fork.c:2267
 kernel_clone+0x222/0x920 kernel/fork.c:2682
 __do_sys_clone kernel/fork.c:2823 [inline]
 __se_sys_clone kernel/fork.c:2807 [inline]
 __x64_sys_clone+0x231/0x280 kernel/fork.c:2807
 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:0x7ff4aaafca12
Code: 41 5d 41 5e 41 5f c3 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 76 10 48 8b 15 e7 43 0f 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffe8f7c5068 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000562110074b01 RCX: 00007ff4aaafca12
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000562110050910
R10: 00007ff4aaeb0f50 R11: 0000000000000246 R12: 0000562110072fd0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000562110050910
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.