syzbot


WARNING in task_ctx_sched_out

Status: auto-closed as invalid on 2021/10/04 04:40
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+30189c98403be62bc05a@syzkaller.appspotmail.com
First crash: 1285d, last: 1265d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] WARNING in __perf_install_in_context 4 (5) 2021/05/18 10:40
[syzbot] WARNING in task_ctx_sched_out 1 (2) 2021/05/17 15:42

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11079 at kernel/events/core.c:2668 task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668
Modules linked in:
CPU: 0 PID: 11079 Comm: syz-executor.1 Not tainted 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0
Hardware name: riscv-virtio,qemu (DT)
epc : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668
 ra : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668
epc : ffffffe00027ccf0 ra : ffffffe00027ccf0 sp : ffffffe023ecbb80
 gp : ffffffe0045883c0 tp : ffffffe007e35f00 t0 : ffffffc400cbb7d4
 t1 : 0000000000000001 t2 : 0000000072ffa913 s0 : ffffffe023ecbbb0
 s1 : ffffffe066d59e00 a0 : ffffffe066d59fa8 a1 : 00000000000f0000
 a2 : 0000000000000002 a3 : ffffffe00027ccf0 a4 : ffffffe007e36f00
 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffffe00028fc4c
 s2 : ffffffe008b7bc00 s3 : 0000000000000003 s4 : ffffffe00eadd000
 s5 : ffffffe007e37288 s6 : ffffffe007e371f8 s7 : ffffffe008b7bc08
 s8 : ffffffe026dcecc0 s9 : 00000000000ea000 s10: ffffffe007e35f00
 s11: ffffffe023ecbe30 t3 : 15be945c575fdb00 t4 : ffffffc404ecbf34
 t5 : ffffffc404ecbf35 t6 : ffffffe005f74026
status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003
Call Trace:
[<ffffffe00027ccf0>] task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668
[<ffffffe00028fc98>] perf_event_exit_task_context kernel/events/core.c:12483 [inline]
[<ffffffe00028fc98>] perf_event_exit_task+0x214/0x708 kernel/events/core.c:12541
[<ffffffe000031fc4>] do_exit+0x77a/0x1846 kernel/exit.c:834
[<ffffffe00003319a>] do_group_exit+0xa0/0x198 kernel/exit.c:922
[<ffffffe00004c558>] get_signal+0x31e/0x14ba kernel/signal.c:2781
[<ffffffe000007e06>] do_signal arch/riscv/kernel/signal.c:271 [inline]
[<ffffffe000007e06>] do_notify_resume+0xa8/0x930 arch/riscv/kernel/signal.c:317
[<ffffffe000005586>] ret_from_exception+0x0/0x14
irq event stamp: 1588
hardirqs last  enabled at (1587): [<ffffffe0000055c8>] restore_all+0x12/0x6e
hardirqs last disabled at (1588): [<ffffffe002a9a41c>] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:126 [inline]
hardirqs last disabled at (1588): [<ffffffe002a9a41c>] _raw_spin_lock_irq+0x5c/0x5e kernel/locking/spinlock.c:167
softirqs last  enabled at (1550): [<ffffffe002a9b578>] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372
softirqs last disabled at (1531): [<ffffffe00003507e>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (1531): [<ffffffe00003507e>] invoke_softirq kernel/softirq.c:228 [inline]
softirqs last disabled at (1531): [<ffffffe00003507e>] __irq_exit_rcu kernel/softirq.c:422 [inline]
softirqs last disabled at (1531): [<ffffffe00003507e>] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446
---[ end trace b6aa714e444066b6 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/06 04:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 500c2339 .config console log report info ci-qemu2-riscv64 WARNING in task_ctx_sched_out
2021/05/17 15:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd a2eb125d .config console log report info ci-qemu2-riscv64 WARNING in task_ctx_sched_out
* Struck through repros no longer work on HEAD.