INFO: task syz.0.478:8776 blocked for more than 143 seconds. Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.478 state:D stack:23352 pid:8776 tgid:8775 ppid:5846 task_flags:0x440140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5351 [inline] __schedule+0x1737/0x4d30 kernel/sched/core.c:6954 __schedule_loop kernel/sched/core.c:7036 [inline] schedule+0x165/0x360 kernel/sched/core.c:7051 xlog_grant_head_wait+0x453/0xa20 fs/xfs/xfs_log.c:267 xlog_grant_head_check+0x286/0x420 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x2cc/0x780 fs/xfs/xfs_log.c:437 xfs_trans_reserve+0x20b/0x640 fs/xfs/xfs_trans.c:196 xfs_trans_alloc+0x3c9/0x790 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 xfs_attr_set+0x7fa/0x1210 fs/xfs/libxfs/xfs_attr.c:1098 xfs_xattr_set+0x14d/0x250 fs/xfs/xfs_xattr.c:186 __vfs_setxattr+0x439/0x480 fs/xattr.c:200 __vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x274/0x600 fs/xattr.c:665 path_setxattrat+0x364/0x3a0 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6862f8e9a9 RSP: 002b:00007f6863e70038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f68631b5fa0 RCX: 00007f6862f8e9a9 RDX: 0000200000000040 RSI: 00002000000000c0 RDI: 0000200000000100 RBP: 00007f6863010d69 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f68631b5fa0 R15: 00007fff5a833b68 INFO: task syz.0.478:8820 blocked for more than 145 seconds. Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.478 state:D stack:28472 pid:8820 tgid:8775 ppid:5846 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5351 [inline] __schedule+0x1737/0x4d30 kernel/sched/core.c:6954 __schedule_loop kernel/sched/core.c:7036 [inline] schedule+0x165/0x360 kernel/sched/core.c:7051 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7108 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1187 __down_write_common kernel/locking/rwsem.c:1319 [inline] __down_write kernel/locking/rwsem.c:1328 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1593 inode_lock include/linux/fs.h:869 [inline] vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x274/0x600 fs/xattr.c:665 path_setxattrat+0x364/0x3a0 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6862f8e9a9 RSP: 002b:00007f6863dce038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f68631b6080 RCX: 00007f6862f8e9a9 RDX: 0000200000000240 RSI: 0000200000000040 RDI: 0000200000000000 RBP: 00007f6863010d69 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000025 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f68631b6080 R15: 00007fff5a833b68 Showing all locks held in the system: 2 locks held by kworker/1:0/24: 1 lock held by khungtaskd/31: #0: ffffffff8e13d8a0 ( rcu_read_lock ){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] , at: rcu_read_lock include/linux/rcupdate.h:841 [inline] , at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5604: #0: ffff88814d24e0a0 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036bb2f0 ( &ldata->atomic_read_lock ){+.+.}-{4:4} , at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by kworker/0:4/5905: #0: ffff888079983948 ( (wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] (wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319 #1: ffffc90004897bc0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90004897bc0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319 1 lock held by syz-executor/8720: #0: ffffffff8e143338 ( rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 3 locks held by syz.0.478/8776: #0: ffff88802f07a428 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff8880502c9a70 ( &sb->s_type->i_mutex_key#21){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] &sb->s_type->i_mutex_key#21){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88802f07a618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 2 locks held by syz.0.478/8820: #0: ffff88802f07a428 ( sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff8880502c9a70 (&sb->s_type->i_mutex_key#21){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff8880502c9a70 (&sb->s_type->i_mutex_key#21){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 2 locks held by dhcpcd/11527: #0: ffff888066d3a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888066d3a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 #1: ffffffff8e143338 ( rcu_state.exp_mutex ){+.+.}-{4:4} , at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] , at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 1 lock held by dhcpcd/11529: #0: ffff888053cc1408 ( &sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] &sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:648 [inline] &sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1439 1 lock held by dhcpcd/11530: #0: ffff88807c64e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88807c64e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11531: #0: ffff88804fb06258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88804fb06258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11533: #0: ffff888026a90258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11534: #0: ffff888026a92258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] ffff888026a92258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11539: #0: ffff888024c10258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888024c10258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11540: #0: ffff88802d732258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88802d732258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11542: #0: ffff88805268a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88805268a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 1 lock held by dhcpcd/11543: #0: ffff888031ace258 (sk_lock-AF_PACKET ){+.+.}-{0:0} , at: lock_sock include/net/sock.h:1667 [inline] , at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3251 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xf93/0xfe0 kernel/hung_task.c:491 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8720 Comm: syz-executor Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:wq_watchdog_touch+0x27/0x180 kernel/workqueue.c:7610 Code: 90 90 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 89 fb 49 bf 00 00 00 00 00 fc ff df e8 81 aa 34 00 4c 6b 25 49 3b 73 0c 64 <4c> 8b 2d 62 3b 73 0c 48 c7 c0 00 12 e1 8d 48 c1 e8 03 42 80 3c 38 RSP: 0018:ffffc9000adbf4a0 EFLAGS: 00000002 RAX: ffffffff818b068f RBX: 0000000000000001 RCX: ffff88807e30da00 RDX: 0000000000000000 RSI: ffffffff8be34660 RDI: 0000000000000001 RBP: ffffffff99e366f0 R08: ffff888024248237 R09: 1ffff11004849046 R10: dffffc0000000000 R11: ffffffff8b76f580 R12: 00000000000036b0 R13: 00000000ffffffff R14: dffffc0000000000 R15: dffffc0000000000 FS: 000055555d884500(0000) GS:ffff888125ce3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eb4158f660 CR3: 00000000283f4000 CR4: 00000000003526f0 Call Trace: touch_nmi_watchdog include/linux/nmi.h:149 [inline] wait_for_lsr+0x16a/0x2f0 drivers/tty/serial/8250/8250_port.c:1991 fifo_wait_for_lsr drivers/tty/serial/8250/8250_port.c:3288 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3311 [inline] serial8250_console_write+0x134c/0x1ba0 drivers/tty/serial/8250/8250_port.c:3396 console_emit_next_record kernel/printk/printk.c:3138 [inline] console_flush_all+0x725/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 _printk+0xcf/0x120 kernel/printk/printk.c:2475 _btrfs_printk+0x562/0x5b0 fs/btrfs/messages.c:248 btrfs_put_super+0x113/0x1b0 fs/btrfs/super.c:73 generic_shutdown_super+0x132/0x2c0 fs/super.c:643 kill_anon_super+0x3b/0x70 fs/super.c:1282 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2114 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:208 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffa2718fcd7 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff4ae32838 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007ffa27210b55 RCX: 00007ffa2718fcd7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff4ae328f0 RBP: 00007fff4ae328f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff4ae33980 R13: 00007ffa27210b55 R14: 00000000000686b4 R15: 00007fff4ae339c0