INFO: task syz-executor.2:9357 blocked for more than 143 seconds. Not tainted 5.15.109-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25440 pid: 9357 ppid: 6821 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 inode_lock include/linux/fs.h:787 [inline] open_last_lookups fs/namei.c:3459 [inline] path_openat+0x824/0x2f20 fs/namei.c:3669 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_open fs/open.c:1235 [inline] __se_sys_open fs/open.c:1231 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1231 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+0x61/0xcb RIP: 0033:0x7fa138160169 RSP: 002b:00007fa12e3b1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa138280050 RCX: 00007fa138160169 RDX: 0000000000000000 RSI: 0000000000143042 RDI: 0000000020002000 RBP: 00007fa1381bbca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28394bef R14: 00007fa12e3b1300 R15: 0000000000022000 INFO: task syz-executor.2:9359 blocked for more than 143 seconds. Not tainted 5.15.109-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23168 pid: 9359 ppid: 6821 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 io_schedule+0x88/0x100 kernel/sched/core.c:8472 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbf/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d0/0x250 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:402 [inline] __sync_dirty_buffer+0x120/0x380 fs/buffer.c:3144 __ext4_handle_dirty_metadata+0x288/0x800 fs/ext4/ext4_jbd2.c:381 ext4_handle_dirty_dirblock+0x35e/0x6f0 fs/ext4/namei.c:438 ext4_finish_convert_inline_dir+0x57b/0x6f0 fs/ext4/inline.c:1188 ext4_convert_inline_data_nolock+0xa15/0xda0 fs/ext4/inline.c:1265 ext4_try_add_inline_entry+0x805/0xb60 fs/ext4/inline.c:1338 ext4_add_entry+0x6c2/0x12b0 fs/ext4/namei.c:2384 ext4_add_nondir+0x98/0x290 fs/ext4/namei.c:2771 ext4_create+0x372/0x550 fs/ext4/namei.c:2816 lookup_open fs/namei.c:3392 [inline] open_last_lookups fs/namei.c:3462 [inline] path_openat+0x12f6/0x2f20 fs/namei.c:3669 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_open fs/open.c:1235 [inline] __se_sys_open fs/open.c:1231 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1231 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+0x61/0xcb RIP: 0033:0x7fa138160169 RSP: 002b:00007fa12e36f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa1382801f0 RCX: 00007fa138160169 RDX: 0000000000000000 RSI: 000000000014d27e RDI: 0000000020000180 RBP: 00007fa1381bbca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28394bef R14: 00007fa12e36f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91b920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3258: #0: ffff88814ac98098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 2 locks held by syz-executor.2/9357: #0: ffff88802a440460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: open_last_lookups fs/namei.c:3459 [inline] #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3669 3 locks held by syz-executor.2/9359: #0: ffff88802a440460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: open_last_lookups fs/namei.c:3459 [inline] #1: ffff8880287ab5c8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3669 #2: ffff8880287ab2a0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880287ab2a0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf2/0xb60 fs/ext4/inline.c:1296 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2943 Comm: syslogd Not tainted 5.15.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__lock_acquire+0x12ae/0x1ff0 kernel/locking/lockdep.c:5014 Code: 48 8b 74 24 08 8b 54 24 2c 48 89 e9 e8 8b 9f 00 00 31 f6 85 c0 0f 84 a8 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 8b 44 24 60 <80> 3c 10 00 48 8b 5c 24 58 74 12 48 89 df e8 7f c5 66 00 48 ba 00 RSP: 0018:ffffc900010dfc20 EFLAGS: 00000002 RAX: 1ffff1100fea1c22 RBX: ffffffff8f8b3c60 RCX: ffffffff8162f012 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8fbb60b0 RBP: f3e939ec8e99e7f8 R08: dffffc0000000000 R09: fffffbfff1f76c17 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88807f50e118 R14: ffff88807f50d700 R15: ffff88807f50e140 FS: 00007f228d25a380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01a9a6018 CR3: 0000000023b5a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_user_exit+0xbf/0x400 kernel/sched/cputime.c:719 __context_tracking_exit+0x4c/0x80 kernel/context_tracking.c:160 user_exit_irqoff include/linux/context_tracking.h:47 [inline] __enter_from_user_mode kernel/entry/common.c:22 [inline] syscall_enter_from_user_mode+0x1ba/0x230 kernel/entry/common.c:104 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f228d3aeb6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd5b4126b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f228d3aeb6a RDX: 00000000000000ff RSI: 0000557cbf148950 RDI: 0000000000000000 RBP: 0000557cbf148910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f228d54d3a3 R11: 0000000000000246 R12: 0000557cbf1489ac R13: 0000557cbf148950 R14: 0000000000000000 R15: 00007f228d58ba80