INFO: task syz-executor.3:6974 blocked for more than 143 seconds. Not tainted 6.2.0-rc4-syzkaller-00069-g081edded9b38 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20584 pid:6974 ppid:5116 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 __wait_on_freeing_inode fs/inode.c:2196 [inline] find_inode_fast+0x35a/0x4c0 fs/inode.c:950 iget_locked+0xb1/0x830 fs/inode.c:1273 __ext4_iget+0x22e/0x3ed0 fs/ext4/inode.c:4861 ext4_xattr_inode_iget+0x68/0x4e0 fs/ext4/xattr.c:389 ext4_xattr_inode_get+0x153/0x8d0 fs/ext4/xattr.c:490 ext4_xattr_move_to_block fs/ext4/xattr.c:2568 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2669 [inline] ext4_expand_extra_isize_ea+0xf93/0x1cd0 fs/ext4/xattr.c:2761 __ext4_expand_extra_isize+0x30b/0x410 fs/ext4/inode.c:5957 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6000 [inline] __ext4_mark_inode_dirty+0x51a/0x670 fs/ext4/inode.c:6078 ext4_evict_inode+0xb7c/0x10b0 fs/ext4/inode.c:279 evict+0x2a4/0x620 fs/inode.c:664 ext4_orphan_cleanup+0xb60/0x1340 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x81cd/0x8700 fs/ext4/super.c:5644 get_tree_bdev+0x400/0x620 fs/super.c:1282 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 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+0x63/0xcd RIP: 0033:0x7f6370e8d5fa RSP: 002b:00007f6371b57f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000042f RCX: 00007f6370e8d5fa RDX: 0000000020000440 RSI: 00000000200000c0 RDI: 00007f6371b57fe0 RBP: 00007f6371b58020 R08: 00007f6371b58020 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000202 R12: 0000000020000440 R13: 00000000200000c0 R14: 00007f6371b57fe0 R15: 0000000020000040 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326fd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d3277d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4750: #0: ffff88823bc9e898 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.5/5115: #0: ffff888021ada0e0 (&type->s_umount_key#53){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 #1: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:17/6132: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900161e7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:7/31013: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000a537d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 3 locks held by syz-executor.3/6974: #0: ffff8880769200e0 (&type->s_umount_key#28/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffff888076920650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1814 [inline] #1: ffff888076920650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1936 [inline] #1: ffff888076920650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x4cd/0x10b0 fs/ext4/inode.c:240 #2: ffff88807b586f20 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_trylock_xattr fs/ext4/xattr.h:162 [inline] #2: ffff88807b586f20 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_to_expand_extra_isize fs/ext4/inode.c:5997 [inline] #2: ffff88807b586f20 (&ei->xattr_sem){++++}-{3:3}, at: __ext4_mark_inode_dirty+0x479/0x670 fs/ext4/inode.c:6078 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc4-syzkaller-00069-g081edded9b38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5269 Comm: syz-fuzzer Not tainted 6.2.0-rc4-syzkaller-00069-g081edded9b38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0xa0 kernel/kcov.c:290 Code: 48 c7 04 01 06 00 00 00 48 89 d0 48 83 c8 10 48 89 3c 01 48 83 ca 18 48 89 34 11 4e 89 44 c9 20 c3 0f 1f 44 00 00 4c 8b 04 24 <65> 48 8b 14 25 40 98 03 00 65 8b 0d 64 b9 77 7e f7 c1 00 01 ff 00 RSP: 0018:ffffc90004b77578 EFLAGS: 00000246 RAX: 1ffff9200096ef00 RBX: 0000000000000006 RCX: 0000000000000000 RDX: ffff88807e30d7c0 RSI: 0000000000000006 RDI: 0000000000000003 RBP: ffffc90004b776e0 R08: ffffffff843c13e0 R09: fffff940003c1f79 R10: fffff940003c1f79 R11: 1ffffd40003c1f78 R12: ffffc90004b77c10 R13: 1ffff9200096eec0 R14: 1ffff9200096ef82 R15: dffffc0000000000 FS: 000000c012160490(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faeefba8000 CR3: 0000000077324000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iov_iter_is_pipe include/linux/uio.h:104 [inline] _copy_to_iter+0xe0/0x1020 lib/iov_iter.c:525 __skb_datagram_iter+0xe5/0x790 net/core/datagram.c:419 skb_copy_datagram_iter+0x3c/0x50 net/core/datagram.c:527 skb_copy_datagram_msg include/linux/skbuff.h:3908 [inline] tcp_recvmsg_locked+0x965/0x25c0 net/ipv4/tcp.c:2601 tcp_recvmsg+0x337/0x870 net/ipv4/tcp.c:2679 inet_recvmsg+0x13a/0x250 net/ipv4/af_inet.c:861 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x3fa/0x530 net/socket.c:1086 call_read_iter include/linux/fs.h:2183 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7ac/0xbf0 fs/read_write.c:470 ksys_read+0x177/0x2a0 fs/read_write.c:613 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+0x63/0xcd RIP: 0033:0x4adffb Code: e8 8a 58 fb ff eb 88 cc cc cc cc cc cc cc cc e8 9b 9c fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c00023b978 EFLAGS: 00000212 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000000c000040000 RCX: 00000000004adffb RDX: 0000000000001000 RSI: 000000c000102000 RDI: 0000000000000003 RBP: 000000c00023b9c8 R08: 0000000000000001 R09: 000000c000481280 R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000000000 R14: 000000c0003a5040 R15: 0000000000000007