INFO: task syz-executor187:5077 blocked for more than 143 seconds.
Not tainted 6.2.0-rc4-syzkaller-00041-gc1649ec55708 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor187 state:D stack:21248 pid:5077 ppid:5076 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6606
schedule+0xcb/0x190 kernel/sched/core.c:6682
io_schedule+0x83/0x100 kernel/sched/core.c:8862
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:0x7fc5b2c9a1e9
RSP: 002b:00007ffd23e843d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc5b2c9a1e9
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000000000000743 R09: 00007fc5b2d08ec0
R10: 00007ffd23e842a0 R11: 0000000000000246 R12: 00007ffd23e84400
R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326fd0 (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: ffffffff8d3277d0 (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: ffffffff8d326e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4748:
#0: ffff88814a20e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
3 locks held by syz-executor187/5077:
#0: ffff8880753d4460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888076644030 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888076644030 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
#2: ffff888076643cf8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888076643cf8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xe1/0x990 fs/ext4/inline.c:1289
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc4-syzkaller-00041-gc1649ec55708 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1056 Comm: kworker/u4:5 Not tainted 6.2.0-rc4-syzkaller-00041-gc1649ec55708 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:207
Code: fb e8 17 00 00 00 48 8b 3d 38 ba 0a 0d 48 89 de 5b e9 77 db 54 00 cc cc cc cc cc cc cc 48 8b 04 24 65 48 8b 0c 25 40 98 03 00 <65> 8b 15 44 bc 77 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74
RSP: 0018:ffffc900052a7818 EFLAGS: 00000297
RAX: ffffffff813e284a RBX: 0000000001e0ab05 RCX: ffff8880206bba80
RDX: ffff8880206bba80 RSI: 0000000001e0ab05 RDI: 000000001fffffff
RBP: ffffc900052a79f0 R08: ffffffff813e283c R09: ffffed100250cc0d
R10: ffffed100250cc0d R11: 1ffff1100250cc0c R12: 1ffff92000a54f14
R13: dffffc0000000000 R14: 0000000001e0ab05 R15: ffffffff81e0ab05
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fa871af680 CR3: 000000000d08e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__phys_addr+0x10a/0x160 arch/x86/mm/physaddr.c:23
__text_poke+0x100/0x900 arch/x86/kernel/alternative.c:1566
text_poke arch/x86/kernel/alternative.c:1671 [inline]
text_poke_bp_batch+0x64c/0x850 arch/x86/kernel/alternative.c:2027
text_poke_flush arch/x86/kernel/alternative.c:2131 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:235
static_key_disable+0x16/0x20 kernel/jump_label.c:243
toggle_allocation_gate+0x1a8/0x240 mm/kfence/core.c:804
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