INFO: task syz-executor:4282 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:22432 pid:4282 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 wb_wait_for_completion+0x162/0x280 fs/fs-writeback.c:191 sync_inodes_sb+0x1b8/0x9e0 fs/fs-writeback.c:2739 sync_filesystem+0x16d/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x93e/0x2400 kernel/exit.c:880 do_group_exit+0x217/0x2d0 kernel/exit.c:1022 __do_sys_exit_group kernel/exit.c:1033 [inline] __se_sys_exit_group kernel/exit.c:1031 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1031 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f680358e9a9 RSP: 002b:00007ffe4b42b538 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f6803610bb5 RCX: 00007f680358e9a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000000000c R08: 00007ffe4b4292d6 R09: 00007ffe4b42c7f0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4b42c7f0 R13: 00007f6803610b55 R14: 0000555583a174a8 R15: 00007ffe4b42d8c0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b7b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2bfd0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 3 locks held by kauditd/26: 1 lock held by khungtaskd/27: #0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 1 lock held by dhcpcd/3933: #0: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305 2 locks held by getty/4028: #0: ffff888030d9e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4282: #0: ffff8880757fc0e0 (&type->s_umount_key#66){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffff88814370a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88814370a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19c/0x9e0 fs/fs-writeback.c:2737 5 locks held by kworker/1:5/4331: 1 lock held by udevd/4515: 2 locks held by kworker/1:10/4662: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000540fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 4 locks held by kworker/u4:22/4718: #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900032a7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd33550 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffffffff8cb30af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8cb30af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 3 locks held by kworker/u4:27/4728: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003327d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 2 locks held by kworker/u4:28/4729: #0: ffff888140167938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003337d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 1 lock held by segctord/4888: 8 locks held by syz-executor/5929: #0: ffff88807e99a460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x256/0x960 fs/read_write.c:580 #1: ffff88805a461888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e5/0x4c0 fs/kernfs/file.c:325 #2: ffff888144ba1660 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x208/0x4c0 fs/kernfs/file.c:326 #3: ffffffff8d64c548 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xce/0x360 drivers/net/netdevsim/bus.c:209 #4: ffff88807e24c0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff88807e24c0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff88807e24c0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb2/0x850 drivers/base/dd.c:1283 #5: ffff88807e24e2f8 (&devlink->lock_key#9){+.+.}-{3:3}, at: nsim_drv_remove+0x54/0x160 drivers/net/netdevsim/dev.c:1677 #6: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3b/0x150 drivers/net/netdevsim/netdev.c:381 #7: ffffffff8cb30af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #7: ffffffff8cb30af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/6078: #0: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6150 1 lock held by syz.1.324/6097: #0: ffff888075bbb210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888075bbb210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff888075bbb210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1400 1 lock held by syz.4.329/6139: #0: ffff888056079a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888056079a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff888056079a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1400 7 locks held by syz.4.329/6140: 1 lock held by syz.4.329/6141: #0: ffffffff8dd401e8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305 1 lock held by dhcpcd/6147: #0: ffff8880289e4130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff8880289e4130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6148: #0: ffff8880289e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff8880289e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6149: #0: ffff888020ddc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff888020ddc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6150: #0: ffff88807efca130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff88807efca130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6151: #0: ffff88807efc8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff88807efc8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6152: #0: ffff888079d34130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff888079d34130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 1 lock held by dhcpcd/6153: #0: ffff88807efcc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff88807efcc130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xce0 net/packet/af_packet.c:3248 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:account_entity_enqueue kernel/sched/fair.c:3205 [inline] RIP: 0010:enqueue_entity+0x2f7/0x14f0 kernel/sched/fair.c:4775 Code: 80 3c 38 00 74 05 e8 78 58 76 00 48 8b 7d 78 48 89 ee 4c 89 f2 e8 29 dd ff ff 4c 8b 24 24 48 89 e8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 ef e8 4f 58 76 00 48 8b 5d 00 4c 89 e0 48 c1 e8 03 42 RSP: 0018:ffffc900001b75d0 EFLAGS: 00000046 RAX: 1ffff11027fdeb38 RBX: ffff88813fef5a40 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8adef300 RDI: ffffffff8adef2c0 RBP: ffff88813fef59c0 R08: dffffc0000000000 R09: fffffbfff1c3e976 R10: fffffbfff1c3e976 R11: 1ffffffff1c3e975 R12: ffff8880b8f3ab40 R13: 0000000000000000 R14: ffff88813fef5a10 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe85cadca0 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_task_fair+0x54b/0xaa0 kernel/sched/fair.c:6120 enqueue_task+0x182/0x2b0 kernel/sched/core.c:2059 activate_task+0x3d/0xa0 kernel/sched/core.c:2087 attach_task+0xf0/0x190 kernel/sched/fair.c:8602 attach_tasks kernel/sched/fair.c:8637 [inline] load_balance+0x434a/0x57c0 kernel/sched/fair.c:10624 rebalance_domains+0x491/0x9d0 kernel/sched/fair.c:11010 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596 run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963 smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295