INFO: task syz-executor.4:8799 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00026-g7ed2632ec7d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:20176 pid:8799 tgid:8799 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2758 sync_filesystem+0x16f/0x220 fs/sync.c:64 generic_shutdown_super+0x72/0x2c0 fs/super.c:625 kill_block_super+0x44/0x90 fs/super.c:1680 xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2019 deactivate_locked_super+0xc1/0x130 fs/super.c:477 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x167/0x370 kernel/entry/common.c:212 do_syscall_64+0x102/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f08c007e0d7 RSP: 002b:00007ffe99232eb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f08c007e0d7 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe99232f70 RBP: 00007ffe99232f70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe99234030 R13: 00007f08c00c83b9 R14: 0000000000197eef R15: 0000000000000007 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:4/56: #0: ffff8880b993c918 ( &rq->__lock ){-.-.}-{2:2} , at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffffc90001427d20 ( (work_completion)(&(&kfence_timer)->work) ){+.+.}-{0:0} , at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 4 locks held by kworker/u4:10/2891: #0: ffff8880176cd938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:2608 [inline] , at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000a43fd20 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:2608 [inline] , at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88803c792610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1320 fs/xfs/libxfs/xfs_bmap.c:4542 #3: ffff88803c2c4e98 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x295/0x1320 fs/xfs/libxfs/xfs_bmap.c:4547 1 lock held by klogd/4491: 2 locks held by getty/4809: #0: ffff8880291ab0a0 (&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 4 locks held by kworker/1:6/5142: 2 locks held by syz-executor.4/8799: #0: ffff88803c7920e0 ( &type->s_umount_key #54 ){++++}-{3:3} , at: __super_lock fs/super.c:56 [inline] , at: __super_lock_excl fs/super.c:71 [inline] , at: deactivate_super+0xad/0xf0 fs/super.c:509 #1: ffff88801e58a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff88801e58a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00026-g7ed2632ec7d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5142 Comm: kworker/1:6 Not tainted 6.8.0-rc1-syzkaller-00026-g7ed2632ec7d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: xfs-buf/loop4 xfs_buf_ioend_work RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 01 0f 84 47 ff ff ff 48 ff c8 48 39 d8 0f 84 3b ff ff ff 48 89 df 48 c7 c6 d0 87 14 8d e8 33 86 e6 ff 90 0f 0b 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc900001f05d8 EFLAGS: 00000046 RAX: ffffc900001f0ad8 RBX: 0000000000000010 RCX: ffffffff813e209c RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc900001f0730 RBP: ffffc900001f0730 R08: ffffffff813e1d8e R09: ffffffff813e1ce7 R10: 0000000000000003 R11: ffff888021f90000 R12: ffffc900001f0ad0 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff9200003e0dc FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555e58b53188 CR3: 000000002d66f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __asan_memset+0x23/0x40 mm/kasan/shadow.c:84 unwind_next_frame+0x13ac/0x29e0 arch/x86/kernel/unwind_orc.c:592 arch_stack_walk+0x146/0x1a0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xae/0x100 mm/kasan/generic.c:586 insert_work+0x3e/0x330 kernel/workqueue.c:1653 __queue_work+0xbf4/0x1000 kernel/workqueue.c:1802 call_timer_fn+0x17a/0x5f0 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1746 [inline] __run_timers+0x64d/0x830 kernel/time/timer.c:2038 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2051 __do_softirq+0x2b8/0x939 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu+0xf1/0x1b0 kernel/softirq.c:632 irq_exit_rcu+0x9/0x20 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x97/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1975 [inline] RIP: 0010:vprintk_emit+0x4e6/0x720 kernel/printk/printk.c:2302 Code: 21 e3 0f 85 a6 01 00 00 e8 d7 ce 1d 00 44 8b 24 24 4d 85 ff 75 07 e8 c9 ce 1d 00 eb 06 e8 c2 ce 1d 00 fb 48 c7 c7 c0 aa 80 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 31 RSP: 0018:ffffc90004a67700 EFLAGS: 00000293 RAX: ffffffff81712b5e RBX: 0000000000000000 RCX: ffff888021f90000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d80aac0 RBP: ffffc90004a677f0 R08: ffffffff81712b3b R09: 1ffffffff21bee9b R10: dffffc0000000000 R11: fffffbfff21bee9c R12: 000000000000004b R13: dffffc0000000000 R14: ffffffff817129bd R15: 0000000000000200 _printk+0xd5/0x120 kernel/printk/printk.c:2328 print_hex_dump+0x1a6/0x250 lib/hexdump.c:285 xfs_hex_dump+0x3d/0x50 fs/xfs/xfs_message.c:110 xfs_buf_verifier_error+0x1ce/0x2a0 fs/xfs/xfs_error.c:460 xfs_agf_read_verify+0x200/0x2b0 fs/xfs/libxfs/xfs_alloc.c:3213 xfs_buf_ioend+0x270/0x700 fs/xfs/xfs_buf.c:1309 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 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