INFO: task syz.0.1951:16097 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1951 state:D stack:26704 pid:16097 tgid:16095 ppid:15390 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5510 [inline] __schedule+0x17d4/0x5630 kernel/sched/core.c:7239 __schedule_loop kernel/sched/core.c:7316 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7331 schedule_timeout+0xc0/0x2c0 kernel/time/sleep_timeout.c:75 ___down_common kernel/locking/semaphore.c:293 [inline] __down_common+0x3b7/0x850 kernel/locking/semaphore.c:318 down+0x80/0xd0 kernel/locking/semaphore.c:100 console_lock+0x58/0x90 kernel/printk/printk.c:2896 class_console_lock_constructor include/linux/console.h:734 [inline] vt_k_ioctl drivers/tty/vt/vt_ioctl.c:380 [inline] vt_ioctl+0xa51/0x20e0 drivers/tty/vt/vt_ioctl.c:745 tty_ioctl+0x920/0xdd0 drivers/tty/tty_io.c:2792 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa6bef9e0d9 RSP: 002b:00007fa6bfe0b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa6bf225fa0 RCX: 00007fa6bef9e0d9 RDX: 0000000000000002 RSI: 0000000000004b3a RDI: 0000000000000007 RBP: 00007fa6bf035024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa6bf226038 R14: 00007fa6bf225fa0 R15: 00007ffdf3187ab8 Showing all locks held in the system: locks held by khungtaskd/31: 1, last CPU#0: #0: ffffffff8eb5a0e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8eb5a0e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8eb5a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6793 locks held by kworker/u8:5/133: 3, on CPU#0: #0: ffff88801b064140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff88801b064140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 #1: ffffc90002d67c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffffc90002d67c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 #2: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:313 locks held by kworker/u8:10/3353: 6, on CPU#0: #0: ffff88801c28e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff88801c28e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 #1: ffffc9000e66fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffffc9000e66fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 #2: ffffffff9001e428 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810 net/core/net_namespace.c:673 #3: ffff888079b2b128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline] #3: ffff888079b2b128 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:124 [inline] #3: ffff888079b2b128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x129/0x420 net/devlink/core.c:557 #4: ffff888079b29258 (&devlink->lock_key#34){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:292 [inline] #4: ffff888079b29258 (&devlink->lock_key#34){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline] #4: ffff888079b29258 (&devlink->lock_key#34){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x142/0x420 net/devlink/core.c:557 #5: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #5: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0 net/core/dev.c:2103 locks held by dhcpcd/5272: 2, on CPU#0: #0: ffff8880786486e8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xf4/0x7b0 net/netlink/af_netlink.c:2410 #1: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dump_ifinfo+0xa74/0x14a0 net/core/rtnetlink.c:2562 locks held by getty/5365: 2, on CPU#1: #0: ffff888035ab10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000322b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 locks held by kworker/0:9/11606: 2, last CPU#0: #0: ffff88801b029d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff88801b029d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 #1: ffffc90003337c40 ((gc_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffffc90003337c40 ((gc_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa1a/0x14c0 kernel/workqueue.c:3405 locks held by syz.5.1937/16030: 6, last CPU#0: #0: ffff888055a770a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff888055a77128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:939 [inline] #1: ffff888055a77128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:958 [inline] #1: ffff888055a77128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0x9f0 drivers/tty/tty_io.c:1081 #2: ffff888055a772c8 (&tty->termios_rwsem){++++}-{4:4}, at: class_rwsem_read_constructor include/linux/rwsem.h:259 [inline] #2: ffff888055a772c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1f5/0x11e0 drivers/tty/n_tty.c:2349 #3: ffffc90002d76370 (&ldata->output_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline] #3: ffffc90002d76370 (&ldata->output_lock){+.+.}-{4:4}, at: process_output_block drivers/tty/n_tty.c:513 [inline] #3: ffffc90002d76370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x66d/0x11e0 drivers/tty/n_tty.c:2366 #4: ffffffff8eb4c420 (console_lock){+.+.}-{0:0}, at: class_console_lock_constructor include/linux/console.h:734 [inline] #4: ffffffff8eb4c420 (console_lock){+.+.}-{0:0}, at: do_con_write+0x12e/0x5500 drivers/tty/vt/vt.c:3290 #5: ffffffff8ea33cb8 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:305 [inline] #5: ffffffff8ea33cb8 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:428 [inline] #5: ffffffff8ea33cb8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:291 [inline] #5: ffffffff8ea33cb8 (console_srcu){....}-{0:0}, at: console_flush_one_record kernel/printk/printk.c:3246 [inline] #5: ffffffff8ea33cb8 (console_srcu){....}-{0:0}, at: console_flush_all+0x123/0xaf0 kernel/printk/printk.c:3343 locks held by syz-executor/16859: 8, last CPU#0: #0: ffff8880338ee460 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2739 [inline] #0: ffff8880338ee460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #1: ffff8880554b4080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff88802856bd28 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff88802856bd28 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffffffff8f8a69c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:234 #4: ffff88805301c128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline] #4: ffff88805301c128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1171 [inline] #4: ffff88805301c128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880 drivers/base/dd.c:1369 #5: ffff88805301f258 (&devlink->lock_key#7){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170 drivers/net/netdevsim/dev.c:1799 #6: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800 drivers/net/netdevsim/netdev.c:1191 #7: ffff88805351c530 (&idev->mc_lock){+.+.}-{4:4}, at: ipv6_mc_down+0x27/0x5a0 net/ipv6/mcast.c:2774 locks held by syz-executor/16906: 2, on CPU#0: #0: ffffffff8f76d9a8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8f76d9a8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8f76d9a8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a3/0x1bd0 net/core/rtnetlink.c:4158 locks held by syz.3.2163/17205: 1, on CPU#0: #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: raw_bind+0x94/0x730 net/can/raw.c:478 locks held by syz.3.2163/17208: 1, on CPU#0: #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: raw_setsockopt+0xcb/0x1440 net/can/raw.c:755 locks held by syz.3.2163/17212: 1, on CPU#0: #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dellink+0x41b/0x810 net/core/rtnetlink.c:3635 locks held by syz.1.2164/17209: 1, on CPU#0: #0: ffffffff9002cfc0 (rtnl_mutex){+.+.}-{4:4}, at: wext_ioctl_dispatch+0xa2/0x410 net/wireless/wext-core.c:1012 locks held by syz-executor/17216: 2, last CPU#0: #0: ffff888036349110 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x33/0x6f0 drivers/bluetooth/hci_vhci.c:488 #1: ffffffff90343bc0 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x33/0x9b0 net/rfkill/core.c:1087 locks held by syz.2.2166/17217: 2, last CPU#0: #0: ffff888078768460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump fs/coredump.c:1126 [inline] #0: ffff888078768460 (sb_writers#5){.+.+}-{0:0}, at: vfs_coredump+0x3766/0x4530 fs/coredump.c:1195 #1: ffff88807edcc4e0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1025 [inline] #1: ffff88807edcc4e0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: shmem_file_write_iter+0x7f/0x120 mm/shmem.c:3414 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline] watchdog+0xfd7/0x1030 kernel/hung_task.c:561 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245