INFO: task syz.3.1414:8173 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.1414 state:D stack:28384 pid: 8173 ppid: 4187 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 rwsem_down_write_slowpath+0xe63/0x13a0 kernel/locking/rwsem.c:1165 n_tty_ioctl+0xa6/0x310 drivers/tty/n_tty.c:2464 tty_ioctl+0x8e3/0xc30 drivers/tty/tty_io.c:2819 vfs_ioctl fs/ioctl.c:51 [inline] do_vfs_ioctl+0xcfb/0x1f40 fs/ioctl.c:834 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8e9cd79159 RSP: 002b:00007f8e9afb0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8e9d001090 RCX: 00007f8e9cd79159 RDX: 0000000000000000 RSI: 000000000000541b RDI: 0000000000000003 RBP: 00007f8e9ce10024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8e9d001128 R14: 00007f8e9d001090 R15: 00007ffc46d2b8e8 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90000ce7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 1 lock held by khungtaskd/27: #0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:1/144: #0: ffff888016c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc900015afd00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 2 locks held by getty/3943: #0: ffff88802cad6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158 5 locks held by udevd/4175: #0: ffff8880540de898 (&iint_mutex_key[depth]){+.+.}-{3:3}, at: process_measurement+0x724/0x1c20 security/integrity/ima/ima_main.c:261 #1: ffff888017be7d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0x9d/0xc50 fs/seq_file.c:182 #2: ffff88805fa76888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x55/0x3c0 fs/kernfs/file.c:112 #3: ffff88804c09c2c0 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x75/0x3c0 fs/kernfs/file.c:113 #4: ffff88801bd6b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline] #4: ffff88801bd6b220 (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x320 drivers/base/core.c:2408 1 lock held by udevd/4177: 3 locks held by kworker/u4:4/4211: 2 locks held by kworker/0:6/4233: 2 locks held by kworker/0:11/5644: #0: ffff888016c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90003a9fd00 (console_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 7 locks held by kworker/0:14/5648: #0: ffff88801bde6938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90003adfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffff88802455f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline] #2: ffff88802455f220 (&dev->mutex){....}-{3:3}, at: hub_event+0x178/0x5260 drivers/usb/core/hub.c:5832 #3: ffff88801bd6b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline] #3: ffff88801bd6b220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974 #4: ffff8880608e01a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline] #4: ffff8880608e01a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974 #5: ffff888053e61ab0 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline] #5: ffff888053e61ab0 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974 #6: ffffffff8c97f268 (registration_lock){+.+.}-{3:3}, at: register_framebuffer+0x8a/0xa70 drivers/video/fbdev/core/fbmem.c:1919 5 locks held by syz.3.1414/8170: 2 locks held by syz.3.1414/8173: #0: ffff888060efe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff888060efe2e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_ioctl+0xa6/0x310 drivers/tty/n_tty.c:2464 1 lock held by syz.1.1832/9245: #0: ffffffff8c9f64c8 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xaa/0xd0 drivers/tty/tty_io.c:1718 2 locks held by syz.6.1836/9250: #0: ffffffff8c9f64c8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2064 [inline] #0: ffffffff8c9f64c8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2148 #1: ffff88807d9e21c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x6f/0x470 drivers/tty/tty_io.c:1430 1 lock held by syz.9.2106/10167: #0: ffffffff8c9f64c8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823 2 locks held by dhcpcd-run-hook/10220: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe1b/0xe60 kernel/hung_task.c:369 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287