INFO: task syz-executor.5:5042 blocked for more than 143 seconds.
Not tainted 6.4.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:24544 pid:5042 ppid:1 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
wb_wait_for_completion+0x182/0x240 fs/fs-writeback.c:192
sync_inodes_sb+0x1aa/0xa60 fs/fs-writeback.c:2730
sync_filesystem.part.0+0xe6/0x1d0 fs/sync.c:64
sync_filesystem+0x8f/0xc0 fs/sync.c:43
generic_shutdown_super+0x74/0x480 fs/super.c:473
kill_block_super+0xa1/0x100 fs/super.c:1407
deactivate_locked_super+0x98/0x160 fs/super.c:331
deactivate_super+0xb1/0xd0 fs/super.c:362
cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177
task_work_run+0x16f/0x270 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f620128d5d7
RSP: 002b:00007ffe68007d98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f620128d5d7
RDX: 00007ffe68007e6a RSI: 000000000000000a RDI: 00007ffe68007e60
RBP: 00007ffe68007e60 R08: 00000000ffffffff R09: 00007ffe68007c30
R10: 0000555557063893 R11: 0000000000000246 R12: 00007f62012e6cdc
R13: 00007ffe68008f20 R14: 0000555557063810 R15: 00007ffe68008f60
Showing all locks held in the system:
3 locks held by kworker/u4:1/11:
#0: ffff8880b983c618 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline]
#0: ffff8880b983c618 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551
#1: ffff8880b9828848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:996
#2: ffffffff8c796100 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:406 [inline]
#2: ffffffff8c796100 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xf7/0xfe0 net/batman-adv/network-coding.c:719
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c7954f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c7951f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/27:
#0: ffffffff8c796100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559
2 locks held by kworker/u4:4/55:
2 locks held by getty/4744:
#0: ffff88814b886098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by syz-executor.5/5042:
#0: ffff88803999c0e0 (&type->s_umount_key#66){+.+.}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361
#1: ffff888140f447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff888140f447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x190/0xa60 fs/fs-writeback.c:2728
2 locks held by kworker/u4:14/5996:
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff8880136c8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1: ffffc90005da7db0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
1 lock held by segctord/6329:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
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: 6329 Comm: segctord Not tainted 6.4.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:page_fixed_fake_head include/linux/page-flags.h:208 [inline]
RIP: 0010:page_is_fake_head include/linux/page-flags.h:240 [inline]
RIP: 0010:PageTail include/linux/page-flags.h:284 [inline]
RIP: 0010:folio_flags.constprop.0+0x1d/0x50 include/linux/page-flags.h:311
Code: 89 e9 eb e9 66 0f 1f 84 00 00 00 00 00 48 8b 57 08 48 89 f8 83 e2 01 74 11 48 c7 c6 10 7f f0 8b 48 89 c7 e8 f5 9d e9 ff 0f 0b <66> 90 c3 f7 c7 ff 0f 00 00 75 1d 48 8b 17 f7 c2 00 00 01 00 74 12
RSP: 0018:ffffc90009747800 EFLAGS: 00000046
RAX: ffffea0000f24ac0 RBX: 0000000000000000 RCX: 000000000000000a
RDX: 0000000000000000 RSI: 0000000000000018 RDI: ffffea0000f24ac0
RBP: ffff8881416d6900 R08: 0000000000000001 R09: 0000000000040588
R10: fffffbfff1cf374a R11: 0000000000094001 R12: ffffea0000f24ac0
R13: 0000000000202040 R14: 0000000000000000 R15: 0000000000242040
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe0d587078 CR3: 000000007d9f6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__folio_set_slab include/linux/page-flags.h:479 [inline]
kmem_getpages mm/slab.c:1369 [inline]
cache_grow_begin+0x101/0x3b0 mm/slab.c:2569
cache_alloc_refill+0x27f/0x380 mm/slab.c:2942
____cache_alloc mm/slab.c:3018 [inline]
____cache_alloc mm/slab.c:3001 [inline]
__do_cache_alloc mm/slab.c:3201 [inline]
slab_alloc_node mm/slab.c:3249 [inline]
slab_alloc mm/slab.c:3265 [inline]
__kmem_cache_alloc_lru mm/slab.c:3442 [inline]
kmem_cache_alloc+0x397/0x3f0 mm/slab.c:3451
nilfs_btree_alloc_path+0x3b/0x180 fs/nilfs2/btree.c:28
nilfs_btree_propagate+0x70/0xd60 fs/nilfs2/btree.c:2073
nilfs_bmap_propagate+0x77/0x170 fs/nilfs2/bmap.c:345
nilfs_collect_dat_data+0x49/0xd0 fs/nilfs2/segment.c:644
nilfs_segctor_apply_buffers+0x14a/0x470 fs/nilfs2/segment.c:1039
nilfs_segctor_scan_file+0x3f4/0x6f0 fs/nilfs2/segment.c:1088
nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1254 [inline]
nilfs_segctor_collect fs/nilfs2/segment.c:1524 [inline]
nilfs_segctor_do_construct+0xf51/0x7200 fs/nilfs2/segment.c:2070
nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2404
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline]
nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2595
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308