INFO: task syz-executor.2:29894 blocked for more than 143 seconds.
Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26416 pid:29894 ppid:5078 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6711
schedule+0xe7/0x1b0 kernel/sched/core.c:6787
__wait_on_freeing_inode+0xf1/0x140 fs/inode.c:2244
find_inode_fast+0x150/0x200 fs/inode.c:950
iget_locked+0xa2/0x700 fs/inode.c:1317
__ext4_iget+0x3ca/0x4310 fs/ext4/inode.c:4670
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:0x7f5553a7cb29
RSP: 002b:00007f55547d30c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f5553b9c050 RCX: 00007f5553a7cb29
RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0
RBP: 00007f5553ac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f5553b9c050 R15: 00007fff13627668
INFO: task syz-executor.2:29897 blocked for more than 144 seconds.
Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26384 pid:29897 ppid:5078 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6711
schedule+0xe7/0x1b0 kernel/sched/core.c:6787
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:665
iput_final fs/inode.c:1791 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1817
iput+0x5c/0x80 fs/inode.c:1807
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:0x7f5553a7cb29
RSP: 002b:00007f55547b20c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f5553b9c120 RCX: 00007f5553a7cb29
RDX: 0000000020000340 RSI: 0000000020000140 RDI: 0000000020000040
RBP: 00007f5553ac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f5553b9c120 R15: 00007fff13627668
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a6dd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a6a90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571
1 lock held by khungtaskd/28:
#0: ffffffff8c9a79e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
3 locks held by kworker/u4:6/1249:
3 locks held by kworker/u4:9/2434:
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
#0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
#1: ffffc9000ad57d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
#2: ffffffff8c9b31c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001
2 locks held by getty/4794:
#0: ffff8880292f7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187
1 lock held by syz-executor.5/5069:
#0: ffffffff8c9b32f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8c9b32f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992
3 locks held by kworker/0:11/5175:
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
#0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
#1: ffffc9000522fd80 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
#2: ffffffff8c9b31c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001
2 locks held by kworker/1:15/5311:
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
#1: ffffc900057f7d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
3 locks held by syz-executor.2/29894:
#0: ffff88803a600410 (sb_writers#4){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670
#1: ffff88808894c000 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff88808894c000 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321
#2: ffff88808894bcc8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88808894bcc8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371
3 locks held by syz-executor.2/29897:
#0: ffff88803a600410 (sb_writers#4){.+.+}-{0:0}, at: path_setxattr+0xc3/0x1d0 fs/xattr.c:670
#1: ffff88803ed55400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#1: ffff88803ed55400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x123/0x350 fs/xattr.c:321
#2: ffff88803ed550c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88803ed550c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x159/0x1420 fs/ext4/xattr.c:2371
2 locks held by syz-executor.2/469:
#0: ffff88803eeaca10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#0: ffff88803eeaca10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x290 net/socket.c:653
#1: ffffffff8c9b32f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#1: ffffffff8c9b32f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:992
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x2ac/0x310 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+0xfab/0x1230 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
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: 490 Comm: syz-executor.0 Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304
Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00
RSP: 0018:ffffc900031ff8d8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880761ef658 RCX: ffffffff822b5ada
RDX: ffff888092c31dc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8880889a9cb8 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffff88807fffb3f0 R12: 0000000000000001
R13: 0000000000000000 R14: ffff88802cfe0000 R15: ffff88802cfe0000
FS: 0000555557495480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88aacffa60 CR3: 00000000768d2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__ext4_journal_get_write_access+0x1da/0x450 fs/ext4/ext4_jbd2.c:242
ext4_reserve_inode_write+0x139/0x270 fs/ext4/inode.c:5709
__ext4_mark_inode_dirty+0x196/0x800 fs/ext4/inode.c:5883
__ext4_new_inode+0x2b61/0x5610 fs/ext4/ialloc.c:1344
ext4_symlink+0x5d6/0xa00 fs/ext4/namei.c:3394
vfs_symlink fs/namei.c:4477 [inline]
vfs_symlink+0x3e5/0x620 fs/namei.c:4461
do_symlinkat+0x28e/0x310 fs/namei.c:4503
__do_sys_symlinkat fs/namei.c:4519 [inline]
__se_sys_symlinkat fs/namei.c:4516 [inline]
__x64_sys_symlinkat+0x97/0xc0 fs/namei.c:4516
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:0x7f88aac7c2a7
Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffd246d948 EFLAGS: 00000206 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007fffd246da10 RCX: 00007f88aac7c2a7
RDX: 00007f88aacc8526 RSI: 00000000ffffff9c RDI: 00007fffd246da10
RBP: 0000000000000001 R08: 0000000000000017 R09: 00007fffd246d697
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001