INFO: task syz-executor112:5080 blocked for more than 143 seconds.
Not tainted 6.2.0-rc5-next-20230123-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor112 state:D stack:26200 pid:5080 ppid:5079 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5301 [inline]
__schedule+0x25d0/0x5a70 kernel/sched/core.c:6619
schedule+0xde/0x1a0 kernel/sched/core.c:6695
io_schedule+0xbe/0x130 kernel/sched/core.c:8881
bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0xd9/0x110 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:70 [inline]
lock_buffer include/linux/buffer_head.h:400 [inline]
__sync_dirty_buffer+0x30e/0x380 fs/buffer.c:2779
__ext4_handle_dirty_metadata+0x2b7/0x6f0 fs/ext4/ext4_jbd2.c:387
ext4_convert_inline_data_nolock+0x6e6/0xf10 fs/ext4/inline.c:1255
ext4_convert_inline_data+0x51a/0x5f0 fs/ext4/inline.c:2066
ext4_fallocate+0x19a/0x4470 fs/ext4/extents.c:4701
vfs_fallocate+0x48b/0xe40 fs/open.c:324
ioctl_preallocate+0x18e/0x200 fs/ioctl.c:290
file_ioctl fs/ioctl.c:330 [inline]
do_vfs_ioctl+0x12e9/0x1600 fs/ioctl.c:849
__do_sys_ioctl fs/ioctl.c:868 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x10c/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbd8478a2a9
RSP: 002b:00007ffc25651a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd8478a2a9
RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fbd847f8ec0 R09: 00007fbd847f8ec0
R10: 00007fbd847f8ec0 R11: 0000000000000246 R12: 00007ffc25651a40
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c793cb0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c7939b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8c794880 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x2d4 kernel/locking/lockdep.c:6544
2 locks held by getty/4763:
#0: ffff888027cdf098 (&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
3 locks held by syz-executor112/5080:
#0: ffff88802b0d0460 (sb_writers#4){.+.+}-{0:0}, at: ioctl_preallocate+0x18e/0x200 fs/ioctl.c:290
#1: ffff888077a02218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#1: ffff888077a02218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x192/0x4470 fs/ext4/extents.c:4700
#2: ffff888077a01ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888077a01ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x352/0x5f0 fs/ext4/inline.c:2064
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-next-20230123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x32f/0x3c0 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+0xcae/0x1050 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 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x40/0x50 drivers/acpi/processor_idle.c:112