INFO: task syz-executor.2:7945 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00089-gcb0856346a60 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24264 pid:7945 ppid:5136 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 io_schedule+0xbe/0x130 kernel/sched/core.c:8887 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:952 [inline] invalidate_inode_pages2_range+0x5e3/0x10f0 mm/truncate.c:659 iomap_dio_complete+0x51c/0x920 fs/iomap/direct-io.c:115 iomap_dio_rw+0x73/0xa0 fs/iomap/direct-io.c:687 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:1851 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x743/0xc80 fs/splice.c:778 do_splice_from fs/splice.c:856 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:1022 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:977 do_splice_direct+0x1ab/0x280 fs/splice.c:1065 do_sendfile+0xb19/0x12c0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309 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:00007f5c2fa1a1a8 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: 00007f5c2fa1a6bc Showing all locks held in the system: 2 locks held by kworker/u4:1/10: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c791ab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c7917b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/27: #0: ffffffff8c792600 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4741: #0: ffff88802b715098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.2/7945: #0: ffff88814ad72460 (sb_writers#5){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1323 [inline] #0: ffff88814ad72460 (sb_writers#5){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1309 [inline] #0: ffff88814ad72460 (sb_writers#5){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309 #1: ffff8880663c4640 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880663c4640 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:534 [inline] #1: ffff8880663c4640 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_write_iter+0x1081/0x1740 fs/ext4/file.c:708 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00089-gcb0856346a60 #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+0x2e8/0x3a0 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: 10 Comm: kworker/u4:1 Not tainted 6.3.0-rc7-syzkaller-00089-gcb0856346a60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:405 [inline] RIP: 0010:batadv_nc_worker+0x86c/0xfe0 net/batman-adv/network-coding.c:719 Code: 85 db 0f 85 ed 02 00 00 e8 e1 1b b7 f7 e8 0c 3b a1 f7 e8 d7 1b b7 f7 48 c7 c6 4a f5 ca 89 48 c7 c7 00 26 79 8c e8 04 d8 98 f7 <48> 8b 44 24 48 83 44 24 3c 01 48 c1 e8 03 42 0f b6 04 30 84 c0 74 RSP: 0018:ffffc9000030fc88 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000030fc10 RDX: 1ffff11002ddc195 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff8e769997 R10: fffffbfff1ced332 R11: 0000000000000000 R12: ffffc9000030fda8 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000313 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f28bc0a600 CR3: 000000000c571000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308