syzbot


INFO: rcu detected stall in sys_mount (6)

Status: upstream: reported C repro on 2021/09/27 18:50
Reported-by: syzbot+ee7d095f44a683a195f8@syzkaller.appspotmail.com
First crash: 366d, last: 153d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: no output from test machine (log)
Repro: C syz .config
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_mount (4) 2 935d 951d 0/24 auto-closed as invalid on 2020/06/02 15:48
upstream INFO: rcu detected stall in sys_mount (5) C done done 10 725d 747d 17/24 fixed on 2020/11/16 12:12
upstream INFO: rcu detected stall in sys_mount (3) 6 1027d 1028d 0/24 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in sys_mount 1 1433d 1433d 0/24 closed as invalid on 2018/10/29 13:47
upstream INFO: rcu detected stall in sys_mount (2) 1 1383d 1383d 0/24 closed as dup on 2018/12/12 21:01
Patch testing requests:
Created Duration User Patch Repo Result
2022/04/07 14:34 14m k.kahurani@gmail.com upstream log

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10500 ticks this GP) idle=2bb/1/0x4000000000000000 softirq=9116/9116 fqs=5250 
	(t=10502 jiffies g=12025 q=441)
NMI backtrace for cpu 0
CPU: 0 PID: 6525 Comm: syz-executor604 Not tainted 5.15.0-rc2-next-20210924-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3878 [inline]
 rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2597
 update_process_times+0x16d/0x200 kernel/time/timer.c:1785
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:197
Code: 81 e1 00 01 00 00 65 48 8b 14 25 40 70 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 ac 15 00 00 85 c0 74 2b 8b 82 88 15 00 00 <83> f8 02 75 20 48 8b 8a 90 15 00 00 8b 92 8c 15 00 00 48 8b 01 48
RSP: 0018:ffffc9000110f9a0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888079718000 RSI: ffffffff828c91c6 RDI: 0000000000000003
RBP: ffffc90002081000 R08: 0000000000000000 R09: 0000000000000068
R10: ffffffff828c8e16 R11: 000000000000003f R12: ffff88806c93e600
R13: ffff888013f8b000 R14: dffffc0000000000 R15: ffff88806c93e650
 ntfs_lookup_inode_by_name+0x1d26/0x34b0 fs/ntfs/dir.c:379
 check_windows_hibernation_status+0xd9/0x740 fs/ntfs/super.c:1274
 load_system_files fs/ntfs/super.c:1989 [inline]
 ntfs_fill_super+0x62f4/0x84e0 fs/ntfs/super.c:2893
 mount_bdev+0x34d/0x410 fs/super.c:1368
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1498
 do_new_mount fs/namespace.c:2988 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3318
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount fs/namespace.c:3516 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f967e8db4fa
Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd213ac388 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffd213ac3e0 RCX: 00007f967e8db4fa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd213ac3a0
RBP: 00007ffd213ac3a0 R08: 00007ffd213ac3e0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 0000000020001c28
R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000117
 </TASK>
----------------
Code disassembly (best guess):
   0:	81 e1 00 01 00 00    	and    $0x100,%ecx
   6:	65 48 8b 14 25 40 70 	mov    %gs:0x27040,%rdx
   d:	02 00
   f:	a9 00 01 ff 00       	test   $0xff0100,%eax
  14:	74 0e                	je     0x24
  16:	85 c9                	test   %ecx,%ecx
  18:	74 35                	je     0x4f
  1a:	8b 82 ac 15 00 00    	mov    0x15ac(%rdx),%eax
  20:	85 c0                	test   %eax,%eax
  22:	74 2b                	je     0x4f
  24:	8b 82 88 15 00 00    	mov    0x1588(%rdx),%eax
* 2a:	83 f8 02             	cmp    $0x2,%eax <-- trapping instruction
  2d:	75 20                	jne    0x4f
  2f:	48 8b 8a 90 15 00 00 	mov    0x1590(%rdx),%rcx
  36:	8b 92 8c 15 00 00    	mov    0x158c(%rdx),%edx
  3c:	48 8b 01             	mov    (%rcx),%rax
  3f:	48                   	rex.W

Crashes (76):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/09/26 14:20 linux-next 5a5d008887b4 8cac236e .config log report syz C INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2022/02/03 21:50 upstream 1f2cfdd349b7 30646bfe .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2022/01/19 08:05 upstream 99613159ad74 731a2d23 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2022/01/15 01:35 upstream fb3b0673b7d5 53e00b45 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2022/01/13 09:38 upstream f079ab01b560 44d1319a .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/12/29 04:16 upstream ecf71de775a0 76c8cf06 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/12/24 06:45 upstream 76657eaef4a7 6caa12e4 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/12/17 17:28 upstream 6441998e2e37 44068e19 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce 2021/11/27 20:08 upstream 741392771338 63eeac02 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/14 06:01 upstream a9b9669d9822 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/14 02:10 upstream a9b9669d9822 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/13 16:26 upstream 66f4beaa6c1d 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/13 05:17 upstream 7246f4dcaccc 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/13 01:24 upstream 7246f4dcaccc 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/12 18:39 upstream 5833291ab6de 83f5c9b5 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/12 12:44 upstream 5833291ab6de 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/12 09:43 upstream 5833291ab6de 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/12 06:09 upstream 5833291ab6de 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/11 23:22 upstream debe436e77c7 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/11 21:50 upstream debe436e77c7 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/11 05:41 upstream 89d714ab6043 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/11 00:43 upstream 89d714ab6043 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/10 20:07 upstream cb690f5238d7 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/10 16:45 upstream cb690f5238d7 75b04091 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/10 10:21 upstream cb690f5238d7 55fa030c .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/09 05:20 upstream e851dfae4371 8ab17e57 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/08 20:04 upstream e851dfae4371 d29682f1 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/08 17:59 upstream 6b75d88fa81b d29682f1 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/08 00:22 upstream b5013d084e03 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/07 16:23 upstream b5013d084e03 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/07 06:46 upstream 512b7931ad05 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/07 04:47 upstream 512b7931ad05 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/07 03:41 upstream 512b7931ad05 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/06 23:51 upstream 512b7931ad05 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/06 15:51 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/06 12:09 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/06 09:53 upstream fe91c4725aee 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/06 06:05 upstream fe91c4725aee 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/06 03:42 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/06 03:01 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/05 22:29 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/05 16:49 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/05 13:56 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/05 02:04 upstream 7ddb58cb0eca 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/05 00:03 upstream 7ddb58cb0eca 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/04 20:12 upstream 7ddb58cb0eca 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/04 13:17 upstream ce840177930f 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/04 09:25 upstream ce840177930f 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/04 07:47 upstream ce840177930f 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/03 22:17 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/03 20:12 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/03 19:01 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-selinux-root 2021/11/03 14:53 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-root 2021/11/03 03:55 upstream cc0356d6a02e 17f3edd2 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-kasan-gce-smack-root 2021/11/03 02:11 upstream bfc484fe6abb 17f3edd2 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2022/04/26 00:53 linux-next e7d6987e09a3 152baedd .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2022/01/06 09:44 linux-next 7a769a3922d8 6acc789a .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/12/09 11:27 linux-next 4eee8d0b64ec a4a2a501 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/11/02 05:15 linux-next bdcc9f6a5682 098b5d53 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/27 11:14 linux-next 2376e5fe91bc d50eb50a .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/24 19:15 linux-next cf6c9d12750c 282f03fb .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/23 08:34 linux-next cf6c9d12750c 282f03fb .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/22 21:18 linux-next cf6c9d12750c 282f03fb .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/22 14:02 linux-next 3196a52aff93 55f90bc6 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/19 17:11 linux-next 60e8840126bd 24dc29db .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/17 12:52 linux-next 7c832d2f9b95 0c5d9412 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/17 09:57 linux-next 7c832d2f9b95 0c5d9412 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/17 03:38 linux-next 7c832d2f9b95 0c5d9412 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/08 04:12 linux-next f8dc23b3dc0c efe0f24d .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/10/03 09:56 linux-next a25006a77348 db0f5787 .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/09/26 10:32 linux-next 5a5d008887b4 8cac236e .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/09/25 23:47 linux-next 5a5d008887b4 8cac236e .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/09/25 19:46 linux-next 5a5d008887b4 8cac236e .config log report info INFO: rcu detected stall in sys_mount
ci-upstream-linux-next-kasan-gce-root 2021/09/25 05:17 linux-next 5a5d008887b4 8cac236e .config log report info INFO: rcu detected stall in sys_mount
* Struck through repros no longer work on HEAD.