syzbot


INFO: rcu detected stall in ksys_read

Status: auto-closed as invalid on 2020/09/30 07:28
Subsystems: fs
[Documentation on labels]
First crash: 1365d, last: 1365d

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=b6e/1/0x4000000000000000 softirq=92566/92566 fqs=0 
	(detected by 1, t=10502 jiffies, g=145321, q=23)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1 Comm: systemd Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_local_irq_restore+0x34/0x50 arch/x86/include/asm/paravirt.h:766
Code: fb 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 18 48 83 3d e9 e8 5b 08 00 74 0c 48 89 df 57 9d 0f 1f 44 00 00 5b <c3> 0f 0b 48 c7 c7 40 e0 b4 89 e8 2d 15 5a 00 eb da 90 66 2e 0f 1f
RSP: 0018:ffffc90000007d58 EFLAGS: 00000082
RAX: 1ffffffff1369c08 RBX: 0000000000000001 RCX: 1ffffffff1302724
RDX: dffffc0000000000 RSI: ffffffff89bc1080 RDI: 0000000000000082
RBP: ffff8880a9594040 R08: 0000000000000000 R09: ffffffff8aae584f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a9594910 R14: ffff8880a9594910 R15: 0000000000000082
FS:  00007fe56f866500(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000ca3b72 CR3: 00000000a845d000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_is_held_type+0xb0/0xe0 kernel/locking/lockdep.c:4998
 lock_is_held include/linux/lockdep.h:425 [inline]
 rcu_read_lock_sched_held+0x3a/0xb0 kernel/rcu/update.c:135
 trace_hrtimer_start include/trace/events/timer.h:195 [inline]
 debug_activate kernel/time/hrtimer.c:477 [inline]
 enqueue_hrtimer+0x346/0x3f0 kernel/time/hrtimer.c:965
 __run_hrtimer kernel/time/hrtimer.c:1537 [inline]
 __hrtimer_run_queues+0xc1e/0xfc0 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xe0/0x120 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:91 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:183 [inline]
RIP: 0010:check_memory_region+0xde/0x180 mm/kasan/generic.c:192
Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c
RSP: 0018:ffffc90000c7fe40 EFLAGS: 00000246
RAX: ffffed1043773208 RBX: ffffed1043773209 RCX: ffffffff81c5456f
RDX: ffffed1043773209 RSI: 0000000000000004 RDI: ffff88821bb99040
RBP: ffffed1043773208 R08: 0000000000000000 R09: ffff88821bb99043
R10: ffffed1043773208 R11: 0000000000000000 R12: ffff88821bb99040
R13: 0000000000004000 R14: dffffc0000000000 R15: 0000000000000008
 instrument_atomic_read include/linux/instrumented.h:56 [inline]
 atomic_read include/asm-generic/atomic-instrumented.h:27 [inline]
 __fget_light+0x4f/0x280 fs/file.c:795
 __fdget fs/file.c:809 [inline]
 __fdget_pos+0x19/0x100 fs/file.c:820
 fdget_pos include/linux/file.h:74 [inline]
 ksys_read+0x6e/0x250 fs/read_write.c:579
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fe56e10422d
Code: Bad RIP value.
RSP: 002b:00007ffd72ddf2e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000555af71ddd48 RCX: 00007fe56e10422d
RDX: 0000000000000008 RSI: 00007ffd72ddf2f0 RDI: 0000000000000026
RBP: 00007ffd72ddf5c0 R08: ffa932c950eb556e R09: 00007ffd72de30f0
R10: 00000000000320aa R11: 0000000000000293 R12: 0000555af71ddd30
R13: 0000000000000001 R14: 00007ffd72ddf31c R15: 00007ffd72ddf310
rcu: rcu_preempt kthread starved for 10502 jiffies! g145321 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
rcu_preempt     I29120    10      2 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3453 [inline]
 __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178
 schedule+0xd0/0x2a0 kernel/sched/core.c:4253
 schedule_timeout+0x148/0x250 kernel/time/timer.c:1897
 rcu_gp_fqs_loop kernel/rcu/tree.c:1874 [inline]
 rcu_gp_kthread+0xae5/0x1b50 kernel/rcu/tree.c:2044
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/02 07:20 upstream cd77006e01b3 bed10395 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.