syzbot


INFO: task hung in perf_event_exit_task

Status: auto-closed as invalid on 2021/10/14 15:27
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 609d, last: 509d

Sample crash report:
INFO: task syz-executor.0:7012 blocked for more than 430 seconds.
      Not tainted 5.13.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:    0 pid: 7012 ppid:  3102 flags:0x00000004
Call Trace:
[<ffffffff82b1c30c>] context_switch kernel/sched/core.c:4339 [inline]
[<ffffffff82b1c30c>] __schedule+0x480/0xf60 kernel/sched/core.c:5147
[<ffffffff82b1ce50>] schedule+0x64/0x166 kernel/sched/core.c:5226
[<ffffffff82b1d6ac>] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:5285
[<ffffffff82b1f3a8>] __mutex_lock_common kernel/locking/mutex.c:1026 [inline]
[<ffffffff82b1f3a8>] __mutex_lock+0x4a8/0x99e kernel/locking/mutex.c:1096
[<ffffffff82b1f8b2>] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:1111
[<ffffffff8029b5a2>] perf_event_exit_task_context kernel/events/core.c:12624 [inline]
[<ffffffff8029b5a2>] perf_event_exit_task+0x1b2/0x386 kernel/events/core.c:12690
[<ffffffff80033494>] do_exit+0x77a/0x1846 kernel/exit.c:835
[<ffffffff8003466a>] do_group_exit+0xa0/0x198 kernel/exit.c:923
[<ffffffff8004de54>] get_signal+0x31e/0x1428 kernel/signal.c:2818
[<ffffffff80007eba>] do_signal arch/riscv/kernel/signal.c:271 [inline]
[<ffffffff80007eba>] do_notify_resume+0xa8/0x930 arch/riscv/kernel/signal.c:317
[<ffffffff8000563a>] ret_from_exception+0x0/0x14

Showing all locks held in the system:
2 locks held by rcu_preempt/13:
 #0: ffffffe056d4c298 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1334 [inline]
 #0: ffffffe056d4c298 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x13a/0xf60 kernel/sched/core.c:5061
 #1: ffffffe056d2c788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x13a/0x2c2 kernel/sched/psi.c:872
1 lock held by khungtaskd/909:
 #0: ffffffff83d2a7e8 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x32/0x1fa kernel/locking/lockdep.c:6335
1 lock held by dhcpcd/2916:
2 locks held by getty/3040:
 #0: ffffffe00dddd098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x48 drivers/tty/tty_ldsem.c:340
 #1: ffffffd010aec2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9ac/0xb08 drivers/tty/n_tty.c:2179
3 locks held by kworker/0:5/5868:
1 lock held by syz-executor.0/7008:
1 lock held by syz-executor.0/7012:
 #0: ffffffe00b502cb0 (&ctx->mutex#2){+.+.}-{3:3}, at: perf_event_exit_task_context kernel/events/core.c:12624 [inline]
 #0: ffffffe00b502cb0 (&ctx->mutex#2){+.+.}-{3:3}, at: perf_event_exit_task+0x1b2/0x386 kernel/events/core.c:12690
3 locks held by kworker/1:2/7059:

=============================================


Crashes (25):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu2-riscv64 2021/07/16 15:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 f115ae98 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/07/16 03:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 f115ae98 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/07/15 13:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 b9a2f64e .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/07/14 18:18 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 94e0b707 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/07/06 00:22 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 55aa55c2 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/24 21:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ede12b01b59 0edbbe31 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/15 05:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 1ba81399 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/12 08:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 1ba81399 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/09 21:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 84fe5d96 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/07 05:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 500c2339 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/06/04 07:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 0740de69 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/28 22:27 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/27 10:22 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 858ea628 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/23 09:56 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 3c7fef33 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/21 05:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 3c7fef33 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/15 13:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 93f844de .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/12 15:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 29b1aea5 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/05/04 17:53 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 06c27ff5 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/25 21:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 33592cee .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/22 23:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 590921a5 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/19 15:12 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 50f523d7 .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/16 14:45 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7ae11635ec90 7e2b734b .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/13 20:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 79c338ab575e a184b83e .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/09 11:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config log report info INFO: task hung in perf_event_exit_task
ci-qemu2-riscv64 2021/04/07 08:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config log report info INFO: task hung in perf_event_exit_task
* Struck through repros no longer work on HEAD.