syzbot


INFO: rcu detected stall in lo_ioctl

Status: closed as dup on 2018/05/04 17:09
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+e5e426c6a47c26ada908348fe84aff916a26d337@syzkaller.appspotmail.com
First crash: 2534d, last: 2330d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in blkdev_ioctl block C 249 2357d 2532d
Discussions (1)
Title Replies (including bot) Last reply
possible deadlock in blkdev_reread_part 11 (11) 2018/09/17 13:57
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in lo_ioctl (4) block 2 475d 531d 0/28 auto-obsoleted due to no activity on 2023/11/02 10:53
linux-5.15 INFO: rcu detected stall in lo_ioctl 1 170d 170d 0/3 auto-obsoleted due to no activity on 2024/09/11 22:21
upstream INFO: rcu detected stall in lo_ioctl (2) kernel 2 1814d 1815d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in lo_ioctl (3) kernfs 2 1058d 1063d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in lo_ioctl (5) block 7 113d 202d 0/28 auto-obsoleted due to no activity on 2024/10/29 01:08

Sample crash report:
INFO: rcu_sched self-detected stall on CPU
	0-....: (124998 ticks this GP) idle=7aa/1/4611686018427387906 softirq=116988/116988 fqs=31235 
	 (t=125000 jiffies g=61880 c=61879 q=881)
NMI backtrace for cpu 0
CPU: 0 PID: 26300 Comm: syz-executor2 Not tainted 4.17.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:156 [inline]
 rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1336
 print_cpu_stall kernel/rcu/tree.c:1485 [inline]
 check_cpu_stall.isra.60.cold.78+0x36c/0x5a6 kernel/rcu/tree.c:1553
 __rcu_pending kernel/rcu/tree.c:3244 [inline]
 rcu_pending kernel/rcu/tree.c:3291 [inline]
 rcu_check_callbacks+0x237/0xcb0 kernel/rcu/tree.c:2646
 update_process_times+0x2d/0x70 kernel/time/timer.c:1636
 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x3e3/0x10a0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x15d/0x710 arch/x86/kernel/apic/apic.c:1050
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x50 kernel/kcov.c:104
Code: 01 00 65 8b 15 ff 94 88 7e 48 89 e5 81 e2 00 01 1f 00 48 8b 75 08 75 2b 8b 90 78 12 00 00 83 fa 02 75 20 48 8b 88 80 12 00 00 <8b> 80 7c 12 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 
RSP: 0018:ffff8801ae89f938 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8801d8c04500 RBX: ffff8801d2885240 RCX: ffffc900086ec000
RDX: 0000000000000002 RSI: ffffffff84b679a3 RDI: ffff8801d21e0e20
RBP: ffff8801ae89f938 R08: ffff8801d8c04500 R09: ffff8801ae89f518
R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8801d21e0900 R14: ffff8801b4cdc820 R15: ffff8801b4cdc740
 loop_set_fd drivers/block/loop.c:908 [inline]
 lo_ioctl+0x1c43/0x2190 drivers/block/loop.c:1399
 __blkdev_driver_ioctl block/ioctl.c:303 [inline]
 blkdev_ioctl+0x9b6/0x2020 block/ioctl.c:601
 block_ioctl+0xee/0x130 fs/block_dev.c:1877
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x1cf/0x16f0 fs/ioctl.c:684
 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701
 __do_sys_ioctl fs/ioctl.c:708 [inline]
 __se_sys_ioctl fs/ioctl.c:706 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455a09
Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f706ee9cc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f706ee9d6d4 RCX: 0000000000455a09
RDX: 0000000000000014 RSI: 0000000000004c00 RDI: 0000000000000015
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000002de R14: 00000000006f9570 R15: 0000000000000000

Crashes (193):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/07 02:04 upstream 0ad39cb3d70f e0e534c6 .config console log report ci-upstream-kasan-gce
2018/06/06 15:42 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce
2018/06/06 05:31 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce
2018/06/05 23:55 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce
2018/06/05 14:43 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce
2018/06/05 01:22 upstream 910470e03f34 a50d873b .config console log report ci-upstream-kasan-gce-root
2018/06/04 21:22 upstream 910470e03f34 a50d873b .config console log report ci-upstream-kasan-gce
2018/06/04 17:37 upstream 29dcea88779c 6cbe7c26 .config console log report ci-upstream-kasan-gce
2018/06/04 06:00 upstream 325e14f97e0c 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/03 23:14 upstream 325e14f97e0c 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/03 08:35 upstream 918fe1b31579 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/03 06:44 upstream 4277e6b9fd44 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/02 06:07 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/01 09:19 upstream dd52cb879063 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/01 07:36 upstream dd52cb879063 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/01 06:01 upstream dd52cb879063 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/01 01:35 upstream dd52cb879063 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/30 15:27 upstream 0044cdeb7313 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/30 13:07 upstream 0044cdeb7313 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/30 10:32 upstream 0044cdeb7313 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/30 02:26 upstream 3d661e2a2d1c 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/29 14:48 upstream 3d661e2a2d1c e276de77 .config console log report ci-upstream-kasan-gce
2018/05/29 11:01 upstream 786b71f5b754 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/28 12:14 upstream b04e217704b7 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/28 02:32 upstream 861d9dd37526 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/28 00:53 upstream 861d9dd37526 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/27 12:04 upstream 7fbb6157630f f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/27 04:23 upstream 7fbb6157630f f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/27 03:08 upstream 7fbb6157630f f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/26 22:26 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/26 17:38 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/26 14:10 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/26 10:45 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/26 07:58 upstream 62d18ecfa641 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/06/02 14:45 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/06/02 08:36 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/06/01 16:52 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/06/01 10:49 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/05/28 17:48 upstream b04e217704b7 f48c20b8 .config console log report ci-upstream-kasan-gce-386
2018/07/05 19:31 https://github.com/google/kmsan.git master 86eb85c04833 d3b2a0e2 .config console log report ci-upstream-kmsan-gce
2018/01/18 08:55 mmots ce3c209f6733 56cc113a .config console log report ci-upstream-mmots-kasan-gce
2018/01/16 14:58 linux-next fdddade65d7b 4198e588 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.