INFO: task syz-executor317:3630 blocked for more than 143 seconds. Not tainted 5.15.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor317 state:D stack:25960 pid: 3630 ppid: 3628 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5023 [inline] __schedule+0x1348/0x4610 kernel/sched/core.c:6369 schedule+0x11b/0x1f0 kernel/sched/core.c:6452 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 sync_inodes_sb+0x293/0xab0 fs/fs-writeback.c:2745 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:1396 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:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x5d/0x2b0 kernel/entry/common.c:300 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f19cb522d07 RSP: 002b:00007ffc5e099808 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f19cb522d07 RDX: 00007ffc5e0998c9 RSI: 000000000000000a RDI: 00007ffc5e0998c0 RBP: 00007ffc5e0998c0 R08: 00000000ffffffff R09: 00007ffc5e0996a0 R10: 0000555555ebb653 R11: 0000000000000202 R12: 00007ffc5e09a930 R13: 0000555555ebb5f0 R14: 00007ffc5e099830 R15: 0000000000000001 Showing all locks held in the system: 2 locks held by kworker/0:1/13: 1 lock held by khungtaskd/27: #0: ffffffff8c91c320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 7 locks held by kworker/u4:2/154: #0: ffff888015396138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x794/0x1270 kernel/workqueue.c:2279 #1: ffffc90001fffd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7da/0x1270 kernel/workqueue.c:2281 #2: ffff88801d47a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x20f/0x1180 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff888071a31768 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x23c/0x1180 fs/xfs/libxfs/xfs_bmap.c:4578 #4: ffffc90000dd0be0 ((&timer.timer)){+.-.}-{0:0}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #5: ffff8880b9b39298 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x56d/0xdc0 #6: ffff888014dcc358 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xae/0x1300 kernel/sched/core.c:4023 3 locks held by kworker/1:2/1065: 2 locks held by getty/3267: #0: ffff888023c47098 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900022a42e8 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 2 locks held by syz-executor317/3630: #0: ffff88801d47a0e0 ( &type->s_umount_key #43 ){+.+.}-{3:3} , at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffff888147a647d8 ( &bdi->wb_switch_rwsem ){+.+.}-{3:3} , at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] , at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2743 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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+0xf54/0xfa0 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: 1065 Comm: kworker/1:2 Not tainted 5.15.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-buf/loop0 xfs_buf_ioend_work RIP: 0010:lockdep_softirqs_off+0x307/0x420 kernel/locking/lockdep.c:4439 Code: bc e3 8d e8 0b 66 67 00 e9 95 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c c4 fd ff ff 48 89 df e8 ee 65 67 00 e9 b7 fd ff ff <48> c7 c1 a0 af 3a 91 80 e1 07 80 c1 03 38 c1 0f 8c c3 fd ff ff 48 RSP: 0018:ffffc90000dd0c80 EFLAGS: 00000002 RAX: 0000000000000004 RBX: ffff88801be2441c RCX: 1ffff920001ba1d4 RDX: 1ffff110037c4745 RSI: 0000000000000100 RDI: ffffffff814d9505 RBP: ffffc90000dd0d30 R08: ffffffff8f5b6040 R09: ffffffff8f5b6048 R10: ffffffff8f5b6058 R11: ffffffff8f5b6050 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff920001ba194 R15: ffff88801be23a00 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa359472990 CR3: 0000000022fab000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __local_bh_disable_ip+0xf7/0x210 kernel/softirq.c:323 softirq_handle_begin kernel/softirq.c:396 [inline] __do_softirq+0x114/0xa10 kernel/softirq.c:534 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909 Code: 0f 84 75 ff ff ff e8 54 0d 1a 00 fb 31 db eb 41 e8 4a 0d 1a 00 e8 65 6d bc 08 4d 85 ed 74 cd e8 3b 0d 1a 00 fb bb 01 00 00 00 <48> c7 c7 e0 8a 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90004d77860 EFLAGS: 00000293 RAX: ffffffff81666b95 RBX: 0000000000000001 RCX: ffff88801be23a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004d77930 R08: ffffffff81666b4e R09: fffffbfff1f7662e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009aef0c R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xa1/0x150 kernel/printk/printk.c:2267 _printk+0xd1/0x111 kernel/printk/printk.c:2289 __xfs_printk fs/xfs/xfs_message.c:24 [inline] xfs_alert_tag+0x1d0/0x2e0 fs/xfs/xfs_message.c:82 xfs_buf_verifier_error+0x14e/0x290 fs/xfs/xfs_error.c:402 xfs_allocbt_read_verify+0x52/0xc0 xfs_buf_ioend+0x327/0x7e0 fs/xfs/xfs_buf.c:1263 process_one_work+0x90d/0x1270 kernel/workqueue.c:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.476 msecs