INFO: task segctord:14429 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-05251-g5b7c4cabbb65 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:segctord state:D stack:29536 pid:14429 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0xcce/0x5b20 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574
nilfs_transaction_lock+0x266/0x410 fs/nilfs2/segment.c:357
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2486 [inline]
nilfs_segctor_thread+0x3bc/0xf30 fs/nilfs2/segment.c:2570
kthread+0x2e8/0x3a0 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: ffffffff8c795f30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c795c30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c796a80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by getty/4754:
#0: ffff888027b1f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
4 locks held by syz-executor.5/14412:
1 lock held by segctord/14429:
#0: ffff88802b87f2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x266/0x410 fs/nilfs2/segment.c:357
6 locks held by syz-executor.3/14475:
1 lock held by segctord/14487:
#0: ffff888084e3e2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x266/0x410 fs/nilfs2/segment.c:357
1 lock held by syz-executor.1/16360:
#0: ffffffff8c669d08 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3b/0xa0 kernel/sched/core.c:400
1 lock held by syz-executor.4/16359:
#0: ffff8880b993c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:547 [inline]
#0: ffff8880b993c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:532
1 lock held by syz-executor.4/16365:
#0: ffffffff8c669d08 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3b/0xa0 kernel/sched/core.c:400
1 lock held by syz-executor.0/16363:
2 locks held by syz-executor.2/16366:
#0: ffffffff8c669d08 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3b/0xa0 kernel/sched/core.c:400
#1: ffffffff8c7a1d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#1: ffffffff8c7a1d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:989
1 lock held by syz-executor.5/16367:
#0: ffffffff8c669d08 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3b/0xa0 kernel/sched/core.c:400
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-05251-g5b7c4cabbb65 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x333/0x440 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+0xe53/0x11b0 kernel/hung_task.c:377
kthread+0x2e8/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: 16373 Comm: syz-executor.2 Not tainted 6.2.0-syzkaller-05251-g5b7c4cabbb65 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:unwind_next_frame+0x346/0x1f60 arch/x86/kernel/unwind_orc.c:480
Code: 85 e1 15 00 00 41 c6 45 34 01 49 c7 c0 00 9e 60 8c 4d 8d 78 04 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 0f b6 04 02 <4c> 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 ee 06 00 00 45 0f b6 70
RSP: 0018:ffffc90005e6f0f8 EFLAGS: 00000217
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81ca5bbb
RDX: 1ffffffff1e0f23f RSI: ffffffff8f0791b0 RDI: ffffffff8e8cd094
RBP: ffffc90005e6f1b0 R08: ffffffff8f0791f8 R09: ffffc90005e6f19c
R10: 0000000000000000 R11: 0000000000094001 R12: ffffc90005e6f19d
R13: ffffc90005e6f168 R14: ffffffff81ca5bbb R15: ffffffff8f0791fc
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2e493f8000 CR3: 0000000067e67000 CR4: 0000000000350ef0
Call Trace:
arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
save_stack+0x151/0x1e0 mm/page_owner.c:127
__set_page_owner+0x1f/0x60 mm/page_owner.c:190
prep_new_page mm/page_alloc.c:2531 [inline]
get_page_from_freelist+0x119c/0x2d00 mm/page_alloc.c:4283
__alloc_pages+0x1cb/0x5c0 mm/page_alloc.c:5549
alloc_pages+0x1aa/0x270 mm/mempolicy.c:2287
__get_free_pages+0xc/0x40 mm/page_alloc.c:5599
tlb_next_batch mm/mmu_gather.c:35 [inline]
__tlb_remove_page_size+0x2ae/0x480 mm/mmu_gather.c:135
__tlb_remove_page include/asm-generic/tlb.h:472 [inline]
zap_pte_range mm/memory.c:1405 [inline]
zap_pmd_range mm/memory.c:1525 [inline]
zap_pud_range mm/memory.c:1554 [inline]
zap_p4d_range mm/memory.c:1575 [inline]
unmap_page_range+0x11b3/0x3cc0 mm/memory.c:1596
unmap_single_vma+0x190/0x2a0 mm/memory.c:1642
unmap_vmas+0x226/0x370 mm/memory.c:1681
exit_mmap+0x18d/0x7c0 mm/mmap.c:3089
__mmput+0x128/0x4c0 kernel/fork.c:1212
mmput+0x60/0x70 kernel/fork.c:1234
exit_mm kernel/exit.c:563 [inline]
do_exit+0x9d7/0x2a40 kernel/exit.c:856
do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
get_signal+0x2315/0x25b0 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fa542c8c0f9
Code: Unable to access opcode bytes at 0x7fa542c8c0cf.
RSP: 002b:00007fa5417dd218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fa542dac128 RCX: 00007fa542c8c0f9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa542dac128
RBP: 00007fa542dac120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa542dac12c
R13: 00007ffd79144abf R14: 00007fa5417dd300 R15: 0000000000022000