INFO: task syz-executor:4265 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:22688 pid:4265 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:0x7fbc8b58ebe9 RSP: 002b:00007ffdebf5d8b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fbc8b611c65 RCX: 00007fbc8b58ebe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000000000c R08: 00007ffdebf5b656 R09: 00007ffdebf5eb70 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdebf5eb70 R13: 00007fbc8b611c05 R14: 000055558cac34a8 R15: 00007ffdebf5fc40 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b370 (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: ffffffff8cb2bb90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8cb2a9e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2a9e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2a9e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by kworker/u4:2/33: #0: ffff888143e5e138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000aa7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 1 lock held by dhcpcd/3932: #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6150 2 locks held by getty/4028: #0: ffff88814d253098 (&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/4265: #0: ffff88807b3fc0e0 (&type->s_umount_key#98){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffff8880244b07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff8880244b07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19c/0x9e0 fs/fs-writeback.c:2737 2 locks held by kworker/0:5/4331: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900048dfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 4 locks held by kworker/u4:10/4410: #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900050afd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd35210 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x21/0x300 drivers/net/wireguard/device.c:246 3 locks held by kworker/u4:14/4421: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000507fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 3 locks held by kworker/0:13/4662: 3 locks held by kworker/0:15/4664: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc900061ffd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8cb306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8cb306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 2 locks held by kworker/0:18/4844: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000d817d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 1 lock held by segctord/4850: 3 locks held by kworker/1:10/4913: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000d1e7d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104 1 lock held by syz.5.211/5584: #0: ffff88807b3fc0e0 (&type->s_umount_key#98){++++}-{3:3}, at: iterate_supers+0xa4/0x1d0 fs/super.c:755 1 lock held by syz.5.211/5606: #0: ffff88807b3fc0e0 (&type->s_umount_key#98){++++}-{3:3}, at: iterate_supers+0xa4/0x1d0 fs/super.c:755 1 lock held by syz.7.334/6534: #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3492 2 locks held by syz-executor/6682: #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd41ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6150 #1: ffffffff8cb306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffffffff8cb306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 ============================================= 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/12/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: 4850 Comm: segctord Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:get_lock_parent_ip include/linux/ftrace.h:950 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5691 [inline] RIP: 0010:preempt_count_add+0x85/0x190 kernel/sched/core.c:5716 Code: 15 00 75 11 65 8b 05 52 ba aa 7e 0f b6 c0 3d f5 00 00 00 73 58 65 8b 05 41 ba aa 7e 25 ff ff ff 7f 39 f8 75 42 48 8b 5c 24 18 <48> 89 df e8 33 6d 0c 00 85 c0 74 09 31 db 31 ff e8 26 6d 0c 00 65 RSP: 0018:ffffc900064b7640 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffffff832f1f58 RCX: ffffffff96be8103 RDX: ffff88802fc78000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900064b7730 R08: ffff88802fc78000 R09: 0000000000000002 R10: 00000000ffffffef R11: 0000000000000000 R12: ffffea00009d9880 R13: ffffc900064b76c0 R14: dffffc0000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdea8f94198 CR3: 00000000284c6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmap_atomic include/linux/highmem-internal.h:212 [inline] nilfs_sufile_mark_dirty+0x178/0x680 fs/nilfs2/sufile.c:507 nilfs_segctor_begin_construction fs/nilfs2/segment.c:1352 [inline] nilfs_segctor_do_construct+0xee9/0x6810 fs/nilfs2/segment.c:2083 nilfs_segctor_construct+0x17b/0x690 fs/nilfs2/segment.c:2453 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2561 [inline] nilfs_segctor_thread+0x4f2/0xff0 fs/nilfs2/segment.c:2645 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295