INFO: task syz.2.879:11722 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.879 state:D stack:25608 pid:11722 tgid:11721 ppid:8030 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5360 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6964 __schedule_loop kernel/sched/core.c:7046 [inline] schedule+0x165/0x360 kernel/sched/core.c:7061 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7118 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:861 [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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9d9078ebe9 RSP: 002b:00007f9d91671038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f9d909c5fa0 RCX: 00007f9d9078ebe9 RDX: 0000200000000040 RSI: 0000200000000140 RDI: 0000200000000100 RBP: 00007f9d90811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9d909c6038 R14: 00007f9d909c5fa0 R15: 00007ffdd15d8d08 INFO: task syz.2.879:11748 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.879 state:D stack:27864 pid:11748 tgid:11721 ppid:8030 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5360 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6964 __schedule_loop kernel/sched/core.c:7046 [inline] schedule+0x165/0x360 kernel/sched/core.c:7061 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7118 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:861 [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/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9d9078ebe9 RSP: 002b:00007f9d91650038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f9d909c6090 RCX: 00007f9d9078ebe9 RDX: 0000200000000200 RSI: 00002000000001c0 RDI: 0000200000000000 RBP: 00007f9d90811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000841 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9d909c6128 R14: 00007f9d909c6090 R15: 00007ffdd15d8d08 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e33cf20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e33cf20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e33cf20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by getty/5622: #0: ffff88814c5db0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000331e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by kworker/u8:17/6307: #0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90003d3fba0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90003d3fba0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 2 locks held by syz.2.879/11722: #0: ffff88806ab44420 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:574 #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: inode_lock include/linux/fs.h:861 [inline] #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 2 locks held by syz.2.879/11748: #0: ffff88806ab44420 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:574 #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: inode_lock include/linux/fs.h:861 [inline] #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 4 locks held by syz.2.879/11749: #0: ffff88806ab44420 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:574 #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: inode_lock include/linux/fs.h:861 [inline] #1: ffff88804603a8b0 (&sb->s_type->i_mutex_key#31){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88806ab44610 (sb_internal#5){.+.+}-{0:0}, at: xfs_trans_alloc+0xd7/0x980 fs/xfs/xfs_trans.c:256 #3: ffff88804603a698 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1081 1 lock held by syz.9.1184/13390: #0: ffff888063e962a0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:330 [inline] #0: ffff888063e962a0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x211/0x4d0 mm/util.c:578 2 locks held by syz.9.1184/13394: 2 locks held by syz.1.1187/13397: #0: ffffffff8f73f848 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f73f848 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3433 #1: ffffffff8e3429b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #1: ffffffff8e3429b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 2 locks held by sed/13446: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x47c/0x820 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13449 Comm: sed Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:folio_test_workingset include/linux/page-flags.h:566 [inline] RIP: 0010:filemap_map_order0_folio mm/filemap.c:3737 [inline] RIP: 0010:filemap_map_pages+0xa9d/0x1740 mm/filemap.c:3806 Code: 0f 85 24 0b 00 00 48 89 df be 08 00 00 00 e8 3a 2d 2c 00 48 8b 84 24 a8 00 00 00 42 80 3c 28 00 74 08 48 89 df e8 b3 2a 2c 00 <45> 31 f6 48 8b 33 b8 00 02 00 00 48 21 c6 41 0f 94 c7 31 ff e8 7a RSP: 0000:ffffc90002f87a00 EFLAGS: 00000246 RAX: 1ffffd40009ff8f8 RBX: ffffea0004ffc7c0 RCX: ffffffff81f8a0f6 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0004ffc7c0 RBP: ffffc90002f87bd0 R08: ffffea0004ffc7c7 R09: 1ffffd40009ff8f8 R10: dffffc0000000000 R11: fffff940009ff8f9 R12: ffffea0004ffc7c0 R13: dffffc0000000000 R14: 1ffffd40009ff8fc R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881259f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0875125260 CR3: 0000000040676000 CR4: 00000000003526f0 Call Trace: do_fault_around mm/memory.c:5661 [inline] do_read_fault mm/memory.c:5694 [inline] do_fault mm/memory.c:5837 [inline] do_pte_missing mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:6182 [inline] __handle_mm_fault+0x347b/0x5400 mm/memory.c:6323 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6492 do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x82/0x100 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7f087510f270 Code: 00 00 0f b6 08 38 d1 74 e1 45 31 d2 eb 12 0f 1f 40 00 49 83 c2 01 49 83 fa 09 0f 84 6a ff ff ff 48 8d 05 f3 5f 01 00 4c 89 c1 <42> 8b 04 90 49 89 c1 49 c1 e1 04 49 01 c1 49 c1 e1 03 4a 8d 54 0d RSP: 002b:00007ffc2934bb30 EFLAGS: 00010246 RAX: 00007f0875125260 RBX: 00007f0875119b20 RCX: 00007ffc2934ce19 RDX: 0000000000000047 RSI: 00007ffc2934ce27 RDI: 00007f08751270a7 RBP: 00007f0875130300 R08: 00007ffc2934ce19 R09: 0000564b3ed7f040 R10: 0000000000000000 R11: 00007ffc2934bb50 R12: 00007ffc2934c1a8 R13: 00007f0875132da0 R14: 0000000000000000 R15: 00007ffc2934bb50