INFO: task syz.3.2059:15022 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.3.2059 state:D stack:24328 pid:15022 tgid:15014 ppid:14747 task_flags:0x400140 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 __wait_on_freeing_inode+0x1c5/0x2f0 fs/inode.c:2453 find_inode_fast+0x2b0/0x470 fs/inode.c:1070 iget_locked+0x99/0x570 fs/inode.c:1426 __ext4_iget+0x242/0x41c0 fs/ext4/inode.c:5238 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1540 [inline] ext4_xattr_inode_lookup_create+0x433/0x1c20 fs/ext4/xattr.c:1579 ext4_xattr_block_set+0x223/0x2ac0 fs/ext4/xattr.c:1908 ext4_xattr_set_handle+0xdfb/0x1590 fs/ext4/xattr.c:2447 ext4_xattr_set+0x230/0x320 fs/ext4/xattr.c:2549 __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_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:0x7f0cbdb8e9a9 RSP: 002b:00007f0cbe9f4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f0cbddb6080 RCX: 00007f0cbdb8e9a9 RDX: 0000200000001400 RSI: 00002000000001c0 RDI: 0000200000000380 RBP: 00007f0cbdc10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0cbddb6080 R15: 00007fffcb1ec318 INFO: task syz.3.2059:15025 blocked for more than 146 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.3.2059 state:D stack:25800 pid:15025 tgid:15014 ppid:14747 task_flags:0x400140 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 mb_cache_entry_wait_unused+0x165/0x250 fs/mbcache.c:148 ext4_evict_ea_inode+0x14d/0x2f0 fs/ext4/xattr.c:477 ext4_evict_inode+0x16f/0xee0 fs/ext4/inode.c:183 evict+0x504/0x9c0 fs/inode.c:810 ext4_xattr_set_entry+0x12dc/0x1e20 fs/ext4/xattr.c:1839 ext4_xattr_block_set+0x61b/0x2ac0 fs/ext4/xattr.c:1951 ext4_xattr_set_handle+0xdfb/0x1590 fs/ext4/xattr.c:2447 ext4_xattr_set+0x230/0x320 fs/ext4/xattr.c:2549 __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_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:0x7f0cbdb8e9a9 RSP: 002b:00007f0cbe9d3038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f0cbddb6160 RCX: 00007f0cbdb8e9a9 RDX: 0000200000000000 RSI: 0000200000000080 RDI: 0000200000000180 RBP: 00007f0cbdc10d69 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f0cbddb6160 R15: 00007fffcb1ec318 Showing all locks held in the system: 2 locks held by ksoftirqd/0/15: 1 lock held by khungtaskd/31: #0: ffffffff8e13d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13d8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13d8a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5605: #0: ffff88814dcad0a0 (&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/14749: 2 locks held by syz-executor/14751: 3 locks held by syz.3.2059/15022: #0: ffff88805ff04428 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888054a433b0 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888054a433b0 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff888054a43098 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:157 [inline] #2: ffff888054a43098 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x165/0x1590 fs/ext4/xattr.c:2362 3 locks held by syz.3.2059/15025: #0: ffff88805ff04428 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff8880576f9700 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff8880576f9700 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff8880576f93e8 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:157 [inline] #2: ffff8880576f93e8 (&ei->xattr_sem){++++}-{4:4}, at: ext4_xattr_set_handle+0x165/0x1590 fs/ext4/xattr.c:2362 2 locks held by kworker/u8:15/15594: 2 locks held by syz.9.2406/16325: ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 15594 Comm: kworker/u8:15 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 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:unwind_next_frame+0x1174/0x2390 arch/x86/kernel/unwind_orc.c:641 Code: 8b 14 24 4d 89 65 00 41 0f b6 04 2f 84 c0 0f 85 f9 0f 00 00 c6 03 00 4c 8b 64 24 10 4c 8b 7c 24 28 48 8b 44 24 40 0f b6 04 28 <84> c0 0f 85 8a 0d 00 00 41 0f b6 04 2f 84 c0 0f 85 a1 0d 00 00 0f RSP: 0018:ffffc900033f74d8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc900033f75e0 RCX: 0000000000000000 RDX: ffffffff90910bea RSI: 0000000000000000 RDI: ffffc900033f7608 RBP: dffffc0000000000 R08: ffffc900033f7607 R09: 0000000000000000 R10: ffffc900033f75f8 R11: fffff5200067eec1 R12: ffffc900033f7a80 R13: ffffc900033f75f8 R14: ffffc900033f75a8 R15: 1ffffffff212217d FS: 0000000000000000(0000) GS:ffff888125be3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe12f87e6c CR3: 000000007b26e000 CR4: 00000000003526f0 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2417 [inline] slab_free mm/slub.c:4680 [inline] kmem_cache_free+0x18f/0x400 mm/slub.c:4782 nsim_dev_trap_report drivers/net/netdevsim/dev.c:834 [inline] nsim_dev_trap_report_work+0x7cf/0xb80 drivers/net/netdevsim/dev.c:864 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 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