INFO: task segctord:18965 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:28696 pid:18965 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2508 [inline] nilfs_segctor_thread+0x52f/0x1140 fs/nilfs2/segment.c:2592 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task segctord:22748 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack:28696 pid:22748 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2508 [inline] nilfs_segctor_thread+0x52f/0x1140 fs/nilfs2/segment.c:2592 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4742: #0: ffff88802858c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 5 locks held by syz-executor.5/18954: 1 lock held by segctord/18965: #0: ffff888020e592a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 1 lock held by syz-executor.5/19064: 5 locks held by syz-executor.0/22739: 1 lock held by segctord/22748: #0: ffff888030ffa2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357 5 locks held by syz-executor.3/12858: 1 lock held by syz-executor.0/12860: 1 lock held by segctord/12863: #0: ffff8880b993be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 1 lock held by syz-executor.2/12868: #0: ffff8880240320e0 (&type->s_umount_key#58/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 2 locks held by syz-executor.1/12877: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12876 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:check_preemption_disabled+0x2e/0x110 Code: 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d bc 1c 65 75 65 8b 05 b1 1c 65 75 a9 ff ff ff 7f 74 22 <65> 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 RSP: 0000:ffffc90019c17b08 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffffffff816a1564 RDX: 0000000000000000 RSI: ffffffff8aea89c0 RDI: ffffffff8b37fd80 RBP: ffffc90019c17ca0 R08: dffffc0000000000 R09: fffffbfff1ca6956 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92003382f70 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 FS: 00007fe1f6d16700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1ecf97000 CR3: 000000002beef000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_acquire+0x1a6/0x520 kernel/locking/lockdep.c:5668 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327 rcu_read_lock include/linux/rcupdate.h:773 [inline] mt_find+0x293/0xc00 lib/maple_tree.c:6533 find_vma+0x13a/0x1b0 mm/mmap.c:1826 do_user_addr_fault arch/x86/mm/fault.c:1368 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x49d/0x7c0 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fe1f6029237 Code: 78 48 63 d5 48 01 c2 49 3b 55 08 77 56 8d 55 ff 85 ed 74 35 0f 1f 80 00 00 00 00 48 39 c1 77 1c 49 8b 75 00 49 89 c1 49 29 c9 <46> 0f b6 0c 0e 45 84 c9 74 08 44 88 0c 06 49 8b 45 10 48 83 c0 01 RSP: 002b:00007fe1f6d15600 EFLAGS: 00010206 RAX: 0000000000798001 RBX: 00007fe1f6d15660 RCX: 0000000000000001 RDX: 0000000000000086 RSI: 00007fe1ec7ff000 RDI: 00007fe1f6d15700 RBP: 0000000000000102 R08: 0000000000000000 R09: 0000000000798000 R10: 0000000000000000 R11: 00007fe1f6d15670 R12: 00007fe1f6d15670 R13: 00007fe1f6d15700 R14: 0000000000000001 R15: 0000000000000000