INFO: task syz-executor405:3538 blocked for more than 143 seconds. Not tainted 5.15.123-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor405 state:D stack:24376 pid: 3538 ppid: 3536 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 sync_inodes_sb+0x293/0xab0 fs/fs-writeback.c:2748 sync_filesystem+0x16b/0x220 fs/sync.c:64 generic_shutdown_super+0x6e/0x2c0 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1405 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f984722f587 RSP: 002b:00007ffce4a8e048 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f984722f587 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffce4a8e100 RBP: 00007ffce4a8e100 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffce4a8f170 R13: 0000555556e836c0 R14: 431bde82d7b634db R15: 00007ffce4a8f190 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91e920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3257: #0: ffff888024d28098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900022a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 2 locks held by syz-executor405/3538: #0: ffff8880792c20e0 (&type->s_umount_key#32){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffff88801b4527d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801b4527d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2746 2 locks held by kworker/u4:0/3541: #0: ffff88801418e938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900022afd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:asm_sysvec_call_function_single+0x0/0x20 arch/x86/include/asm/idtentry.h:645 Code: e9 45 04 00 00 0f 1f 44 00 00 0f 01 ca fc 6a ff e8 45 03 00 00 48 89 c4 48 89 e7 e8 7a ea db ff e9 25 04 00 00 0f 1f 44 00 00 <0f> 01 ca fc 6a ff e8 25 03 00 00 48 89 c4 48 89 e7 e8 ea ed db ff RSP: 0018:ffffc90000d67ad8 EFLAGS: 000000d3 RAX: ffffffff8a255fe6 RBX: 0000000000000000 RCX: ffff88813fe68000 RDX: 0000000000000000 RSI: ffffffff8a8b01e0 RDI: ffffffff8ad86b80 RBP: ffffc90000d67b90 R08: ffffffff818674b0 R09: ffffed1027fcd001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001acf60 R13: ffff888019910004 R14: ffffc90000d67b20 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d9e9c56c0 CR3: 0000000023542000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:570 Code: a4 5a f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 a4 14 61 f7 0f 1f 44 00 00 e8 8a a0 5a f7 0f 00 2d f3 09 bd 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 bb 15 a4 f7 RSP: 0018:ffffc90000d67b00 EFLAGS: 000002d3