INFO: task syz-executor.0:3702 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24448 pid: 3702 ppid: 3685 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 xlog_grant_head_wait+0x317/0x530 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x2c8/0x4e0 xfs_log_reserve+0x360/0x7a0 fs/xfs/xfs_log.c:486 xlog_unmount_write fs/xfs/xfs_log.c:975 [inline] xfs_log_unmount_write fs/xfs/xfs_log.c:1046 [inline] xfs_log_clean+0x429/0xb90 fs/xfs/xfs_log.c:1098 xfs_log_unmount fs/xfs/xfs_log.c:1112 [inline] xfs_log_mount_cancel+0x4d/0xe0 fs/xfs/xfs_log.c:871 xfs_mountfs+0x163e/0x20c0 fs/xfs/xfs_mount.c:1003 xfs_fs_fill_super+0xf95/0x11f0 fs/xfs/xfs_super.c:1660 get_tree_bdev+0x400/0x620 fs/super.c:1323 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4652da RSP: 002b:00007f644ba8ffa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00646975756f6e2c RCX: 00000000004652da RDX: 00007f644ba90010 RSI: 0000000020000000 RDI: 00007f644ba90030 RBP: 00007f644ba90070 R08: 00007f644ba90070 R09: 00007f644ba90010 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f644ba906bc R14: 00000000ffffffff R15: 0000000000000007 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cd20a70 (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: ffffffff8cd21270 (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: ffffffff8cd208a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3286: #0: ffff88807f010098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/3702: #0: ffff88807b40c0e0 (&type->s_umount_key#47/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__kasan_check_read+0x6/0x10 mm/kasan/shadow.c:31 Code: 0c 31 db 48 c7 c7 5d 97 60 8c 4c 89 fe 31 c0 e8 f7 2b 5a 08 eb d3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 89 f6 48 8b 0c 24 <31> d2 e9 03 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 RSP: 0018:ffffc90000107698 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888140160668 RCX: ffffffff813df397 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888140160668 RBP: ffffc90000107790 R08: ffffffff813debc7 R09: fffffbfff1f311b2 R10: fffffbfff1f311b2 R11: 1ffffffff1f311b1 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8cdf7a40 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560f8fa77018 CR3: 0000000012308000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:390 [inline] switch_mm_irqs_off+0x207/0x8f0 arch/x86/mm/tlb.c:606 unuse_temporary_mm arch/x86/kernel/alternative.c:1055 [inline] __text_poke+0x749/0x9d0 arch/x86/kernel/alternative.c:1165 text_poke arch/x86/kernel/alternative.c:1208 [inline] text_poke_bp_batch+0x6bc/0x970 arch/x86/kernel/alternative.c:1554 text_poke_flush arch/x86/kernel/alternative.c:1660 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30