INFO: task syz-executor.5:16986 blocked for more than 144 seconds. Not tainted 6.2.0-rc3-next-20230110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27280 pid:16986 ppid:5117 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 __wait_on_freeing_inode+0xf2/0x140 fs/inode.c:2197 find_inode_fast+0x14e/0x220 fs/inode.c:951 iget_locked+0xa8/0x660 fs/inode.c:1274 __ext4_iget+0x3af/0x4230 fs/ext4/inode.c:4861 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1491 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1527 [inline] ext4_xattr_set_entry+0x1e1a/0x3a00 fs/ext4/xattr.c:1669 ext4_xattr_ibody_set+0x131/0x3a0 fs/ext4/xattr.c:2221 ext4_xattr_set_handle+0x968/0x1510 fs/ext4/xattr.c:2378 ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2492 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:203 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:237 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:298 vfs_setxattr+0x143/0x340 fs/xattr.c:324 do_setxattr+0x151/0x190 fs/xattr.c:609 setxattr+0x146/0x160 fs/xattr.c:632 path_setxattr+0x197/0x1c0 fs/xattr.c:651 __do_sys_setxattr fs/xattr.c:667 [inline] __se_sys_setxattr fs/xattr.c:663 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:663 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe72cc8c0c9 RSP: 002b:00007fe72d953168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe72cdac050 RCX: 00007fe72cc8c0c9 RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0 RBP: 00007fe72cce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff132eb16f R14: 00007fe72d953300 R15: 0000000000022000 INFO: task syz-executor.5:16988 blocked for more than 146 seconds. Not tainted 6.2.0-rc3-next-20230110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27400 pid:16988 ppid:5117 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 mb_cache_entry_wait_unused+0x16f/0x1f0 fs/mbcache.c:148 ext4_evict_ea_inode+0x195/0x2f0 fs/ext4/xattr.c:449 ext4_evict_inode+0xd1c/0x1c40 fs/ext4/inode.c:181 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput fs/inode.c:1774 [inline] iput+0x52b/0x8e0 fs/inode.c:1760 ext4_xattr_set_entry+0x4ab/0x3a00 fs/ext4/xattr.c:1806 ext4_xattr_ibody_set+0x131/0x3a0 fs/ext4/xattr.c:2221 ext4_xattr_set_handle+0x968/0x1510 fs/ext4/xattr.c:2378 ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2492 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:203 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:237 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:298 vfs_setxattr+0x143/0x340 fs/xattr.c:324 do_setxattr+0x151/0x190 fs/xattr.c:609 setxattr+0x146/0x160 fs/xattr.c:632 path_setxattr+0x197/0x1c0 fs/xattr.c:651 __do_sys_setxattr fs/xattr.c:667 [inline] __se_sys_setxattr fs/xattr.c:663 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:663 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe72cc8c0c9 RSP: 002b:00007fe72d932168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe72cdac120 RCX: 00007fe72cc8c0c9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 00000000200001c0 RBP: 00007fe72cce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff132eb16f R14: 00007fe72d932300 R15: 0000000000022000 Showing all threads with locks held in the system: task:rcu_tasks_kthre state:I stack:29040 pid:12 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 rcu_tasks_one_gp+0x484/0xcd0 kernel/rcu/tasks.h:517 rcu_tasks_kthread+0x77/0xa0 kernel/rcu/tasks.h:555 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c793470 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:510 task:rcu_tasks_trace state:I stack:29048 pid:13 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 rcu_tasks_one_gp+0x484/0xcd0 kernel/rcu/tasks.h:517 rcu_tasks_kthread+0x77/0xa0 kernel/rcu/tasks.h:555 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c793170 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xcd0 kernel/rcu/tasks.h:510 task:getty state:S stack:23336 pid:4757 ppid:1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x1e1/0x2a0 kernel/time/timer.c:2143 wait_woken+0x197/0x200 kernel/sched/wait.c:463 n_tty_read+0x1055/0x13e0 drivers/tty/n_tty.c:2243 iterate_tty_read drivers/tty/tty_io.c:852 [inline] tty_read+0x30e/0x5a0 drivers/tty/tty_io.c:927 call_read_iter include/linux/fs.h:1846 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x681/0x930 fs/read_write.c:470 ksys_read+0x12b/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdb719538fe RSP: 002b:00007ffda0ec65f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055e9b9651910 RCX: 00007fdb719538fe RDX: 0000000000000001 RSI: 00007ffda0ec6610 RDI: 0000000000000000 RBP: 000055e9b9651970 R08: 0000000000000007 R09: 000055e9b9652cd0 R10: 0000000000000063 R11: 0000000000000246 R12: 000055e9b96519ac R13: 00007ffda0ec6610 R14: 0000000000000000 R15: 000055e9b96519ac 2 locks held by getty/4757: #0: ffff88802c62a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 task:kworker/0:6 state:D stack:24944 pid:5176 ppid:2 flags:0x00004000 Workqueue: rcu_gp wait_rcu_exp_gp Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 synchronize_rcu_expedited_wait_once kernel/rcu/tree_exp.h:572 [inline] synchronize_rcu_expedited_wait kernel/rcu/tree_exp.h:624 [inline] rcu_exp_wait_wake+0x2ab/0x1220 kernel/rcu/tree_exp.h:693 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/0:6/5176: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc90004b17da8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:kworker/u4:2 state:D stack:25384 pid:12698 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x342/0xc84 io_uring/io_uring.c:2896 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/u4:2/12698: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc90016127da8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:kworker/u4:6 state:D stack:26016 pid:12729 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x342/0xc84 io_uring/io_uring.c:2896 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/u4:6/12729: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc9001624fda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:kworker/u4:10 state:D stack:24480 pid:12765 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x342/0xc84 io_uring/io_uring.c:2896 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/u4:10/12765: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc90016137da8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:syz-executor.4 state:D stack:24792 pid:13985 ppid:13983 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6754 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] synchronize_rcu_expedited+0x400/0x770 kernel/rcu/tree_exp.h:992 namespace_unlock+0x1af/0x410 fs/namespace.c:1602 do_umount fs/namespace.c:1825 [inline] path_umount+0x67b/0x10b0 fs/namespace.c:1907 ksys_umount fs/namespace.c:1930 [inline] __do_sys_umount fs/namespace.c:1935 [inline] __se_sys_umount fs/namespace.c:1933 [inline] __x64_sys_umount+0x15d/0x190 fs/namespace.c:1933 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff473a8d537 RSP: 002b:00007ffe792c69a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff473a8d537 RDX: 00007ffe792c6a7b RSI: 000000000000000a RDI: 00007ffe792c6a70 RBP: 00007ffe792c6a70 R08: 00000000ffffffff R09: 00007ffe792c6840 R10: 0000555556e3d8b3 R11: 0000000000000246 R12: 00007ff473ae6b24 R13: 00007ffe792c7b30 R14: 0000555556e3d810 R15: 00007ffe792c7b70 1 lock held by syz-executor.4/13985: #0: ffffffff8c79f138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8c79f138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x400/0x770 kernel/rcu/tree_exp.h:992 task:kworker/u4:16 state:D stack:24584 pid:14195 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x342/0xc84 io_uring/io_uring.c:2896 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/u4:16/14195: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc900037efda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:kworker/u4:17 state:D stack:23880 pid:14199 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x342/0xc84 io_uring/io_uring.c:2896 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 2 locks held by kworker/u4:17/14199: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1750 kernel/workqueue.c:2264 #1: ffffc900037ffda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1750 kernel/workqueue.c:2268 task:syz-executor.5 state:D stack:27280 pid:16986 ppid:5117 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 __wait_on_freeing_inode+0xf2/0x140 fs/inode.c:2197 find_inode_fast+0x14e/0x220 fs/inode.c:951 iget_locked+0xa8/0x660 fs/inode.c:1274 __ext4_iget+0x3af/0x4230 fs/ext4/inode.c:4861 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1491 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1527 [inline] ext4_xattr_set_entry+0x1e1a/0x3a00 fs/ext4/xattr.c:1669 ext4_xattr_ibody_set+0x131/0x3a0 fs/ext4/xattr.c:2221 ext4_xattr_set_handle+0x968/0x1510 fs/ext4/xattr.c:2378 ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2492 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:203 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:237 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:298 vfs_setxattr+0x143/0x340 fs/xattr.c:324 do_setxattr+0x151/0x190 fs/xattr.c:609 setxattr+0x146/0x160 fs/xattr.c:632 path_setxattr+0x197/0x1c0 fs/xattr.c:651 __do_sys_setxattr fs/xattr.c:667 [inline] __se_sys_setxattr fs/xattr.c:663 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:663 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe72cc8c0c9 RSP: 002b:00007fe72d953168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe72cdac050 RCX: 00007fe72cc8c0c9 RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0 RBP: 00007fe72cce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff132eb16f R14: 00007fe72d953300 R15: 0000000000022000 3 locks held by syz-executor.5/16986: #0: ffff888079498460 (sb_writers#4){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:649 #1: ffff8880752be850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880752be850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_setxattr+0x120/0x340 fs/xattr.c:323 #2: ffff8880752be518 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880752be518 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x160/0x1510 fs/ext4/xattr.c:2305 task:syz-executor.5 state:D stack:27400 pid:16988 ppid:5117 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 mb_cache_entry_wait_unused+0x16f/0x1f0 fs/mbcache.c:148 ext4_evict_ea_inode+0x195/0x2f0 fs/ext4/xattr.c:449 ext4_evict_inode+0xd1c/0x1c40 fs/ext4/inode.c:181 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput fs/inode.c:1774 [inline] iput+0x52b/0x8e0 fs/inode.c:1760 ext4_xattr_set_entry+0x4ab/0x3a00 fs/ext4/xattr.c:1806 ext4_xattr_ibody_set+0x131/0x3a0 fs/ext4/xattr.c:2221 ext4_xattr_set_handle+0x968/0x1510 fs/ext4/xattr.c:2378 ext4_xattr_set+0x144/0x360 fs/ext4/xattr.c:2492 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:203 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:237 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:298 vfs_setxattr+0x143/0x340 fs/xattr.c:324 do_setxattr+0x151/0x190 fs/xattr.c:609 setxattr+0x146/0x160 fs/xattr.c:632 path_setxattr+0x197/0x1c0 fs/xattr.c:651 __do_sys_setxattr fs/xattr.c:667 [inline] __se_sys_setxattr fs/xattr.c:663 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:663 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe72cc8c0c9 RSP: 002b:00007fe72d932168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe72cdac120 RCX: 00007fe72cc8c0c9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 00000000200001c0 RBP: 00007fe72cce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff132eb16f R14: 00007fe72d932300 R15: 0000000000022000 3 locks held by syz-executor.5/16988: #0: ffff888079498460 (sb_writers#4){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:649 #1: ffff888077dfac20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888077dfac20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x120/0x340 fs/xattr.c:323 #2: ffff888077dfa8e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888077dfa8e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x160/0x1510 fs/ext4/xattr.c:2305 task:syz-executor.5 state:D stack:26672 pid:18308 ppid:17066 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5301 [inline] __schedule+0x25d0/0x5a70 kernel/sched/core.c:6619 schedule+0xde/0x1b0 kernel/sched/core.c:6695 synchronize_rcu_expedited+0x5e2/0x770 kernel/rcu/tree_exp.h:1007 synchronize_rcu+0x302/0x3b0 kernel/rcu/tree.c:3482 tp_rcu_cond_sync kernel/tracepoint.c:63 [inline] tp_rcu_cond_sync kernel/tracepoint.c:57 [inline] tracepoint_add_func+0x92a/0xe60 kernel/tracepoint.c:356 tracepoint_probe_register_prio_may_exist+0xa2/0xf0 kernel/tracepoint.c:482 tracepoint_probe_register_may_exist include/linux/tracepoint.h:52 [inline] __bpf_probe_register kernel/trace/bpf_trace.c:2329 [inline] bpf_probe_register+0x163/0x1d0 kernel/trace/bpf_trace.c:2335 bpf_raw_tp_link_attach+0x2be/0x5f0 kernel/bpf/syscall.c:3351 bpf_raw_tracepoint_open kernel/bpf/syscall.c:3378 [inline] __sys_bpf+0x2da/0x5100 kernel/bpf/syscall.c:5021 __do_sys_bpf kernel/bpf/syscall.c:5083 [inline] __se_sys_bpf kernel/bpf/syscall.c:5081 [inline] __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5081 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7be3a8c0c9 RSP: 002b:00007f7be4838168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f7be3bac050 RCX: 00007f7be3a8c0c9 RDX: 0000000000000010 RSI: 00000000200003c0 RDI: 0000000000000011 RBP: 00007f7be3ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeffe6882f R14: 00007f7be4838300 R15: 0000000000022000 2 locks held by syz-executor.5/18308: #0: ffffffff8c7fec08 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0x81/0xf0 kernel/tracepoint.c:478 #1: ffffffff8c79f138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c79f138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x658/0x770 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc3-next-20230110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x32f/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcae/0x1050 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.2.0-rc3-next-20230110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:preempt_count_sub+0x35/0x150 kernel/sched/core.c:5796 Code: 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 e4 00 00 00 <8b> 0d 05 a1 6b 10 85 c9 75 1b 65 8b 05 02 1f ad 7e 89 c2 81 e2 ff RSP: 0018:ffffc90000147880 EFLAGS: 00000297 RAX: 0000000000000003 RBX: 0000000000000001 RCX: 1ffffffff2384750 RDX: 0000000000000004 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000140000 R08: ffffffff8efc0bce R09: ffffc90000147934 R10: fffff52000028f2b R11: ffffc90000147a20 R12: ffffc90000147935 R13: ffffc90000147900 R14: ffffc90000147a28 R15: ffffffff8efc0bd2 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000