INFO: task segctord:5733 blocked for more than 143 seconds. Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:27944 pid:5733 tgid:5733 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6840 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6897 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2515 [inline] nilfs_segctor_thread+0x551/0x11b0 fs/nilfs2/segment.c:2601 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e339338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8e339338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939 2 locks held by kworker/u8:0/11: 2 locks held by kworker/u8:2/29: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90000a57d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90000a57d00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 1 lock held by khungtaskd/31: #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4842: #0: ffff88802b1d60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 2 locks held by syz.0.69/5716: 1 lock held by segctord/5733: #0: ffff8880648382a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25d/0x4f0 fs/nilfs2/segment.c:357 2 locks held by syz-executor/6313: 1 lock held by syz.0.302/7713: #0: ffff88807b07a0e0 (&type->s_umount_key#107){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807b07a0e0 (&type->s_umount_key#107){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz.0.302/7720: 1 lock held by syz.4.301/7715: #0: ffff88805ae400e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 31 Comm: khungtaskd Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5077 Comm: syz-executor Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:rb_add_cached include/linux/rbtree.h:172 [inline] RIP: 0010:timerqueue_add+0x7c/0x290 lib/timerqueue.c:40 Code: 00 00 e8 b7 6a 1f f6 4c 89 e3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 e7 e8 f8 e8 81 f6 4d 8b 34 24 <4d> 85 f6 0f 84 67 01 00 00 48 89 6c 24 18 4c 89 64 24 08 4c 89 7c RSP: 0018:ffffc9000362faf0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 1ffff1101728592a RCX: ffff888018769e00 RDX: 0000000000000000 RSI: ffffc9000362fd60 RDI: ffffc9000362fd60 RBP: 1ffff920006c5fac R08: ffffffff8b76bdeb R09: 1ffffffff1f58d25 R10: dffffc0000000000 R11: fffffbfff1f58d26 R12: ffff8880b942c950 R13: ffff8880b942c950 R14: ffff8880b942d538 R15: ffffc9000362fd60 FS: 00005555745ed500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32920210 CR3: 0000000023c00000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_hrtimer+0x1b2/0x3c0 kernel/time/hrtimer.c:1093 __hrtimer_start_range_ns kernel/time/hrtimer.c:1260 [inline] hrtimer_start_range_ns+0xac8/0xca0 kernel/time/hrtimer.c:1302 hrtimer_start_expires include/linux/hrtimer.h:289 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1951 [inline] do_nanosleep+0x158/0x600 kernel/time/hrtimer.c:2027 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2083 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fead81a7b83 Code: 1f 84 00 00 00 00 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d be d9 12 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007fff6a945898 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fead81a7b83 RDX: 00007fff6a9458b0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000196cfac7 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff6a945ca0 R13: 0000000000000004 R14: 00007fff6a9458ec R15: 00007fff6a945970