INFO: task syz-executor.0:5413 blocked for more than 143 seconds.
Not tainted 6.3.0-rc7-next-20230417-syzkaller-12618-g4aa1da8d9972 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:23416 pid:5413 ppid:5158 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5334 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6659
schedule+0xde/0x1a0 kernel/sched/core.c:6735
io_schedule+0xbe/0x130 kernel/sched/core.c:8969
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301
folio_lock include/linux/pagemap.h:955 [inline]
invalidate_inode_pages2_range+0x5e3/0x10f0 mm/truncate.c:660
iomap_dio_complete+0x51c/0x920 fs/iomap/direct-io.c:115
iomap_dio_rw+0x73/0xa0 fs/iomap/direct-io.c:686
ext4_dio_write_iter fs/ext4/file.c:597 [inline]
ext4_file_write_iter+0x94a/0x1740 fs/ext4/file.c:708
call_write_iter include/linux/fs.h:1854 [inline]
do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735
do_iter_write+0x185/0x7e0 fs/read_write.c:860
vfs_iter_write+0x74/0xa0 fs/read_write.c:901
iter_file_splice_write+0x745/0xc80 fs/splice.c:761
do_splice_from fs/splice.c:839 [inline]
direct_splice_actor+0x114/0x180 fs/splice.c:1018
splice_direct_to_actor+0x335/0x8a0 fs/splice.c:973
do_splice_direct+0x1ab/0x280 fs/splice.c:1061
do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
__do_sys_sendfile64 fs/read_write.c:1322 [inline]
__se_sys_sendfile64 fs/read_write.c:1308 [inline]
__x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
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:0x45f679
RSP: 002b:00007f0df84521a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 000000000045f679
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000006
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 00008000fffffffe R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004f0998 R14: 00000000004b0443 R15: 00007f0df84526bc
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c797230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c796f30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8c797e40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545
2 locks held by getty/4758:
#0: ffff88814a275098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by syz-executor.0/5413:
#0: ffff88802b12e460 (sb_writers#4){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1322 [inline]
#0: ffff88802b12e460 (sb_writers#4){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline]
#0: ffff88802b12e460 (sb_writers#4){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
#1: ffff888068da7200 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#1: ffff888068da7200 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:534 [inline]
#1: ffff888068da7200 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_file_write_iter+0x1081/0x1740 fs/ext4/file.c:708
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-next-20230417-syzkaller-12618-g4aa1da8d9972 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x33e/0x440 kernel/kthread.c:379
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: 42 Comm: kworker/u4:3 Not tainted 6.3.0-rc7-next-20230417-syzkaller-12618-g4aa1da8d9972 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:602 [inline]
RIP: 0010:__mutex_lock+0x100/0x1350 kernel/locking/mutex.c:747
Code: 29 48 8d 7d 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 2e 0f 00 00 48 3b 6d 60 0f 85 9c 08 00 00 01 00 00 00 e8 86 20 4c f7 48 8d 45 68 31 d2 31 c9 48 89 44 24
RSP: 0018:ffffc90000b37a18 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 1ffffffff18cb87c RSI: 0000000000000000 RDI: ffffffff8c65c3e0
RBP: ffffffff8c65c380 R08: ffffffff812dcbfc R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f58cfd9680 CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_jump_label_transform_queue+0x5c/0x100 arch/x86/kernel/jump_label.c:136
__jump_label_update+0x12e/0x410 kernel/jump_label.c:475
jump_label_update+0x32f/0x410 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:836 [inline]
toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:823
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x33e/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308