INFO: task syz-executor270:5234 blocked for more than 143 seconds.
Not tainted 6.1.0-rc3-next-20221104-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor270 state:D stack:26744 pid:5234 ppid:5231 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5211 [inline]
__schedule+0xb8a/0x5450 kernel/sched/core.c:6523
schedule+0xda/0x1b0 kernel/sched/core.c:6599
wb_wait_for_completion+0x17e/0x240 fs/fs-writeback.c:191
sync_inodes_sb+0x1a6/0x9e0 fs/fs-writeback.c:2706
sync_filesystem.part.0+0xe6/0x1d0 fs/sync.c:64
sync_filesystem+0x8b/0xc0 fs/sync.c:43
generic_shutdown_super+0x70/0x410 fs/super.c:474
kill_block_super+0x97/0xf0 fs/super.c:1428
deactivate_locked_super+0x94/0x160 fs/super.c:332
deactivate_super+0xad/0xd0 fs/super.c:363
cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291
task_work_run+0x16b/0x270 kernel/task_work.c:179
ptrace_notify+0x114/0x140 kernel/signal.c:2354
ptrace_report_syscall include/linux/ptrace.h:420 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline]
syscall_exit_work kernel/entry/common.c:251 [inline]
syscall_exit_to_user_mode_prepare+0x129/0x280 kernel/entry/common.c:278
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x9/0x50 kernel/entry/common.c:296
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbf4258d3e7
RSP: 002b:00007ffe701fc3a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fbf4258d3e7
RDX: 00007ffe701fc469 RSI: 000000000000000a RDI: 00007ffe701fc460
RBP: 00007ffe701fc460 R08: 00000000ffffffff R09: 00007ffe701fc240
R10: 0000555557351653 R11: 0000000000000202 R12: 00007ffe701fd520
R13: 00005555573515f0 R14: 00007ffe701fc3d0 R15: 00007ffe701fd540
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bf88270 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bf87f70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8bf88dc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494
3 locks held by kworker/u4:6/1154:
2 locks held by getty/4917:
#0: ffff888149be5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177
2 locks held by syz-executor270/5234:
#0: ffff888079ce60e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:362
#1: ffff8881468e47d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff8881468e47d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x18c/0x9e0 fs/fs-writeback.c:2704
2 locks held by segctord/5238:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc3-next-20221104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x32f/0x3c0 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+0xc71/0xfc0 kernel/hung_task.c:377
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5238 Comm: segctord Not tainted 6.1.0-rc3-next-20221104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:rb_insert_color+0x1e/0x7a0 lib/rbtree.c:435
Code: 74 f8 48 8b 3c 24 eb 80 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 41 57 48 c1 ea 03 41 56 41 55 41 54 49 89 fc 55 53 <48> 83 ec 08 80 3c 02 00 0f 85 5f 05 00 00 49 bd 00 00 00 00 00 fc
RSP: 0018:ffffc90003bffb30 EFLAGS: 00000802
RAX: dffffc0000000000 RBX: ffff888020243b00 RCX: 0000000000000000
RDX: 1ffff11004048762 RSI: ffff8880b9a3a3c0 RDI: ffff888020243b10
RBP: 0000000000000000 R08: ffff888020243b10 R09: ffff8880b9a3a3c0
R10: fffffbfff1bc5e6a R11: 0000000000000000 R12: ffff888020243b10
R13: ffff888020243b80 R14: ffff8880b9a3a380 R15: ffff8880b9a3a390
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cfe8891680 CR3: 000000001c96e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rb_insert_color_cached include/linux/rbtree.h:114 [inline]
rb_add_cached include/linux/rbtree.h:183 [inline]
__enqueue_entity kernel/sched/fair.c:630 [inline]
enqueue_entity+0x444/0x1520 kernel/sched/fair.c:4759
enqueue_task_fair+0x1ec/0xdc0 kernel/sched/fair.c:6071
enqueue_task kernel/sched/core.c:2060 [inline]
activate_task kernel/sched/core.c:2085 [inline]
ttwu_do_activate+0x1df/0x6f0 kernel/sched/core.c:3684
ttwu_queue kernel/sched/core.c:3889 [inline]
try_to_wake_up+0xbae/0x2080 kernel/sched/core.c:4212
nilfs_segctor_wakeup fs/nilfs2/segment.c:2214 [inline]
nilfs_segctor_notify fs/nilfs2/segment.c:2347 [inline]
nilfs_segctor_construct+0x7c7/0xb30 fs/nilfs2/segment.c:2399
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline]
nilfs_segctor_thread+0x3c3/0xf30 fs/nilfs2/segment.c:2570
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308