INFO: task syz-executor.3:13071 blocked for more than 143 seconds. Not tainted 5.15.134-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20696 pid:13071 ppid: 1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 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:1414 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:0x7f32c1fcee17 RSP: 002b:00007ffd46dd03a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f32c1fcee17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffd46dd0460 RBP: 00007ffd46dd0460 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd46dd1520 R13: 00007f32c20183b9 R14: 000000000014f924 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3261: #0: ffff888023db5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 4 locks held by kworker/u4:14/3892: #0: ffff8881427ee938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900011efd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88807b200650 (sb_internal#4){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x20f/0x1180 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff888097a03ce8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x23c/0x1180 fs/xfs/libxfs/xfs_bmap.c:4578 5 locks held by kworker/1:11/6262: 2 locks held by syz-executor.3/13071: #0: ffff88807b2000e0 (&type->s_umount_key#93){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffff88814783a7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88814783a7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2746 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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: 6262 Comm: kworker/1:11 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: xfs-buf/loop3 xfs_buf_ioend_work RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:212 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 1f ee f1 02 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90000dd0e60 EFLAGS: 00000046 RAX: 00000000000937a6 RBX: ffffffff8c3509a8 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000937a6 RDI: 0000000000000838 RBP: 00000000000937a6 R08: ffffffff81723dfd R09: fffffbfff1bc8296 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9b27240 R13: dffffc0000000000 R14: 00000000000937a6 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563ac4bc0600 CR3: 0000000021d74000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:468 clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 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 64 05 1a 00 fb 31 db eb 41 e8 5a 05 1a 00 e8 15 3c b6 08 4d 85 ed 74 cd e8 4b 05 1a 00 fb bb 01 00 00 00 <48> c7 c7 a0 b8 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc9000b577740 EFLAGS: 00000293 RAX: ffffffff81661c95 RBX: 0000000000000001 RCX: ffff888094fe9dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b577810 R08: ffffffff81661c4e R09: fffffbfff1f7b25a R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920016aeee8 R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2267 _printk+0xd1/0x111 kernel/printk/printk.c:2293 print_hex_dump+0x1a2/0x250 lib/hexdump.c:285 xfs_hex_dump+0x39/0x50 fs/xfs/xfs_message.c:118 xfs_buf_verifier_error+0x1bc/0x290 fs/xfs/xfs_error.c:413 xfs_agfl_read_verify+0x1e3/0x290 fs/xfs/libxfs/xfs_alloc.c:645 xfs_buf_ioend+0x26a/0x6e0 fs/xfs/xfs_buf.c:1263 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298