INFO: task syz-executor288:5068 blocked for more than 143 seconds.
Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor288 state:D stack:19808 pid:5068 ppid:5067 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
io_schedule+0x83/0x100 kernel/sched/core.c:8811
bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1c3/0x240 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+0x107/0x330 fs/buffer.c:2732
__ext4_handle_dirty_metadata+0x29a/0x810 fs/ext4/ext4_jbd2.c:387
ext4_handle_dirty_dirblock+0x363/0x6b0 fs/ext4/namei.c:438
ext4_finish_convert_inline_dir+0x58a/0x700 fs/ext4/inline.c:1181
ext4_convert_inline_data_nolock+0x639/0x820 fs/ext4/inline.c:1258
ext4_try_add_inline_entry+0x683/0x990 fs/ext4/inline.c:1331
ext4_add_entry+0x5a4/0xeb0 fs/ext4/namei.c:2385
ext4_mkdir+0x557/0xcf0 fs/ext4/namei.c:3007
vfs_mkdir+0x3b3/0x590 fs/namei.c:4036
do_mkdirat+0x25b/0x530 fs/namei.c:4061
__do_sys_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4074
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:0x7f62c00c6229
RSP: 002b:00007ffdfdcc6ee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f62c00c6229
RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f62c0134ec0 R09: 00007f62c0134ec0
R10: 00007f62c0134ec0 R11: 0000000000000246 R12: 00007ffdfdcc6f10
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326e90 (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: ffffffff8d327690 (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: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by klogd/4423:
#0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
2 locks held by getty/4746:
#0: ffff88814a3fe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
3 locks held by syz-executor288/5068:
#0: ffff8880297ce460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff8880787b0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff8880787b0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
#2: ffff8880787b0ad0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff8880787b0ad0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xe1/0x990 fs/ext4/inline.c:1289
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #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: 56 Comm: kworker/u4:4 Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:util_est_update kernel/sched/fair.c:4438 [inline]
RIP: 0010:dequeue_task_fair+0x10c0/0x12a0 kernel/sched/fair.c:6215
Code: 8c 6c fb ff ff 4c 89 f7 49 89 f5 e8 ca 62 7e 00 4c 89 ee 48 ba 00 00 00 00 00 fc ff df e9 4f fb ff ff 48 8d 8c 24 d0 00 00 00 <80> e1 07 80 c1 03 38 c1 0f 8c 47 fb ff ff 48 8d bc 24 d0 00 00 00
RSP: 0018:ffffc90001577880 EFLAGS: 00000002
RAX: 1ffff110031cb004 RBX: 0000000080000038 RCX: ffffc90001577950
RDX: dffffc0000000000 RSI: 1ffff920002aef2a RDI: ffff8880b983a29c
RBP: ffffc900015779d0 R08: ffffffff813fadcf R09: fffffbfff1d2ccfe
R10: fffffbfff1d2ccfe R11: 1ffffffff1d2ccfd R12: ffff888018e58080
R13: 00000000ffffff68 R14: ffff888018e58178 R15: ffff888018e5817c
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056340c1b0000 CR3: 000000000d08e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
deactivate_task kernel/sched/core.c:2094 [inline]
__schedule+0x406/0xe20 kernel/sched/core.c:6509
schedule+0xcb/0x190 kernel/sched/core.c:6631
toggle_allocation_gate+0x15a/0x240 mm/kfence/core.c:801
process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308