INFO: task syz-executor215:5071 blocked for more than 143 seconds.
Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor215 state:D stack:23616 pid:5071 ppid:5070 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5296 [inline]
__schedule+0x1409/0x43f0 kernel/sched/core.c:6609
schedule+0xc3/0x190 kernel/sched/core.c:6685
io_schedule+0x8c/0x100 kernel/sched/core.c:8871
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/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:397 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:2732
__ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387
ext4_handle_dirty_dirblock+0x362/0x6f0 fs/ext4/namei.c:438
ext4_finish_convert_inline_dir+0x57b/0x6f0 fs/ext4/inline.c:1181
ext4_convert_inline_data_nolock+0xa01/0xd80 fs/ext4/inline.c:1258
ext4_try_add_inline_entry+0x809/0xb70 fs/ext4/inline.c:1331
ext4_add_entry+0x535/0x1010 fs/ext4/namei.c:2385
ext4_mkdir+0x553/0xce0 fs/ext4/namei.c:3007
vfs_mkdir+0x3ba/0x590 fs/namei.c:4036
do_mkdirat+0x246/0x500 fs/namei.c:4061
__do_sys_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4074
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0687e28259
RSP: 002b:00007fff7cac8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f0687e28259
RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f0687e96ec0 R09: 00007f0687e96ec0
R10: 00007f0687e96ec0 R11: 0000000000000246 R12: 00007fff7cac8190
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf25950 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf26150 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8cf25780 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4741:
#0: ffff88802cd9b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
3 locks held by syz-executor215/5071:
#0: ffff88807d1e8460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508
#1: ffff88807757de48 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff88807757de48 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3807
#2: ffff88807757db10 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88807757db10 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1289
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b4/0x3f0 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+0xf70/0xfb0 kernel/hung_task.c:377
kthread+0x270/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: 46 Comm: kworker/u4:3 Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:mark_held_locks kernel/locking/lockdep.c:4236 [inline]
RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4254 [inline]
RIP: 0010:lockdep_hardirqs_on_prepare+0x279/0x7a0 kernel/locking/lockdep.c:4321
Code: 89 e0 48 c1 e8 03 0f b6 04 10 84 c0 75 54 8b 43 20 a9 00 00 04 00 74 2c 31 d2 a9 00 00 03 00 0f 94 c2 83 f2 03 48 8b 7c 24 10 <48> 89 de e8 4f a2 00 00 48 ba 00 00 00 00 00 fc ff df 85 c0 0f 84
RSP: 0018:ffffc90000b777a0 EFLAGS: 00000002
RAX: 00000000000400b2 RBX: ffff88801780e220 RCX: ffffffff816b75da
RDX: 0000000000000002 RSI: 0000000000000008 RDI: ffff88801780d7c0
RBP: ffffc90000b77848 R08: dffffc0000000000 R09: fffffbfff2038633
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801780e240
R13: 0000000000000001 R14: ffff88801780e1f0 R15: 1ffff11002f01c3e
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559a0ed54680 CR3: 000000000cc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_on+0x38/0x50 kernel/trace/trace_preemptirq.c:49
__text_poke+0x7f8/0xa00 arch/x86/kernel/alternative.c:1646
text_poke arch/x86/kernel/alternative.c:1671 [inline]
text_poke_bp_batch+0x650/0x850 arch/x86/kernel/alternative.c:2027
text_poke_flush arch/x86/kernel/alternative.c:2131 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2138
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:804
process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289
worker_thread+0xa63/0x1210 kernel/workqueue.c:2436
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.196 msecs