INFO: task syz-executor197:8364 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor197 D29984 8364 8094 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 mutex_lock_double kernel/events/core.c:10470 [inline] __perf_event_ctx_lock_double kernel/events/core.c:10529 [inline] __do_sys_perf_event_open kernel/events/core.c:10784 [inline] __se_sys_perf_event_open+0x1863/0x2720 kernel/events/core.c:10549 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f70ca9cea99 Code: Bad RIP value. RSP: 002b:00007f70ca95f318 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f70caa563f8 RCX: 00007f70ca9cea99 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000020000000 RBP: 00007f70caa563f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007f70caa563fc R13: 00007fff9b5fadef R14: 00007f70ca95f400 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1569: #0: 00000000c0fe97e1 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7784: #0: 000000000b90b42f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor197/8364: #0: 00000000be37198f (&cpuctx_mutex){+.+.}, at: mutex_lock_double kernel/events/core.c:10469 [inline] #0: 00000000be37198f (&cpuctx_mutex){+.+.}, at: __perf_event_ctx_lock_double kernel/events/core.c:10529 [inline] #0: 00000000be37198f (&cpuctx_mutex){+.+.}, at: __do_sys_perf_event_open kernel/events/core.c:10784 [inline] #0: 00000000be37198f (&cpuctx_mutex){+.+.}, at: __se_sys_perf_event_open+0x1856/0x2720 kernel/events/core.c:10549 #1: 00000000be37198f (&cpuctx_mutex/1){+.+.}, at: mutex_lock_double kernel/events/core.c:10470 [inline] #1: 00000000be37198f (&cpuctx_mutex/1){+.+.}, at: __perf_event_ctx_lock_double kernel/events/core.c:10529 [inline] #1: 00000000be37198f (&cpuctx_mutex/1){+.+.}, at: __do_sys_perf_event_open kernel/events/core.c:10784 [inline] #1: 00000000be37198f (&cpuctx_mutex/1){+.+.}, at: __se_sys_perf_event_open+0x1863/0x2720 kernel/events/core.c:10549 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1569 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4694 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97 Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 RSP: 0018:ffff8880a0f07a28 EFLAGS: 00000246 RAX: 1ffffffff10df738 RBX: dffffc0000000000 RCX: 1ffff110141e0f60 RDX: 0000000000000000 RSI: 00000000000000ac RDI: ffffffff886fb9c0 RBP: ffff8880a0f07b00 R08: 0000000000000000 R09: 000000007fff0000 R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff886fb460 R13: ffffed10141e0f62 R14: ffffc90001ad2040 R15: 00000000000000ac FS: 00007f08c08078c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08bdbd7000 CR3: 00000000a1166000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ___bpf_prog_run+0x22ab/0x4e80 kernel/bpf/core.c:1088