INFO: task syz-executor.0:23359 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22616 pid:23359 tgid:23358 ppid:5091 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 io_schedule+0x8c/0x100 kernel/sched/core.c:8998 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273 folio_wait_writeback+0xe7/0x1e0 mm/page-writeback.c:3065 __filemap_fdatawait_range+0x17b/0x400 mm/filemap.c:522 filemap_write_and_wait_range+0x220/0x2c0 mm/filemap.c:684 direct_write_fallback+0xae/0x150 fs/libfs.c:1946 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4039 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8c0867cae9 RSP: 002b:00007f8c0941d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c0879bf80 RCX: 00007f8c0867cae9 RDX: 00000000fffffdef RSI: 0000000020000300 RDI: 0000000000000004 RBP: 00007f8c086c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8c0879bf80 R15: 00007ffcade67338 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4812: #0: ffff888016eff0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.0/23359: #0: ffff88807ee68848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff8880808be418 (sb_writers#16){.+.+}-{0:0}, at: vfs_write+0x223/0xb20 fs/read_write.c:580 #2: ffff8880755715e0 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #2: ffff8880755715e0 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4036 2 locks held by syz-executor.0/24741: #0: ffff8880808be0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880808be0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 #1: ffff8880808be910 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2578 [inline] #1: ffff8880808be910 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x335/0xb20 fs/fs-writeback.c:2761 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4493 Comm: syslogd Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x3a/0xb0 kernel/rcu/tree.c:700 Code: e8 3b 23 a0 09 89 c3 83 f8 08 73 76 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 40 99 34 8d 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 dc ba 73 00 48 c7 c3 08 6c 03 00 49 03 1e 48 89 RSP: 0018:ffffc9000ec8fec0 EFLAGS: 00000046 RAX: 1ffffffff1a69328 RBX: 0000000000000000 RCX: ffffffff81955fdc RDX: 0000000000000000 RSI: ffffffff8bbdf2e0 RDI: ffffffff8bbdf2a0 RBP: ffffc9000ec8ff48 R08: ffffffff8f00c16f R09: 1ffffffff1e0182d R10: dffffc0000000000 R11: fffffbfff1e0182e R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d349940 R15: dffffc0000000000 FS: 00007f60cc1dc380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5832fe866 CR3: 0000000028742000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_irq_disable+0x3b/0xf0 include/trace/events/preemptirq.h:36 local_irq_disable_exit_to_user include/linux/entry-common.h:191 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline] syscall_exit_to_user_mode+0x61/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f60cc330b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe77b27158 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: 0000000000000047 RBX: 0000000000000002 RCX: 00007f60cc330b6a RDX: 00000000000000ff RSI: 000055c69a250950 RDI: 0000000000000000 RBP: 000055c69a250910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f60cc4cf3a3 R11: 0000000000000246 R12: 000055c69a2509ae R13: 000055c69a250950 R14: 0000000000000000 R15: 00007f60cc50da80