INFO: task syz-executor348:5073 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-next-20230105-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor348 state:D stack:24808 pid:5073 ppid:5072 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5247 [inline]
__schedule+0x25d0/0x5a70 kernel/sched/core.c:6563
schedule+0xde/0x1b0 kernel/sched/core.c:6639
io_schedule+0xbe/0x130 kernel/sched/core.c:8819
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:69 [inline]
lock_buffer include/linux/buffer_head.h:400 [inline]
__sync_dirty_buffer+0x30e/0x380 fs/buffer.c:2732
__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:323
ksys_fallocate fs/open.c:346 [inline]
__do_sys_fallocate fs/open.c:354 [inline]
__se_sys_fallocate fs/open.c:352 [inline]
__x64_sys_fallocate+0xd3/0x140 fs/open.c:352
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:0x7f4d7334a549
RSP: 002b:00007fff9528fd98 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4d7334a549
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000003
R10: 0000000000000005 R11: 0000000000000246 R12: 00007fff9528fdd0
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c792230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c791f30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c792d80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x2d4 kernel/locking/lockdep.c:6494
2 locks held by getty/4750:
#0: ffff888149f15098 (&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-executor348/5073:
#0: ffff888024906460 (sb_writers#4){.+.+}-{0:0}, at: ksys_fallocate fs/open.c:346 [inline]
#0: ffff888024906460 (sb_writers#4){.+.+}-{0:0}, at: __do_sys_fallocate fs/open.c:354 [inline]
#0: ffff888024906460 (sb_writers#4){.+.+}-{0:0}, at: __se_sys_fallocate fs/open.c:352 [inline]
#0: ffff888024906460 (sb_writers#4){.+.+}-{0:0}, at: __x64_sys_fallocate+0xd3/0x140 fs/open.c:352
#1: ffff888076534030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888076534030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x192/0x4470 fs/ext4/extents.c:4700
#2: ffff888076533cf8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888076533cf8 (&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-rc2-next-20230105-syzkaller #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+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:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:570