INFO: task syz.7.1249:11494 blocked for more than 143 seconds. Not tainted 6.16.0-rc4-next-20250704-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.1249 state:D stack:27768 pid:11494 tgid:11441 ppid:10820 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5318 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6701 __schedule_loop kernel/sched/core.c:6779 [inline] schedule+0x165/0x360 kernel/sched/core.c:6794 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6851 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 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:0x7f4ac858e929 RSP: 002b:00007f4ac94bb038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f4ac87b6080 RCX: 00007f4ac858e929 RDX: 00002000000013c0 RSI: 0000200000000140 RDI: 0000200000000100 RBP: 00007f4ac8610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f4ac87b6080 R15: 00007ffe14b2bf28 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 6 locks held by kworker/1:2/3092: 2 locks held by getty/5604: #0: ffff88803498e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 4 locks held by syz.7.1249/11442: #0: ffff8880586ea428 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88804fbe0af0 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff88804fbe0af0 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff8880586ea618 (sb_internal#2){.+.+}-{0:0} , at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff88804fbe08d8 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 2 locks held by syz.7.1249/11494: #0: ffff8880586ea428 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88804fbe0af0 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff88804fbe0af0 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc4-next-20250704-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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/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: 13385 Comm: syz.8.1719 Not tainted 6.16.0-rc4-next-20250704-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:lock_release+0x20/0x3e0 kernel/locking/lockdep.c:5879 Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 30 49 89 f5 49 89 fe 65 48 8b 05 80 d8 05 11 <48> 89 44 24 28 0f 1f 44 00 00 65 8b 05 83 d8 05 11 83 f8 08 0f 83 RSP: 0018:ffffc9000be072b0 EFLAGS: 00000282 RAX: 38023c41d669ba00 RBX: ffffffff822f794a RCX: ffff888025bbbc00 RDX: 0000000000000000 RSI: ffffffff822f794a RDI: ffffffff8e13c020 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff822f794a R10: dffffc0000000000 R11: fffff94000233d29 R12: dffffc0000000000 R13: ffffffff822f794a R14: ffffffff8e13c020 R15: ffff88813fffa500 FS: 0000000000000000(0000) GS:ffff888125ce7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fde09fa6f98 CR3: 000000000df36000 CR4: 00000000003526f0 Call Trace: rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock_sched include/linux/rcupdate.h:953 [inline] pfn_valid+0x3b2/0x490 include/linux/mmzone.h:2172 page_table_check_clear+0x21/0x700 mm/page_table_check.c:70 ptep_get_and_clear_full arch/x86/include/asm/jump_label.h:-1 [inline] get_and_clear_full_ptes include/linux/pgtable.h:725 [inline] zap_present_folio_ptes mm/memory.c:1509 [inline] zap_present_ptes mm/memory.c:1594 [inline] do_zap_pte_range mm/memory.c:1695 [inline] zap_pte_range mm/memory.c:1739 [inline] zap_pmd_range mm/memory.c:1831 [inline] zap_pud_range mm/memory.c:1860 [inline] zap_p4d_range mm/memory.c:1881 [inline] unmap_page_range+0x344e/0x4380 mm/memory.c:1902 unmap_single_vma mm/memory.c:1945 [inline] unmap_vmas+0x399/0x580 mm/memory.c:1989 exit_mmap+0x248/0xb50 mm/mmap.c:1283 __mmput+0x118/0x420 kernel/fork.c:1120 exit_mm+0x1da/0x2c0 kernel/exit.c:581 do_exit+0x648/0x2300 kernel/exit.c:947 do_group_exit+0x21c/0x2d0 kernel/exit.c:1100 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40 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:0x7fde0918e929 Code: Unable to access opcode bytes at 0x7fde0918e8ff. RSP: 002b:00007fde09fa7038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007fde093b6080 RCX: 00007fde0918e929 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005 RBP: 00007fde09210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fde093b6080 R15: 00007ffde1fb3618