INFO: task syz-executor.4:6832 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.4 state:D stack:23416 pid:6832 ppid:5156 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:0x4603b9
RSP: 002b:00007fe747d4d198 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004603b9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00000000004a9a99 R08: 0000000000000000 R09: 0000000000000000
R10: 00008000fffffffe R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000004 R14: 00000000004b1725 R15: 00007fe747d4d6bc
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/4759:
#0: ffff88802a96a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by syz-executor.4/6832:
#0: ffff88802ab20460 (sb_writers#4){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1322 [inline]
#0: ffff88802ab20460 (sb_writers#4){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline]
#0: ffff88802ab20460 (sb_writers#4){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
#1: ffff888066d6d400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#1: ffff888066d6d400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:534 [inline]
#1: ffff888066d6d400 (&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 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12 Comm: kworker/u4:1 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:insn_get_sib+0x293/0x330 arch/x86/lib/insn.c:421
Code: 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 7a c6 43 2d 01 e9 49 fe ff ff 18 b1 84 f7 48 89 df e8 10 f4 ff ff 31 ff 41 89 c4 89 c6 e8 24
RSP: 0018:ffffc900001179b8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000117a60 RCX: ffffffff89fed071
RDX: ffff888015dad7c0 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000000f R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cefd514600 CR3: 000000000c571000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
insn_get_displacement+0x34a/0x6c0 arch/x86/lib/insn.c:464
insn_get_immediate arch/x86/lib/insn.c:632 [inline]
insn_get_length arch/x86/lib/insn.c:707 [inline]
insn_decode+0x35f/0x3b0 arch/x86/lib/insn.c:747
arch_jump_entry_size+0xa4/0x110 arch/x86/kernel/jump_label.c:24
__jump_label_patch+0x80/0x340 arch/x86/kernel/jump_label.c:45
arch_jump_label_transform_queue+0x67/0x100 arch/x86/kernel/jump_label.c:137
__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
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.136 msecs