syzbot


INFO: rcu detected stall in sys_mount (7)

Status: upstream: reported C repro on 2024/04/26 05:48
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+de026b20f56e1598e760@syzkaller.appspotmail.com
First crash: 245d, last: 8d17h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: INFO: rcu detected stall in do_syscall_64 (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d
Author: Peter Zijlstra <peterz@infradead.org>
Date: Mon May 27 12:06:55 2024 +0000

  sched/rt: Remove default bandwidth control

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [v9fs?] INFO: rcu detected stall in sys_mount (7) 0 (2) 2024/10/25 01:14
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_mount (6) ntfs C inconclusive 82 377d 1150d 0/28 auto-obsoleted due to no activity on 2024/02/18 04:52
upstream INFO: rcu detected stall in sys_mount (4) fs 2 1722d 1737d 0/28 auto-closed as invalid on 2020/06/02 15:48
upstream INFO: rcu detected stall in sys_mount (5) afs C done done 10 1512d 1533d 15/28 fixed on 2020/11/16 12:12
linux-5.15 INFO: rcu detected stall in sys_mount 1 40d 40d 0/3 upstream: reported on 2024/10/11 22:21
upstream INFO: rcu detected stall in sys_mount (3) kernel 6 1814d 1814d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in sys_mount nfs 1 2219d 2219d 0/28 closed as invalid on 2018/10/29 13:47
upstream INFO: rcu detected stall in sys_mount (2) exfat 1 2170d 2170d 0/28 closed as dup on 2018/12/12 21:01
android-5-15 BUG: soft lockup in sys_mount origin:lts C error 17 139d 217d 0/2 auto-obsoleted due to no activity on 2024/10/17 05:03
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/20 21:50 25m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/10/24 18:40 6h32m bisect fix upstream OK (1) job log
2024/09/10 02:59 2h52m bisect fix upstream OK (0) job log log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (1 GPs behind) idle=c414/1/0x4000000000000000 softirq=34064/34065 fqs=5247
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:        0          0            0
rcu: 	cputime:        0          0            0   ==> 52510(ms)
rcu: 	(detected by 0, t=10502 jiffies, g=33377, q=478 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 10063 Comm: syz.8.1048 Not tainted 6.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4849 [inline]
RIP: 0010:__lock_acquire+0x82d/0x2050 kernel/locking/lockdep.c:5152
Code: 84 c0 0f 85 b0 12 00 00 89 5c 24 08 45 3b 65 00 0f 8d ad 02 00 00 4d 63 f4 4b 8d 04 b6 48 8b 4c 24 30 4c 8d ac c1 00 0b 00 00 <48> c7 c0 40 49 3d 9a 48 c1 e8 03 48 89 44 24 68 48 c7 c0 40 3c 1d
RSP: 0018:ffffc90000a18910 EFLAGS: 00000097
RAX: 000000000000001e RBX: 0000000000084002 RCX: ffff888027355a00
RDX: dffffc0000000000 RSI: ffff8880273564e0 RDI: 0000000000000023
RBP: 0000000000000005 R08: ffffffff942cd807 R09: 1ffffffff2859b00
R10: dffffc0000000000 R11: fffffbfff2859b01 R12: 0000000000000006
R13: ffff8880273565f0 R14: 0000000000000006 R15: ffff888027356618
FS:  00007f72466666c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 000000007b512000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
 debug_object_activate+0x16d/0x510 lib/debugobjects.c:708
 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline]
 debug_activate kernel/time/hrtimer.c:478 [inline]
 enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085
 __run_hrtimer kernel/time/hrtimer.c:1708 [inline]
 __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
 __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829
Code: 2b 00 74 08 4c 89 f7 e8 fa 5a 8e 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc9000de17380 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001bc2e7c RCX: 15209429c47fc300
RDX: dffffc0000000000 RSI: ffffffff8c0adc20 RDI: ffffffff8c610a20
RBP: ffffc9000de174c8 R08: ffffffff942cd817 R09: 1ffffffff2859b02
R10: dffffc0000000000 R11: fffffbfff2859b03 R12: 1ffff92001bc2e78
R13: dffffc0000000000 R14: ffffc9000de173e0 R15: 0000000000000246
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 __d_instantiate+0x19f/0x740 fs/dcache.c:1857
 d_instantiate+0x6f/0xa0 fs/dcache.c:1894
 shmem_mknod+0x195/0x1e0 mm/shmem.c:3586
 shmem_whiteout mm/shmem.c:3720 [inline]
 shmem_rename2+0x1b7/0x350 mm/shmem.c:3763
 vfs_rename+0xbdd/0xf00 fs/namei.c:5013
 ovl_do_rename fs/overlayfs/overlayfs.h:371 [inline]
 ovl_check_rename_whiteout fs/overlayfs/super.c:564 [inline]
 ovl_make_workdir fs/overlayfs/super.c:685 [inline]
 ovl_get_workdir+0xa04/0x1920 fs/overlayfs/super.c:808
 ovl_fill_super+0x12a8/0x3560 fs/overlayfs/super.c:1376
 vfs_get_super fs/super.c:1280 [inline]
 get_tree_nodev+0xb9/0x140 fs/super.c:1299
 vfs_get_tree+0x92/0x2b0 fs/super.c:1814
 do_new_mount+0x2be/0xb40 fs/namespace.c:3507
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4057 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f724577e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7246666038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7245935f80 RCX: 00007f724577e719
RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000
RBP: 00007f72457f1616 R08: 0000000020000200 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7245935f80 R15: 00007ffc3bfff5e8
 </TASK>

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/12 13:29 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/10/30 05:05 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/09/24 16:37 upstream abf2050f51fd 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/08/10 21:38 upstream 5189dafa4cf9 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/28 07:23 upstream 6d6444ba8205 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/23 11:47 upstream 5f583a3162ff edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/20 23:37 upstream 2ccbdf43d5e7 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/06/13 03:24 upstream cea2a26553ac 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/12 00:29 upstream 83a7eefedc9b c7d7d815 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_mount
2024/06/07 09:28 upstream 8a92980606e3 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/06 06:45 upstream 71d7b52cc33b 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/05/29 16:36 upstream e0cce98fe279 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/05/26 06:22 upstream 56fb6f92854f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/05/18 17:47 upstream 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/05/14 08:16 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_mount
2024/05/08 03:48 upstream dccb07f2914c 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/05/06 09:38 upstream dd5a440a31fa 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_mount
2024/05/05 12:30 upstream 7367539ad4b0 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/30 22:37 upstream 50dffbf77180 9e0e6af1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/04/29 06:46 upstream e67572cd2204 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/22 13:52 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/22 05:44 upstream 3b68086599f8 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/04/21 21:03 upstream 48cf398f15fc af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/15 04:51 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_mount
2024/03/21 04:44 upstream fe46a7dd189e 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_mount
2024/07/31 14:09 linux-next 931a3b3bccc9 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/07/29 13:45 linux-next 931a3b3bccc9 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/07/27 02:13 linux-next 668d33c9ff92 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/07/06 21:05 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/28 02:30 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/23 10:35 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/21 04:38 linux-next b992b79ca8bc dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/06/14 09:39 linux-next a957267fa7e9 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/14 02:23 linux-next 9ed46da14b9b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
2024/04/10 11:09 linux-next a053fd3ca5d1 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_mount
* Struck through repros no longer work on HEAD.