INFO: task syz-executor.1:7427 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25888 pid:7427 ppid:5407 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 __wait_on_freeing_inode+0xf1/0x140 fs/inode.c:2272 find_inode_fast+0x150/0x200 fs/inode.c:936 iget_locked+0xa2/0x700 fs/inode.c:1301 __ext4_iget+0x3ca/0x4300 fs/ext4/inode.c:4704 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1542 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1577 [inline] ext4_xattr_set_entry+0x1cf3/0x3ca0 fs/ext4/xattr.c:1719 ext4_xattr_block_set+0xcbf/0x30e0 fs/ext4/xattr.c:2039 ext4_xattr_set_handle+0xd6e/0x1420 fs/ext4/xattr.c:2456 ext4_xattr_set+0x149/0x370 fs/ext4/xattr.c:2558 __vfs_setxattr+0x173/0x1d0 fs/xattr.c:201 __vfs_setxattr_noperm+0x127/0x5e0 fs/xattr.c:235 __vfs_setxattr_locked+0x17e/0x250 fs/xattr.c:296 vfs_setxattr+0x146/0x350 fs/xattr.c:322 do_setxattr+0x142/0x170 fs/xattr.c:630 setxattr+0x159/0x170 fs/xattr.c:653 path_setxattr+0x1a3/0x1d0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5e0907cae9 RSP: 002b:00007f5e09ddc0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f5e0919c050 RCX: 00007f5e0907cae9 RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0 RBP: 00007f5e090c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5e0919c050 R15: 00007fff10a62f58 INFO: task syz-executor.1:7428 blocked for more than 144 seconds. Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26720 pid:7428 ppid:5407 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 mb_cache_entry_wait_unused+0x182/0x200 fs/mbcache.c:148 ext4_evict_ea_inode+0x190/0x2e0 fs/ext4/xattr.c:480 ext4_evict_inode+0x9c2/0x1a30 fs/ext4/inode.c:180 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput.part.0+0x55e/0x7a0 fs/inode.c:1801 iput+0x5c/0x80 fs/inode.c:1791 ext4_xattr_set_entry+0x721/0x3ca0 fs/ext4/xattr.c:1870 ext4_xattr_block_set+0x678/0x30e0 fs/ext4/xattr.c:1970 ext4_xattr_set_handle+0xd6e/0x1420 fs/ext4/xattr.c:2456 ext4_xattr_set+0x149/0x370 fs/ext4/xattr.c:2558 __vfs_setxattr+0x173/0x1d0 fs/xattr.c:201 __vfs_setxattr_noperm+0x127/0x5e0 fs/xattr.c:235 __vfs_setxattr_locked+0x17e/0x250 fs/xattr.c:296 vfs_setxattr+0x146/0x350 fs/xattr.c:322 do_setxattr+0x142/0x170 fs/xattr.c:630 setxattr+0x159/0x170 fs/xattr.c:653 path_setxattr+0x1a3/0x1d0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5e0907cae9 RSP: 002b:00007f5e09dbb0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f5e0919c120 RCX: 00007f5e0907cae9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 00000000200001c0 RBP: 00007f5e090c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5e0919c120 R15: 00007fff10a62f58 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8cbb31f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8cbb31f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:1/11: #0: ffff888012c77938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 1 lock held by khungtaskd/28: #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by kworker/u4:7/1262: #0: ffff888012c77938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 2 locks held by getty/4790: #0: ffff88814bf490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020682f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 2 locks held by kworker/0:6/5522: #0: ffff888012c7b938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90003b4fd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 3 locks held by syz-executor.1/7427: #0: ffff888026aec410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670 #1: ffff8880659a9840 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff8880659a9840 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321 #2: ffff8880659a9508 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880659a9508 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371 3 locks held by syz-executor.1/7428: #0: ffff888026aec410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670 #1: ffff888065b68700 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888065b68700 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321 #2: ffff888065b683c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888065b683c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371 3 locks held by syz-executor.2/7609: #0: ffff88804ddb8410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670 #1: ffff888062ba14c0 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888062ba14c0 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321 #2: ffff888062ba1188 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888062ba1188 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371 3 locks held by syz-executor.2/7611: #0: ffff88804ddb8410 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670 #1: ffff888062ba4780 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888062ba4780 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321 #2: ffff888062ba4448 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888062ba4448 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371 1 lock held by udevd/7659: 1 lock held by udevd/7661: 1 lock held by udevd/7692: 2 locks held by udevd/7693: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 780 Comm: kworker/1:2 Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events free_obj_work RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xb/0x70 kernel/kcov.c:207 Code: 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 ed f7 7c 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 00 bd 03 00 a9 RSP: 0018:ffffc9000458f840 EFLAGS: 00000082 RAX: 0000000080000000 RBX: ffffffff8154ae94 RCX: ffffffff813205bb RDX: ffff88801d7b6180 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffffc9000458f8e0 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff8154ae94 R11: 0000000000000000 R12: ffffc9000458f850 R13: ffffffff81746a50 R14: ffffc9000458f910 R15: ffff88801d7b6180 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563e28e3f3a8 CR3: 0000000066b87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xd5/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x138/0x190 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] __cache_free mm/slab.c:3370 [inline] __do_kmem_cache_free mm/slab.c:3557 [inline] kmem_cache_free+0x104/0x380 mm/slab.c:3582 free_obj_work+0x33d/0x630 lib/debugobjects.c:331 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304