INFO: task syz-executor.1:10104 blocked for more than 143 seconds. Not tainted 5.19.0-rc8-syzkaller-00168-g334c0ef6429f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28408 pid:10104 ppid: 7918 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 evdev_release+0x79/0x410 drivers/input/evdev.c:441 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fda06c89209 RSP: 002b:00007fda07d95168 EFLAGS: 00000246 ORIG_RAX: 0000000000000021 RAX: 0000000000000003 RBX: 00007fda06d9c030 RCX: 00007fda06c89209 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007fda06ce3161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fda072cfb1f R14: 00007fda07d95300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd871e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3285: #0: ffff88814a77a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 1 lock held by syz-executor.5/3650: #0: ffff88814a700d88 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x140/0x680 net/netfilter/x_tables.c:1242 1 lock held by syz-executor.3/8676: #0: ffff88814a700d88 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x140/0x680 net/netfilter/x_tables.c:1242 1 lock held by syz-executor.4/8690: 3 locks held by kworker/u4:8/9969: 1 lock held by syz-executor.1/10103: 1 lock held by syz-executor.1/10104: #0: ffff88802134d110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x79/0x410 drivers/input/evdev.c:441 1 lock held by syz-executor.1/10157: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc8-syzkaller-00168-g334c0ef6429f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10103 Comm: syz-executor.1 Not tainted 5.19.0-rc8-syzkaller-00168-g334c0ef6429f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:200 Code: 81 e1 00 01 00 00 65 48 8b 14 25 80 6f 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 a4 15 00 00 85 c0 74 2b 8b 82 80 15 00 00 <83> f8 02 75 20 48 8b 8a 88 15 00 00 8b 92 84 15 00 00 48 8b 01 48 RSP: 0018:ffffc90003e5fca8 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000018 RCX: 0000000000000000 RDX: ffff88801ec41d80 RSI: ffffffff83fc9334 RDI: ffffc90003e5fdc0 RBP: ffffc90003e5fdc0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 00000000208e71c8 R14: dffffc0000000000 R15: 000000000089a1e0 FS: 00007fda07db6700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208e7000 CR3: 0000000078316000 CR4: 00000000003506e0 Call Trace: _copy_from_user+0x14/0x170 lib/usercopy.c:13 copy_from_user include/linux/uaccess.h:152 [inline] input_event_from_user+0x131/0x3a0 drivers/input/input-compat.c:31 evdev_write+0x356/0x760 drivers/input/evdev.c:524 vfs_write+0x269/0xac0 fs/read_write.c:589 ksys_write+0x1e8/0x250 fs/read_write.c:644 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+0x63/0xcd RIP: 0033:0x7fda06c89209 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fda07db6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fda06d9bf60 RCX: 00007fda06c89209 RDX: 0000000030452e29 RSI: 000000002004d000 RDI: 0000000000000004 RBP: 00007fda06ce3161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fda072cfb1f R14: 00007fda07db6300 R15: 0000000000022000