INFO: task syz-executor109:5028 blocked for more than 143 seconds. Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor109 state:D stack:27216 pid:5028 ppid:5025 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 wb_wait_for_completion+0x1ae/0x270 fs/fs-writeback.c:192 sync_inodes_sb+0x1b7/0xa50 fs/fs-writeback.c:2736 sync_filesystem fs/sync.c:64 [inline] sync_filesystem+0x16f/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:656 kill_block_super+0x3b/0x70 fs/super.c:1607 ext4_kill_sb+0x6a/0xb0 fs/ext4/super.c:7263 deactivate_locked_super+0xa0/0x2d0 fs/super.c:454 deactivate_super+0xde/0x100 fs/super.c:504 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 ptrace_notify+0x10c/0x130 kernel/signal.c:2376 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work kernel/entry/common.c:251 [inline] syscall_exit_to_user_mode_prepare+0x120/0x220 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xd/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f97732a0507 RSP: 002b:00007ffe7387f1d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f97732a0507 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe7387f290 RBP: 00007ffe7387f290 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe73880300 R13: 000055555737f6c0 R14: 431bde82d7b634db R15: 00007ffe73880320 Showing all locks held in the system: 4 locks held by kworker/u4:1/11: 1 lock held by ksoftirqd/0/15: #0: ffff8880b983c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 1 lock held by khungtaskd/28: #0: ffffffff8c9a7d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 1 lock held by kworker/1:1H/53: #0: ffff8880b993c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 5 locks held by kworker/u4:7/1262: 2 locks held by getty/4781: #0: ffff888028d6c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 2 locks held by syz-executor109/5028: #0: ffff88807dacc0e0 (&type->s_umount_key#32){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807dacc0e0 (&type->s_umount_key#32){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807dacc0e0 (&type->s_umount_key#32){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:503 #1: ffff8881476d47d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8881476d47d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2734 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/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+0xfab/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:update_rq_clock+0xce/0xb20 kernel/sched/core.c:756 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e a1 03 00 00 f6 83 48 0a 00 00 02 <74> 13 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 0b eb bc 4c RSP: 0018:ffffc900001b77e0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880b993c440 RCX: 0000000000000001 RDX: 1ffff110173279d1 RSI: ffffffff8a6c8bc0 RDI: ffff8880b993ce88 RBP: ffff888016653b80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8eac0f10 R13: 0000000000000001 R14: ffff888016654568 R15: ffff888016653b98 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c670765600 CR3: 000000000c776000 CR4: 0000000000350ee0 Call Trace: ttwu_runnable kernel/sched/core.c:3858 [inline] try_to_wake_up+0x113a/0x15b0 kernel/sched/core.c:4260 autoremove_wake_function kernel/sched/wait.c:424 [inline] wake_bit_function+0xfd/0x270 kernel/sched/wait_bit.c:31 __wake_up_common+0x140/0x5a0 kernel/sched/wait.c:107 __wake_up_common_lock+0xd6/0x140 kernel/sched/wait.c:138 __wake_up kernel/sched/wait.c:160 [inline] __wake_up_bit kernel/sched/wait_bit.c:126 [inline] wake_up_bit+0xe2/0x130 kernel/sched/wait_bit.c:149 unlock_buffer fs/buffer.c:79 [inline] end_buffer_write_sync+0x85/0xf0 fs/buffer.c:174 end_bio_bh_io_sync+0xdd/0x130 fs/buffer.c:2794 bio_endio+0x593/0x6a0 block/bio.c:1617 req_bio_endio block/blk-mq.c:782 [inline] blk_update_request+0x67b/0x1780 block/blk-mq.c:927 blk_mq_end_request+0x57/0x520 block/blk-mq.c:1050 blk_flush_complete_seq+0x681/0x1280 block/blk-flush.c:206 flush_end_io+0x79c/0xc70 block/blk-flush.c:264 __blk_mq_end_request block/blk-mq.c:1040 [inline] blk_mq_end_request+0x260/0x520 block/blk-mq.c:1052 lo_complete_rq+0x1c4/0x270 drivers/block/loop.c:370 blk_complete_reqs+0xb2/0xf0 block/blk-mq.c:1130 __do_softirq+0x218/0x965 kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x67d/0xa00 kernel/smpboot.c:164 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304