INFO: task segctord:571 blocked for more than 143 seconds.
Not tainted 6.3.0-rc4-syzkaller-00243-g6ab608fe852b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:28696 pid:571 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:2488 [inline]
nilfs_segctor_thread+0x52f/0x1140 fs/nilfs2/segment.c:2572
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: ffffffff8cf25530 (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: ffffffff8cf25d30 (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: ffffffff8cf25360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4755:
#0: ffff88802c484098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.4/5129:
2 locks held by syz-executor.5/5137:
#0: ffff8880330280e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
#1: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#1: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/0:8/5223:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90004e77d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
2 locks held by kworker/u4:7/5254:
3 locks held by kworker/0:26/9354:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc900161c7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
#2: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/u4:0/22625:
6 locks held by syz-executor.0/570:
1 lock held by segctord/571:
#0: ffff88807d7572a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357
6 locks held by syz-executor.1/691:
1 lock held by segctord/692:
#0: ffff888020d3d2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357
5 locks held by syz-executor.3/1435:
1 lock held by syz-executor.1/1438:
3 locks held by syz-executor.0/1442:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller-00243-g6ab608fe852b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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: 4416 Comm: syslogd Not tainted 6.3.0-rc4-syzkaller-00243-g6ab608fe852b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:207
Code: 04 24 65 48 8b 0d f0 61 79 7e 65 8b 15 f1 61 79 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 74 15 00 00 00 74 2c <8b> 91 50 15 00 00 83 fa 02 75 21 48 8b 91 58 15 00 00 48 8b 32 48
RSP: 0018:ffffc900030af6c0 EFLAGS: 00000246
RAX: ffffffff81b86e52 RBX: 0000000000000000 RCX: ffff88807e458000
RDX: 0000000080000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900030af9d0 R08: ffffffff81b86e3e R09: fffff940001be8f1
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000005
R13: 0000000000000004 R14: ffffea0000df4780 R15: ffff88823bd4ad98
FS: 00007fe03a40a800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd9b37fe000 CR3: 000000002851c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
page_fixed_fake_head include/linux/page-flags.h:214 [inline]
page_is_fake_head include/linux/page-flags.h:246 [inline]
PageTail include/linux/page-flags.h:290 [inline]
folio_flags include/linux/page-flags.h:317 [inline]
folio_test_locked include/linux/page-flags.h:471 [inline]
filemap_remove_folio+0x82/0x2e0 mm/filemap.c:254
truncate_inode_folio+0x5d/0x70 mm/truncate.c:196
shmem_undo_range+0x442/0x1dd0 mm/shmem.c:942
shmem_truncate_range mm/shmem.c:1041 [inline]
shmem_evict_inode+0x258/0x9f0 mm/shmem.c:1156
evict+0x2a4/0x620 fs/inode.c:665
__dentry_kill+0x436/0x650 fs/dcache.c:607
dentry_kill+0xbb/0x290
dput+0x1f3/0x420 fs/dcache.c:913
do_renameat2+0xba8/0x13c0 fs/namei.c:4925
__do_sys_rename fs/namei.c:4969 [inline]
__se_sys_rename fs/namei.c:4967 [inline]
__x64_sys_rename+0x86/0x90 fs/namei.c:4967
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe03a5044d7
Code: e8 7e 3e 09 00 85 c0 0f 95 c0 0f b6 c0 f7 d8 5d c3 66 90 b8 ff ff ff ff 5d c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 71 19 16 00 f7 d8 64 89 02 b8
RSP: 002b:00007fff44dcd568 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000564cb1e1a910 RCX: 00007fe03a5044d7
RDX: 00007fff44dcd583 RSI: 00007fff44dcd570 RDI: 00007fe03a72499a
RBP: 00007fff44dcd6b0 R08: 0000000000000000 R09: 00007fff44dcd317
R10: 0000000000000000 R11: 0000000000000246 R12: 0000564cb1e1ac50
R13: 00007fff44dcd570 R14: 00007fff44dcd590 R15: 0000000000000000