INFO: task segctord:11613 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-05127-g5c7ecada25d2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:28696 pid:11613 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+0x2b2/0x350 kernel/kthread.c:379
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/13:
#0: ffffffff8cf26030 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf263f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
5 locks held by kworker/1:0/22:
#0: ffff8880b993bed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffff88807d5089b0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline]
#1: ffff88807d5089b0 (&mm->cid_lock#2){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#1: ffff88807d5089b0 (&mm->cid_lock#2){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5117 [inline]
#1: ffff88807d5089b0 (&mm->cid_lock#2){....}-{2:2}, at: context_switch kernel/sched/core.c:5258 [inline]
#1: ffff88807d5089b0 (&mm->cid_lock#2){....}-{2:2}, at: __schedule+0x12e4/0x4630 kernel/sched/core.c:6625
#2: ffff8880b9929598 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999
#3: ffff88807661fce0 (&nsim_trap_data->trap_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:350 [inline]
#3: ffff88807661fce0 (&nsim_trap_data->trap_lock){+.+.}-{2:2}, at: nsim_dev_trap_report drivers/net/netdevsim/dev.c:794 [inline]
#3: ffff88807661fce0 (&nsim_trap_data->trap_lock){+.+.}-{2:2}, at: nsim_dev_trap_report_work+0x191/0xa90 drivers/net/netdevsim/dev.c:853
#4: ffff8880326d75a8 (&nsim_dev->fa_cookie_lock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:355 [inline]
#4: ffff8880326d75a8 (&nsim_dev->fa_cookie_lock){+...}-{2:2}, at: nsim_dev_trap_report drivers/net/netdevsim/dev.c:819 [inline]
#4: ffff8880326d75a8 (&nsim_dev->fa_cookie_lock){+...}-{2:2}, at: nsim_dev_trap_report_work+0x6a3/0xa90 drivers/net/netdevsim/dev.c:853
1 lock held by khungtaskd/28:
#0: ffffffff8cf25e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4732:
#0: ffff88814a3b4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
3 locks held by syz-executor.3/5016:
#0: ffff8880382a80e0 (&type->s_umount_key#60){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
#1: ffff8880b993bed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#2: ffffffff8cf25e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
5 locks held by syz-executor.0/11610:
1 lock held by segctord/11613:
#0: ffff888033e5c2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x25c/0x4f0 fs/nilfs2/segment.c:357
7 locks held by syz-executor.4/11765:
1 lock held by syz-executor.0/17606:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-05127-g5c7ecada25d2 #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+0x2b2/0x350 kernel/kthread.c:379
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: 5006 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller-05127-g5c7ecada25d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:__lock_acquire+0x2ea/0x2000 kernel/locking/lockdep.c:5007
Code: 0a 00 00 83 fa 31 4c 89 44 24 08 0f 83 c3 19 00 00 48 8d 2c 92 49 8d 5c e8 20 48 89 d8 48 c1 e8 03 48 89 44 24 28 0f b6 04 30 <84> c0 48 89 6c 24 10 0f 85 3c 14 00 00 4c 8b ac 24 c8 00 00 00 b8
RSP: 0018:ffffc9000398f8b8 EFLAGS: 00000802
RAX: 0000000000000000 RBX: ffff88801f594668 RCX: ffffffff91ad6003
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000225
RBP: 0000000000000000 R08: ffff88801f594648 R09: 0000000000000001
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88801eea8038 R15: 0000000000000225
FS: 0000555556cd2400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007febb8c3e000 CR3: 0000000041a7c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
remove_wait_queue+0x24/0x130 kernel/sched/wait.c:54
do_wait+0x91c/0xb00 kernel/exit.c:1637
kernel_wait4+0x2a2/0x3e0 kernel/exit.c:1775
__do_sys_wait4 kernel/exit.c:1803 [inline]
__se_sys_wait4 kernel/exit.c:1799 [inline]
__x64_sys_wait4+0x134/0x1e0 kernel/exit.c:1799
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:0x7fe057289d47
Code: 89 7c 24 10 48 89 4c 24 18 e8 f5 58 02 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 25 59 02 00 8b 44
RSP: 002b:00007ffce1eeabb0 EFLAGS: 00000293 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 00000000000006af RCX: 00007fe057289d47
RDX: 0000000040000001 RSI: 00007ffce1eeac3c RDI: 00000000ffffffff
RBP: 00007ffce1eeac3c R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00000000000dbc25 R14: 0000000000000000 R15: 00007ffce1eeaca0