syzbot


INFO: rcu detected stall in __bad_area_nosemaphore

Status: auto-closed as invalid on 2020/06/29 00:48
Reported-by: syzbot+2fddf56697c912b685e2@syzkaller.appspotmail.com
First crash: 1510d, last: 1510d

Sample crash report:
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 0, t=10502 jiffies, g=4128, c=4127, q=1)
All QSes seen, last rcu_sched kthread activity 10498 (4294977178-4294966680), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.1  R  running task    29312 12842   7461 0x80000004
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5168 [inline]
 sched_show_task.cold+0x2e3/0x347 kernel/sched/core.c:5143
 print_other_cpu_stall kernel/rcu/tree.c:1501 [inline]
 check_cpu_stall kernel/rcu/tree.c:1616 [inline]
 __rcu_pending kernel/rcu/tree.c:3390 [inline]
 rcu_pending kernel/rcu/tree.c:3452 [inline]
 rcu_check_callbacks.cold+0xd3f/0xdaa kernel/rcu/tree.c:2792
 update_process_times+0x29/0x60 kernel/time/timer.c:1590
 tick_sched_handle+0x7d/0x150 kernel/time/tick-sched.c:165
 tick_sched_timer+0x3e/0x120 kernel/time/tick-sched.c:1223
 __run_hrtimer kernel/time/hrtimer.c:1223 [inline]
 __hrtimer_run_queues+0x25c/0xbb0 kernel/time/hrtimer.c:1287
 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline]
 smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100
 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x96/0xe0 kernel/locking/spinlock.c:192
RSP: 0000:ffff8880535e7cd0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0fa2ce1 RBX: 0000000000000286 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000286
RBP: ffff888086a76a88 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880805e0888 R14: 0000000000000286 R15: ffff8880535e7d78
 spin_unlock_irqrestore include/linux/spinlock.h:372 [inline]
 force_sig_info+0x274/0x340 kernel/signal.c:1256
 force_sig_info_fault.constprop.0+0x185/0x260 arch/x86/mm/fault.c:225
 __bad_area_nosemaphore+0x1d9/0x2a0 arch/x86/mm/fault.c:918
 __do_page_fault+0x859/0xb40 arch/x86/mm/fault.c:1390
 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1122
RIP: 0c1c:0x4c138b
RSP: aaa446d4:000000000076bf20 EFLAGS: ffffffff
rcu_sched kthread starved for 10498 jiffies! g4128 c4127 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1
rcu_sched       R  running task    29984     9      2 0x80000000
Call Trace:
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_timeout+0x43c/0xe40 kernel/time/timer.c:1746
 rcu_gp_kthread+0xb8e/0x1ce0 kernel/rcu/tree.c:2255
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
INFO: rcu_preempt detected stalls on CPUs/tasks:
	Tasks blocked on level-0 rcu_node (CPUs 0-1): P12846
	(detected by 0, t=10526 jiffies, g=5009, c=5008, q=250)
syz-executor.3  R  running task    29184 12846   7460 0x00000000
Call Trace:
 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3611
 retint_kernel+0x1b/0x2d
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:__fcheck_files include/linux/fdtable.h:84 [inline]
RIP: 0010:fcheck_files include/linux/fdtable.h:98 [inline]
RIP: 0010:__fget+0xe9/0x360 fs/file.c:689
RSP: 0018:ffff8880538bfe08 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffffed1012769e12 RBX: ffff8880541de580 RCX: ffffc90007831000
RDX: 0000000000040000 RSI: ffffffff81918f12 RDI: 0000000000000286
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000020012
R10: ffff8880541dee00 R11: ffff8880541de580 R12: ffff888093b4f040
R13: 0000000000000004 R14: dffffc0000000000 R15: ffff888093b4f040
 __fget_light fs/file.c:744 [inline]
 __fget_light+0x183/0x1f0 fs/file.c:733
 fdget include/linux/file.h:57 [inline]
 SYSC_pwrite64 fs/read_write.c:628 [inline]
 SyS_pwrite64+0x77/0x140 fs/read_write.c:619
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x416277
RSP: 002b:00007febb678d9d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007febb678e6d4 RCX: 0000000000416277
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 000000000076bfc0 R08: fe03f80fe03f80ff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00000000ffffffff
R13: 0000000000000c1c R14: 00000000004c138b R15: 000000000076bfcc
syz-executor.3  R  running task    29184 12846   7460 0x00000000
Call Trace:
 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3611
 retint_kernel+0x1b/0x2d
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:__fcheck_files include/linux/fdtable.h:84 [inline]
RIP: 0010:fcheck_files include/linux/fdtable.h:98 [inline]
RIP: 0010:__fget+0xe9/0x360 fs/file.c:689
RSP: 0018:ffff8880538bfe08 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffffed1012769e12 RBX: ffff8880541de580 RCX: ffffc90007831000
RDX: 0000000000040000 RSI: ffffffff81918f12 RDI: 0000000000000286
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000020012
R10: ffff8880541dee00 R11: ffff8880541de580 R12: ffff888093b4f040
R13: 0000000000000004 R14: dffffc0000000000 R15: ffff888093b4f040
 __fget_light fs/file.c:744 [inline]
 __fget_light+0x183/0x1f0 fs/file.c:733
 fdget include/linux/file.h:57 [inline]
 SYSC_pwrite64 fs/read_write.c:628 [inline]
 SyS_pwrite64+0x77/0x140 fs/read_write.c:619
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x416277
RSP: 002b:00007febb678d9d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007febb678e6d4 RCX: 0000000000416277
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 000000000076bfc0 R08: fe03f80fe03f80ff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00000000ffffffff
R13: 0000000000000c1c R14: 00000000004c138b R15: 000000000076bfcc
rcu_preempt kthread starved for 10526 jiffies! g5009 c5008 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1
rcu_preempt     R  running task    29984     8      2 0x80000000
Call Trace:
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_timeout+0x43c/0xe40 kernel/time/timer.c:1746
 rcu_gp_kthread+0xb8e/0x1ce0 kernel/rcu/tree.c:2255
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
sched: RT throttling activated

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/01 00:47 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.