INFO: task syz-executor311:5068 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor311 state:D stack:20840 pid:5068 ppid:5065 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 xlog_grant_head_wait+0x317/0x530 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x28c/0x470 xfs_log_reserve+0x310/0x6f0 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x231/0x690 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x410/0x610 fs/xfs/xfs_trans.c:283 xfs_sync_sb+0x89/0x170 fs/xfs/libxfs/xfs_sb.c:1005 xfs_log_cover fs/xfs/xfs_log.c:1300 [inline] xfs_log_quiesce+0x396/0x660 fs/xfs/xfs_log.c:1109 xfs_log_clean+0xa0/0x970 fs/xfs/xfs_log.c:1116 xfs_log_unmount+0x28/0x1d0 fs/xfs/xfs_log.c:1131 xfs_unmountfs+0x1d6/0x280 fs/xfs/xfs_mount.c:1096 xfs_fs_put_super+0x72/0x2d0 fs/xfs/xfs_super.c:1115 generic_shutdown_super+0x130/0x310 fs/super.c:492 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 ptrace_notify+0x29a/0x340 kernel/signal.c:2354 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:251 syscall_exit_to_user_mode_prepare+0x63/0xc0 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbf76958c17 RSP: 002b:00007ffc10105898 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fbf76958c17 RDX: 00007ffc10105959 RSI: 000000000000000a RDI: 00007ffc10105950 RBP: 00007ffc10105950 R08: 00000000ffffffff R09: 00007ffc10105730 R10: 0000555555f88653 R11: 0000000000000202 R12: 00007ffc101069b0 R13: 0000555555f885f0 R14: 00007ffc101058c0 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326e90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4751: #0: ffff88802c693098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor311/5068: #0: ffff88802076a0e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x33/0xa0 kernel/kcov.c:311 Code: 40 98 03 00 65 8b 0d 04 b8 77 7e f7 c1 00 01 ff 00 74 11 f7 c1 00 01 00 00 74 76 83 ba 6c 15 00 00 00 74 6d 8b 8a 48 15 00 00 <83> f9 03 75 62 48 8b 8a 50 15 00 00 44 8b 8a 4c 15 00 00 49 c1 e1 RSP: 0018:ffffc90000b777c0 EFLAGS: 00000246 RAX: 1ffff1100250cb55 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888018319d40 RSI: 0000000000000000 RDI: 0000000000000080 RBP: 0000000012865007 R08: ffffffff81cba417 R09: fffff9400000f049 R10: fffff9400000f049 R11: 1ffffd400000f048 R12: 1ffff1100250c8aa R13: dffffc0000000000 R14: ffff888012868000 R15: ffff888012865aa8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005609aaa09d90 CR3: 000000000d08e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pmd_trans_huge arch/x86/include/asm/pgtable.h:237 [inline] walk_to_pmd+0x187/0x240 mm/memory.c:1794 __get_locked_pte+0x24/0x1c0 mm/memory.c:1801 get_locked_pte include/linux/mm.h:2294 [inline] __text_poke+0x228/0x900 arch/x86/kernel/alternative.c:1586 text_poke arch/x86/kernel/alternative.c:1671 [inline] text_poke_bp_batch+0x64c/0x850 arch/x86/kernel/alternative.c:2027 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:205 static_key_enable+0x16/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb1/0x240 mm/kfence/core.c:799 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308