INFO: task syz-executor194:5064 blocked for more than 143 seconds.
Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor194 state:D stack:24576 pid:5064 ppid:5063 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0xb8a/0x5450 kernel/sched/core.c:6555
schedule+0xde/0x1b0 kernel/sched/core.c:6631
io_schedule+0xbe/0x130 kernel/sched/core.c:8811
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:397 [inline]
__sync_dirty_buffer+0x30e/0x380 fs/buffer.c:2732
__ext4_handle_dirty_metadata+0x2b7/0x6f0 fs/ext4/ext4_jbd2.c:387
ext4_handle_dirty_dirblock+0x371/0x470 fs/ext4/namei.c:438
ext4_finish_convert_inline_dir fs/ext4/inline.c:1181 [inline]
ext4_convert_inline_data_nolock+0xac1/0xf10 fs/ext4/inline.c:1258
ext4_try_add_inline_entry+0x473/0x8d0 fs/ext4/inline.c:1331
ext4_add_entry+0x80d/0xe30 fs/ext4/namei.c:2385
ext4_add_nondir+0x90/0x290 fs/ext4/namei.c:2772
ext4_create+0x380/0x4e0 fs/ext4/namei.c:2817
lookup_open.isra.0+0xee7/0x1270 fs/namei.c:3413
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x975/0x2a50 fs/namei.c:3711
do_filp_open+0x1ba/0x410 fs/namei.c:3741
do_sys_openat2+0x16d/0x4c0 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_openat fs/open.c:1342 [inline]
__se_sys_openat fs/open.c:1337 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1337
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:0x7f6e85575259
RSP: 002b:00007ffc69dc76a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f6e85575259
RDX: 000000000000275a RSI: 0000000020000100 RDI: 00000000ffffff9c
RBP: 0000000020000100 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc69dc76d0
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c790c70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c790970 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8c7917c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494
2 locks held by getty/4739:
#0: ffff88814a05f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
3 locks held by syz-executor194/5064:
#0: ffff888029106460 (sb_writers#4){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3470 [inline]
#0: ffff888029106460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x2a25/0x2a50 fs/namei.c:3711
#1: ffff888076a4ca38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888076a4ca38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3478 [inline]
#1: ffff888076a4ca38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x90f/0x2a50 fs/namei.c:3711
#2: ffff888076a4c700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888076a4c700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0x10c/0x8d0 fs/ext4/inline.c:1289
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #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:111
nmi_trigger_cpumask_backtrace+0x333/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+0xc75/0xfc0 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