INFO: task syz.4.78:6398 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.78 state:D stack:28936 pid:6398 tgid:6355 ppid:5848 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 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:979 [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:0x7ff01db8eec9 RSP: 002b:00007ff01ea1a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007ff01dde6180 RCX: 00007ff01db8eec9 RDX: 0000200000000200 RSI: 00002000000001c0 RDI: 0000200000000000 RBP: 00007ff01dc11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000841 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff01dde6218 R14: 00007ff01dde6180 R15: 00007ffc56be23e8 Showing all locks held in the system: 2 locks held by kworker/0:1/10: 2 locks held by kworker/u8:0/12: 2 locks held by kworker/u8:1/13: 1 lock held by khungtaskd/31: #0: ffffffff8dd3b160 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8dd3b160 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8dd3b160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by kworker/u8:5/1003: #0: ffff888144aa6148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888144aa6148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000390fbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000390fbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 2 locks held by getty/5594: #0: ffff88802fc1f0a0 (&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 1 lock held by syz-executor/5831: #0: ffffffff8dd40bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #0: ffffffff8dd40bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 4 locks held by syz.4.78/6394: #0: ffff8880323f6428 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff888057f83030 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:979 [inline] #1: ffff888057f83030 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff8880323f6618 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xd7/0x980 fs/xfs/xfs_trans.c:256 #3: ffff888057f82e18 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1082 2 locks held by syz.4.78/6398: #0: ffff8880323f6428 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff888057f83030 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:979 [inline] #1: ffff888057f83030 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 2 locks held by syz.9.497/8142: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x439/0x7d0 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: 6223 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:xas_reload+0x20/0x470 include/linux/xarray.h:1616 Code: 90 90 90 90 90 90 90 90 90 90 55 41 57 41 56 41 55 41 54 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 34 db c7 ff 49 8d 5e 18 <48> 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 1b 7c 2d 00 4c RSP: 0018:ffffc9000b4a7508 EFLAGS: 00000293 RAX: ffffffff81f6a36c RBX: ffffc9000b4a75f8 RCX: ffff8880792a9e40 RDX: 0000000000000000 RSI: ffffffff8d6efc5f RDI: ffffc9000b4a75e0 RBP: dffffc0000000000 R08: ffffea000117def7 R09: 1ffffd400022fbde R10: dffffc0000000000 R11: fffff9400022fbdf R12: ffffea000117dec0 R13: fffffffffffffffe R14: ffffc9000b4a75e0 R15: ffffea000117dec0 FS: 000055558d81b500(0000) GS:ffff888126496000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558d83e608 CR3: 000000004b017000 CR4: 0000000000350ef0 Call Trace: find_get_entry mm/filemap.c:2067 [inline] find_lock_entries+0x25b/0xa60 mm/filemap.c:2154 shmem_undo_range+0x254/0x14b0 mm/shmem.c:1102 shmem_truncate_range mm/shmem.c:1232 [inline] shmem_evict_inode+0x272/0xa70 mm/shmem.c:1360 evict+0x504/0x9c0 fs/inode.c:810 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x68e/0xa70 fs/file_table.c:476 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+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [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:0x7f517e18db2a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007fffc7667bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f517e18db2a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fffc7667c0c R08: 0000000000000000 R09: 00007fffc7667917 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000046 R13: 000055558d82e590 R14: 00000000000468fb R15: 00007fffc7667c60