INFO: task syz-executor.5:5539 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller-00010-g69b41ac87e4a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:19624 pid:5539 ppid:5107 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190
__down_write_common kernel/locking/rwsem.c:1305 [inline]
__down_write kernel/locking/rwsem.c:1314 [inline]
down_write+0x231/0x270 kernel/locking/rwsem.c:1563
nilfs_sufile_set_alloc_range+0x53/0x190 fs/nilfs2/sufile.c:272
nilfs_resize_fs+0xad8/0xc80 fs/nilfs2/super.c:459
nilfs_ioctl_resize fs/nilfs2/ioctl.c:1033 [inline]
nilfs_ioctl+0x1130/0x20f0 fs/nilfs2/ioctl.c:1301
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4321e8c0c9
RSP: 002b:00007f4322bcd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4321fabf80 RCX: 00007f4321e8c0c9
RDX: 0000000020000040 RSI: 0000000040086e8b RDI: 0000000000000004
RBP: 00007f4321ee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe819eec2f R14: 00007f4322bcd300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326f50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d327750 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d326d80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:5/1052:
2 locks held by getty/4750:
#0: ffff88802c45b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
2 locks held by syz-executor.5/5539:
#0: ffff888029390460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write_file+0x5a/0x1f0 fs/namespace.c:552
#1: ffff888078c5ae70 (&mi->mi_sem){+.+.}-{3:3}, at: nilfs_sufile_set_alloc_range+0x53/0x190 fs/nilfs2/sufile.c:272
3 locks held by syz-executor.5/5544:
2 locks held by syz-executor.0/5706:
#0: ffff8880754b2460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write_file+0x5a/0x1f0 fs/namespace.c:552
#1: ffff88802bb82e70 (&mi->mi_sem){+.+.}-{3:3}, at: nilfs_sufile_set_alloc_range+0x53/0x190 fs/nilfs2/sufile.c:272
4 locks held by syz-executor.0/5717:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller-00010-g69b41ac87e4a #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+0x1b1/0x290 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 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: 5544 Comm: syz-executor.5 Not tainted 6.2.0-rc2-syzkaller-00010-g69b41ac87e4a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:unwind_next_frame+0x469/0x24c0 arch/x86/kernel/unwind_orc.c:480
Code: 03 42 8a 04 08 84 c0 0f 85 32 19 00 00 c6 03 01 49 c7 c6 a0 c6 ea 8a 4d 8d 6e 04 49 8d 5e 05 4d 89 ef 49 c1 ef 03 43 8a 04 0f <84> c0 0f 85 a0 18 00 00 48 89 d8 48 c1 e8 03 42 8a 04 08 84 c0 0f
RSP: 0018:ffffc90006cedcc0 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffffffff8f274185 RCX: ffffffff8eac0ab4
RDX: ffffffff8f274174 RSI: ffffffff81c128a9 RDI: ffffffff813d1143
RBP: 0000000000000002 R08: 0000000000000003 R09: dffffc0000000000
R10: fffff52000d9dbc0 R11: 1ffff92000d9dbbe R12: ffffffff81c128a8
R13: ffffffff8f274184 R14: ffffffff8f274180 R15: 1ffffffff1e4e830
FS: 00007f4322bac700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01b239116 CR3: 00000000208a1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:122
save_stack+0xe5/0x1e0 mm/page_owner.c:127
__reset_page_owner+0x52/0x1a0 mm/page_owner.c:148
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1446 [inline]
free_pcp_prepare+0x751/0x780 mm/page_alloc.c:1496
free_unref_page_prepare mm/page_alloc.c:3369 [inline]
free_unref_page_list+0xb2/0x830 mm/page_alloc.c:3510
shrink_folio_list+0x6188/0x6970 mm/vmscan.c:2119
shrink_inactive_list+0x5bc/0xc70 mm/vmscan.c:2526
shrink_list mm/vmscan.c:2767 [inline]
shrink_lruvec+0x429/0xc20 mm/vmscan.c:5951
shrink_node_memcgs+0x35c/0x780 mm/vmscan.c:6138
shrink_node+0x299/0x1050 mm/vmscan.c:6169
shrink_zones+0x4b8/0xbd0 mm/vmscan.c:6407
do_try_to_free_pages+0x215/0xcd0 mm/vmscan.c:6469
try_to_free_mem_cgroup_pages+0x3c3/0x6c0 mm/vmscan.c:6786
reclaim_high+0x1c7/0x250 mm/memcontrol.c:2394
mem_cgroup_handle_over_high+0x11f/0x280 mm/memcontrol.c:2580
try_charge_memcg+0xf06/0x1100 mm/memcontrol.c:2819
obj_cgroup_charge_pages mm/memcontrol.c:3102 [inline]
obj_cgroup_charge+0x354/0x4d0 mm/memcontrol.c:3392
memcg_slab_pre_alloc_hook mm/slab.h:511 [inline]
slab_pre_alloc_hook mm/slab.h:725 [inline]
slab_alloc_node mm/slub.c:3434 [inline]
slab_alloc mm/slub.c:3460 [inline]
__kmem_cache_alloc_lru mm/slub.c:3467 [inline]
kmem_cache_alloc+0xb4/0x350 mm/slub.c:3476
kmem_cache_zalloc include/linux/slab.h:710 [inline]
alloc_buffer_head+0x20/0xf0 fs/buffer.c:2899
alloc_page_buffers+0x179/0x460 fs/buffer.c:829
create_empty_buffers+0x36/0xe30 fs/buffer.c:1543
__nilfs_get_page_block fs/nilfs2/page.c:37 [inline]
nilfs_grab_buffer+0x167/0x550 fs/nilfs2/page.c:61
nilfs_mdt_submit_block+0xca/0x520 fs/nilfs2/mdt.c:121
nilfs_mdt_read_block+0xa3/0x460 fs/nilfs2/mdt.c:176
nilfs_mdt_get_block+0x104/0x820 fs/nilfs2/mdt.c:251
nilfs_sufile_get_segment_usage_block fs/nilfs2/sufile.c:92 [inline]
nilfs_sufile_truncate_range fs/nilfs2/sufile.c:679 [inline]
nilfs_sufile_resize+0x73d/0x1210 fs/nilfs2/sufile.c:777
nilfs_resize_fs+0x218/0xc80 fs/nilfs2/super.c:422
nilfs_ioctl_resize fs/nilfs2/ioctl.c:1033 [inline]
nilfs_ioctl+0x1130/0x20f0 fs/nilfs2/ioctl.c:1301
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4321e8c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4322bac168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4321fac050 RCX: 00007f4321e8c0c9
RDX: 0000000020000680 RSI: 0000000040086e8b RDI: 0000000000000005
RBP: 00007f4321ee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe819eec2f R14: 00007f4322bac300 R15: 0000000000022000