INFO: task syz.0.15:5002 blocked for more than 143 seconds. Not tainted 5.15.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:24640 pid: 5002 ppid: 4735 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x359/0x810 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x25e/0x380 include/linux/spinlock.h:-1 xfs_log_reserve+0x32d/0x970 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x222/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x3fc/0x780 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x778/0x1290 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x115/0x210 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x3e0/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x129/0x5e0 fs/xattr.c:216 vfs_setxattr+0x168/0x2f0 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x2da/0x300 fs/xattr.c:611 path_setxattr+0x142/0x280 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fccf8cbe9f9 RSP: 002b:00007fccf7f45038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fccf8e4cf80 RCX: 00007fccf8cbe9f9 RDX: 0000000020000100 RSI: 0000000020000340 RDI: 0000000020000040 RBP: 00007fccf8d2c8ee R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fc21 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fccf8e4cf80 R15: 00007ffec07d55a8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3932: #0: ffff88814d9d1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:20/4635: #0: ffff88807ad3fd38 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002fdfd00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by syz.0.15/5002: #0: ffff888074926460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377 #1: ffff88805ed40300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff88805ed40300 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302 #2: ffff888074926650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047 1 lock held by syz.0.313/5632: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/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+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5634 Comm: syz.0.314 Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x60 kernel/kcov.c:206 Code: 74 ae 8a 7e 65 8b 15 75 ae 8a 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 <83> fa 02 75 21 48 8b 91 18 16 00 00 48 8b 32 48 8d 7e 01 8b 89 14 RSP: 0000:ffffc90005d47ee8 EFLAGS: 00000046 RAX: ffffffff817dddc0 RBX: ffffffff89a1393a RCX: ffff88801f64d940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003ec9b29 R10: ffffed1003ec9b29 R11: 1ffff11003ec9b28 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000004 R15: 00007f7f80746000 FS: 00007f7f88adc6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f80746000 CR3: 000000001e22c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] static_key_false include/linux/jump_label.h:212 [inline] trace_irq_enable include/trace/events/preemptirq.h:40 [inline] trace_hardirqs_on_prepare+0x60/0x1f0 kernel/trace/trace_preemptirq.c:32 __exit_to_user_mode kernel/entry/common.c:132 [inline] irqentry_exit_to_user_mode+0xa/0x30 kernel/entry/common.c:322 exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7f7f89719c06 Code: f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 <47> 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 RSP: 002b:00007f7f88adb4a0 EFLAGS: 00010206 RAX: 000000000008a001 RBX: 00007f7f88adb540 RCX: 00000000000000c4 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f7f88adb5e0 RBP: 0000000000000102 R08: 00007f7f806bc000 R09: 000000000008a000 R10: 0000000000000000 R11: 00007f7f88adb550 R12: 0000000000000001 R13: 00007f7f898d64e0 R14: 0000000000000000 R15: 00007f7f88adb5e0