syzbot


WARNING in ctx_sched_in

Status: auto-closed as invalid on 2021/10/16 18:41
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+50d41b514809f6f4f326@syzkaller.appspotmail.com
First crash: 1303d, last: 1235d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in ctx_sched_in 1 (2) 2021/04/16 06:34
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ctx_sched_in (2) perf 1 292d 288d 0/28 auto-obsoleted due to no activity on 2024/04/27 07:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 29655 at kernel/events/core.c:3787 ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787
Modules linked in:
CPU: 1 PID: 29655 Comm: syz-executor.0 Not tainted 5.13.0-rc4-syzkaller #0
Hardware name: linux,dummy-virt (DT)
pstate: 000000c5 (nzcv daIF -PAN -UAO -TCO BTYPE=--)
pc : ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787
lr : lock_is_held include/linux/lockdep.h:283 [inline]
lr : ctx_sched_in+0x158/0x444 kernel/events/core.c:3777
sp : ffff80001bbe7440
x29: ffff80001bbe7440 x28: 0000000000000000 x27: 0000000000000007
x26: ffff00000d653480 x25: 0000000000000007 x24: ffff00000d58c540
x23: 1fffe00001ab18a8 x22: ffff800015fbf000 x21: fffffbffeffdeb58
x20: 1ffff0000377ce96 x19: ffff00000d58c400 x18: ffff00006a9efb48
x17: 0000000000000000 x16: 0000000000000000 x15: ffff00006a9efb7c
x14: 1ffff0000377ce70 x13: 0000000000000001 x12: ffff70000377ce9b
x11: 1ffff0000377ce9a x10: 0000000000000000 x9 : 0000000000000001
x8 : 00000000f1f1f1f1 x7 : ffff70000377ce96 x6 : ffff8000154d24d0
x5 : 1fffe00001ab18a7 x4 : 0000000000000003 x3 : 1fffe00001aca691
x2 : 1fffff7ffdffbda0 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787
 perf_event_sched_in+0x48/0xac kernel/events/core.c:2695
 perf_event_context_sched_in kernel/events/core.c:3852 [inline]
 __perf_event_task_sched_in+0x52c/0x92c kernel/events/core.c:3895
 perf_event_task_sched_in include/linux/perf_event.h:1205 [inline]
 finish_task_switch.isra.0+0x390/0x6f0 kernel/sched/core.c:4208
 context_switch kernel/sched/core.c:4342 [inline]
 __schedule+0x81c/0x1d30 kernel/sched/core.c:5147
 preempt_schedule_common+0xa4/0x2a0 kernel/sched/core.c:5307
 preempt_schedule+0x60/0x6c kernel/sched/core.c:5332
 try_to_wake_up+0x838/0xf00 kernel/sched/core.c:3489
 wake_up_process kernel/sched/core.c:3552 [inline]
 wake_up_q+0xa0/0x124 kernel/sched/core.c:597
 futex_wake+0x2b0/0x390 kernel/futex.c:1634
 do_futex+0x260/0x1380 kernel/futex.c:3737
 __do_sys_futex_time32 kernel/futex.c:3984 [inline]
 __se_sys_futex_time32 kernel/futex.c:3967 [inline]
 __arm64_sys_futex_time32+0x15c/0x61c kernel/futex.c:3967
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52
 el0_svc_common.constprop.0+0xc4/0x1e4 arch/arm64/kernel/syscall.c:145
 do_el0_svc_compat+0x40/0x80 arch/arm64/kernel/syscall.c:190
 el0_svc_compat+0x24/0x3c arch/arm64/kernel/entry-common.c:483
 el0_sync_compat_handler+0x90/0x140 arch/arm64/kernel/entry-common.c:492
 el0_sync_compat+0x19c/0x1c0 arch/arm64/kernel/entry.S:743
irq event stamp: 186
hardirqs last  enabled at (185): [<ffff8000144d79e8>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (185): [<ffff8000144d79e8>] _raw_spin_unlock_irqrestore+0x108/0x180 kernel/locking/spinlock.c:191
hardirqs last disabled at (186): [<ffff8000144c4f1c>] __schedule+0xfbc/0x1d30 kernel/sched/core.c:5043
softirqs last  enabled at (140): [<ffff80001001b27c>] test_and_clear_bit include/asm-generic/bitops/atomic.h:51 [inline]
softirqs last  enabled at (140): [<ffff80001001b27c>] test_and_clear_ti_thread_flag include/linux/thread_info.h:112 [inline]
softirqs last  enabled at (140): [<ffff80001001b27c>] fpsimd_restore_current_state+0x3c/0x120 arch/arm64/kernel/fpsimd.c:1172
softirqs last disabled at (138): [<ffff800010019930>] get_cpu_fpsimd_context+0x0/0xa0 include/asm-generic/bitops/non-atomic.h:106
---[ end trace bb01990225734c65 ]---

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/31 17:17 upstream 8124c8a6b353 032639db .config console log report info ci-qemu2-arm64-compat WARNING in ctx_sched_in
2021/06/18 18:40 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd aba2b2fb .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/06/16 08:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 990d3cbe .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/06/11 13:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 1ba81399 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/06/07 05:03 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 ctx_sched_in
2021/06/04 01:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 0740de69 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/06/02 19:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 0740de69 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/06/01 15:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 032639db .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/31 13:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 032639db .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/28 13:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/27 07:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/27 06:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/26 22:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/26 01:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 93d3a9f6 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/21 23:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 3c7fef33 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/21 05:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 3c7fef33 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/21 03:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 3c7fef33 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/14 04:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 8bdd5343 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/13 01:06 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd ed7d41c5 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/13 00:00 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd ed7d41c5 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/11 00:55 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd ca873091 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/09 11:28 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd bc5434be .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/08 19:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd bc5434be .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/05/08 03:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd bc5434be .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/29 18:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 77e2b668 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/29 11:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 77e2b668 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/23 09:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 17f0b706 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/21 20:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 2bc8999a .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/19 10:01 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 50f523d7 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/16 08:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 c59079a6 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/14 21:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 79c338ab575e fcdb12ba .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/14 07:53 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 79c338ab575e a184b83e .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
2021/04/12 04:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 79c338ab575e bfeda1b1 .config console log report info ci-qemu2-riscv64 WARNING in ctx_sched_in
* Struck through repros no longer work on HEAD.