INFO: task syz-executor.2:8966 can't die for more than 143 seconds. task:syz-executor.2 state:R running task stack:26976 pid: 8966 ppid: 8637 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6724 irqentry_exit+0x31/0x80 kernel/entry/common.c:425 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 11 cf 4a 00 5d be 03 00 00 00 e9 76 72 73 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 29 d1 89 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90004c2f658 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005551000 RDX: 0000000000040000 RSI: ffffffff815f7fdc RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ffd5987 R10: ffffffff815f7fd2 R11: 0000000000000000 R12: ffffffff84e09830 R13: 0000000000000200 R14: ffffc90004c2f6b8 R15: dffffc0000000000 console_unlock+0x6c2/0xb70 kernel/printk/printk.c:2719 con_install+0x15c/0x620 drivers/tty/vt/vt.c:3411 tty_driver_install_tty drivers/tty/tty_io.c:1307 [inline] tty_init_dev.part.0+0x9e/0x610 drivers/tty/tty_io.c:1419 tty_init_dev include/linux/err.h:36 [inline] tty_open_by_driver drivers/tty/tty_io.c:2086 [inline] tty_open+0xb16/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f52ac8d5f74 RSP: 002b:00007f52ab897ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f52aca35f60 RCX: 00007f52ac8d5f74 RDX: 0000000000000002 RSI: 00007f52ab897d40 RDI: 00000000ffffff9c RBP: 00007f52ab897d40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffd4828c16f R14: 00007f52ab898300 R15: 0000000000022000 INFO: task syz-executor.4:8973 can't die for more than 143 seconds. task:syz-executor.4 state:D stack:28520 pid: 8973 ppid: 3618 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x260 kernel/sched/core.c:6382 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f860f49cf74 RSP: 002b:00007f860e45eca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f860f5fcf60 RCX: 00007f860f49cf74 RDX: 0000000000000002 RSI: 00007f860e45ed40 RDI: 00000000ffffff9c RBP: 00007f860e45ed40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fffb3eeacaf R14: 00007f860e45f300 R15: 0000000000022000 INFO: task syz-executor.4:8973 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-next-20220202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28520 pid: 8973 ppid: 3618 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x260 kernel/sched/core.c:6382 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f860f49cf74 RSP: 002b:00007f860e45eca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f860f5fcf60 RCX: 00007f860f49cf74 RDX: 0000000000000002 RSI: 00007f860e45ed40 RDI: 00000000ffffff9c RBP: 00007f860e45ed40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fffb3eeacaf R14: 00007f860e45f300 R15: 0000000000022000 INFO: task syz-executor.0:8977 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:28064 pid: 8977 ppid: 3614 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x260 kernel/sched/core.c:6382 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed5c66a059 RSP: 002b:00007fed5b5be168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed5c77d030 RCX: 00007fed5c66a059 RDX: 0000000000060802 RSI: 0000000020000280 RDI: ffffffffffffff9c RBP: 00007fed5c6c408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee844944f R14: 00007fed5b5be300 R15: 0000000000022000 INFO: task syz-executor.0:8977 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-next-20220202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28064 pid: 8977 ppid: 3614 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x260 kernel/sched/core.c:6382 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6441 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fed5c66a059 RSP: 002b:00007fed5b5be168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fed5c77d030 RCX: 00007fed5c66a059 RDX: 0000000000060802 RSI: 0000000020000280 RDI: ffffffffffffff9c RBP: 00007fed5c6c408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee844944f R14: 00007fed5b5be300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463 2 locks held by getty/3280: #0: ffff88823bcb8898 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 3 locks held by syz-executor.2/8966: 1 lock held by syz-executor.4/8973: #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.0/8977: #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5b60c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:551 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: e9 11 cf 4a 00 jmpq 0x4acf1a 9: 5d pop %rbp a: be 03 00 00 00 mov $0x3,%esi f: e9 76 72 73 02 jmpq 0x273728a 14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1a: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi 21: e8 b4 ff ff ff callq 0xffffffda 26: 31 c0 xor %eax,%eax 28: c3 retq 29: 90 nop * 2a: 65 8b 05 29 d1 89 7e mov %gs:0x7e89d129(%rip),%eax # 0x7e89d15a <-- trapping instruction 31: 89 c1 mov %eax,%ecx 33: 48 8b 34 24 mov (%rsp),%rsi 37: 81 e1 00 01 00 00 and $0x100,%ecx 3d: 65 gs 3e: 48 rex.W 3f: 8b .byte 0x8b