INFO: task syz-executor.1:15615 blocked for more than 144 seconds. Not tainted 5.15.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24408 pid:15615 ppid: 7518 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 __wait_on_freeing_inode fs/inode.c:2033 [inline] find_inode_fast+0x315/0x450 fs/inode.c:869 iget_locked+0xb2/0x7f0 fs/inode.c:1189 __ext4_iget+0x25d/0x3e40 fs/ext4/inode.c:4625 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1509 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1545 [inline] ext4_xattr_set_entry+0x2222/0x3c00 fs/ext4/xattr.c:1686 ext4_xattr_block_set+0xb10/0x3680 fs/ext4/xattr.c:1992 ext4_xattr_set_handle+0xdac/0x1560 fs/ext4/xattr.c:2407 ext4_xattr_set+0x231/0x3d0 fs/ext4/xattr.c:2508 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7feb7697a169 RSP: 002b:00007feb6cb0b168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007feb76a9a050 RCX: 00007feb7697a169 RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0 RBP: 00007feb769d5ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff4e6638f R14: 00007feb6cb0b300 R15: 0000000000022000 INFO: task syz-executor.1:15621 blocked for more than 146 seconds. Not tainted 5.15.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24176 pid:15621 ppid: 7518 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 mb_cache_entry_wait_unused+0x164/0x240 fs/mbcache.c:148 ext4_evict_ea_inode+0x146/0x2e0 fs/ext4/xattr.c:460 ext4_evict_inode+0x17d/0x1100 fs/ext4/inode.c:183 evict+0x2a4/0x620 fs/inode.c:587 ext4_xattr_set_entry+0x1d39/0x3c00 fs/ext4/xattr.c:1823 ext4_xattr_block_set+0x69a/0x3680 fs/ext4/xattr.c:1923 ext4_xattr_set_handle+0xdac/0x1560 fs/ext4/xattr.c:2407 ext4_xattr_set+0x231/0x3d0 fs/ext4/xattr.c:2508 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7feb7697a169 RSP: 002b:00007feb6caea168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007feb76a9a120 RCX: 00007feb7697a169 RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000020000540 RBP: 00007feb769d5ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff4e6638f R14: 00007feb6caea300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3260: #0: ffff88802453e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 3 locks held by kworker/u4:28/4684: 3 locks held by syz-executor.1/15615: #0: ffff8880267d6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88802bfc0de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff88802bfc0de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff88802bfc0ac0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88802bfc0ac0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x270/0x1560 fs/ext4/xattr.c:2322 3 locks held by syz-executor.1/15621: #0: ffff8880267d6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88802f3017e0 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff88802f3017e0 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:302 #2: ffff88802f3014b8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88802f3014b8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x270/0x1560 fs/ext4/xattr.c:2322 2 locks held by kworker/1:19/15888: #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279 #1: ffffc9000497fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281 1 lock held by syz-executor.3/16885: #0: ffff8880227951a0 (&iint->mutex){+.+.}-{3:3}, at: ima_check_last_writer security/integrity/ima/ima_main.c:164 [inline] #0: ffff8880227951a0 (&iint->mutex){+.+.}-{3:3}, at: ima_file_free+0x10f/0x3c0 security/integrity/ima/ima_main.c:198 2 locks held by syz-executor.1/16895: #0: ffff88802f252c10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #0: ffff88802f252c10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff88802f252c10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1317 #1: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:840 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3533 Comm: syz-executor.0 Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:kasan_check_range+0x1ab/0x290 mm/kasan/generic.c:189 Code: e9 4c 89 d5 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 39 00 0f 85 a2 00 00 00 49 ff c1 48 ff cd 75 ee <5b> 41 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 RSP: 0018:ffffc90002d9f818 EFLAGS: 00000056 RAX: ffffffff81b14401 RBX: 1ffffd40002afca8 RCX: ffffffff81b14487 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea000157e540 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffff940002afca9 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000157e540 R13: ffffea000157e548 R14: fffff940002afca9 R15: dffffc0000000000 FS: 0000555556714400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7297d9a000 CR3: 0000000040867000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] PageCompound include/linux/page-flags.h:212 [inline] page_mapped+0x27/0x280 mm/util.c:766 unaccount_page_cache_page+0xd9/0x8b0 mm/filemap.c:166 delete_from_page_cache_batch+0x167/0xb70 mm/filemap.c:347 truncate_inode_pages_range+0x371/0x1290 mm/truncate.c:326 ext4_evict_inode+0x2ae/0x1100 fs/ext4/inode.c:224 evict+0x2a4/0x620 fs/inode.c:587 do_unlinkat+0x502/0x940 fs/namei.c:4284 __do_sys_unlink fs/namei.c:4325 [inline] __se_sys_unlink fs/namei.c:4323 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4323 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1acdf92ad7 Code: 73 01 c3 48 c7 c1 b8 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 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffed8c38cc8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1acdf92ad7 RDX: 00007ffed8c38d00 RSI: 00007ffed8c38d00 RDI: 00007ffed8c38d90 RBP: 00007ffed8c38d90 R08: 0000000000000001 R09: 00007ffed8c38b60 R10: 0000555556715873 R11: 0000000000000206 R12: 00007f1acdfedcdc R13: 00007ffed8c39e50 R14: 0000555556715810 R15: 00007ffed8c39e90