INFO: task kworker/u4:4:56 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:20408 pid:56 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 do_wait_for_common+0x449/0x5f0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x4a/0x60 kernel/sched/completion.c:138 io_ring_exit_work+0x702/0x7f0 io_uring/io_uring.c:3027 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x2b2/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.4:18102 blocked for more than 144 seconds. Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24616 pid:18102 ppid:5016 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 xlog_grant_head_wait+0x387/0x910 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x299/0x480 xfs_log_reserve+0x3c4/0xb10 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x239/0x6a0 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x423/0x810 fs/xfs/xfs_trans.c:283 xfs_trans_alloc_icreate+0xc9/0x2b0 fs/xfs/xfs_trans.c:1246 xfs_create+0x6c9/0x1240 fs/xfs/xfs_inode.c:1002 xfs_generic_create+0x491/0xd70 fs/xfs/xfs_iops.c:199 lookup_open fs/namei.c:3416 [inline] open_last_lookups fs/namei.c:3484 [inline] path_openat+0x13df/0x3170 fs/namei.c:3712 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_open fs/open.c:1380 [inline] __se_sys_open fs/open.c:1376 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1376 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb8a908c169 RSP: 002b:00007fb8a9d42168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fb8a91abf80 RCX: 00007fb8a908c169 RDX: 0000000000000000 RSI: 0000000000060142 RDI: 0000000020000000 RBP: 00007fb8a90e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd31dcb78f R14: 00007fb8a9d42300 R15: 0000000000022000 INFO: task syz-executor.4:18183 blocked for more than 144 seconds. Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27992 pid:18183 ppid:5016 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:758 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x7ba/0x3170 fs/namei.c:3712 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_open fs/open.c:1380 [inline] __se_sys_open fs/open.c:1376 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1376 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb8a908c169 RSP: 002b:00007fb8a9d21168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fb8a91ac050 RCX: 00007fb8a908c169 RDX: 0000000000000000 RSI: 0000000000145142 RDI: 0000000020007f80 RBP: 00007fb8a90e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd31dcb78f R14: 00007fb8a9d21300 R15: 0000000000022000 INFO: task syz-executor.4:18184 blocked for more than 145 seconds. Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25704 pid:18184 ppid:5016 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:758 [inline] vfs_fileattr_set+0x139/0xd40 fs/ioctl.c:681 ioctl_fssetxattr fs/ioctl.c:758 [inline] do_vfs_ioctl+0x1860/0x2b10 fs/ioctl.c:845 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x81/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb8a908c169 RSP: 002b:00007fb8a9d00168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb8a91ac120 RCX: 00007fb8a908c169 RDX: 0000000020000080 RSI: 00000000401c5820 RDI: 0000000000000008 RBP: 00007fb8a90e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd31dcb78f R14: 00007fb8a9d00300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc900000c7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by kworker/0:1/9: #0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 #1: ffff8880b9828788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:976 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf256b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf25a70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf254e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:4/56: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90001577d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 1 lock held by udevd/4430: #0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 2 locks held by getty/4728: #0: ffff88814a681098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.3/5026: #0: ffffffff8cf2abb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8cf2abb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:7/5302: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90005e57d20 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 3 locks held by kworker/0:9/5446: 2 locks held by kworker/0:12/5593: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90008857d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by kworker/0:15/5743: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc9000ba07d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by kworker/u4:11/14369: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90005be7d20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 3 locks held by syz-executor.4/18102: #0: ffff88801e7f6460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline] #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712 #2: ffff88801e7f6650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc9/0x2b0 fs/xfs/xfs_trans.c:1246 2 locks held by syz-executor.4/18183: #0: ffff88801e7f6460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline] #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712 2 locks held by syz-executor.4/18184: #0: ffff88801e7f6460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880729629f8 (&inode->i_sb->s_type->i_mutex_dir_key#2){++++}-{3:3}, at: vfs_fileattr_set+0x139/0xd40 fs/ioctl.c:681 2 locks held by syz-executor.2/21050: #0: ffff88807cf140e0 (&type->s_umount_key#53){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2abb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cf2abb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #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+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b2/0x350 kernel/kthread.c:379 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: 20127 Comm: udevd Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:copy_from_kernel_nofault+0xe3/0x2d0 mm/maccess.c:37 Code: c3 08 eb bc e8 ee e6 ce ff 48 c7 c3 de ff ff ff e9 61 01 00 00 e8 dd e6 ce ff eb 09 e8 d6 e6 ce ff 49 83 c4 08 bf 03 00 00 00 <4c> 89 ee e8 05 eb ce ff 49 83 fd 03 76 5a 4c 89 f5 4c 89 fb 49 83 RSP: 0018:ffffc9001896f388 EFLAGS: 00000293 RAX: ffffffff81bbb423 RBX: 0000000000000ff9 RCX: ffff8880793bba80 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: ffff88802aabe900 R08: ffffffff81bbb3c0 R09: fffffbfff205bc40 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801bf5ec30 R13: 0000000000000004 R14: ffff8880793bd148 R15: ffff888090c7aff9 FS: 00007efe41490c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f2ee673 CR3: 0000000029966000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: prepend_copy fs/d_path.c:49 [inline] prepend fs/d_path.c:75 [inline] prepend_name fs/d_path.c:100 [inline] __prepend_path fs/d_path.c:132 [inline] prepend_path+0x4d4/0xb70 fs/d_path.c:171 d_absolute_path+0x179/0x300 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2ae/0x5e0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x254/0x4e0 security/tomoyo/file.c:771 security_file_open+0x63/0xa0 security/security.c:2797 do_dentry_open+0x308/0x10f0 fs/open.c:907 do_open fs/namei.c:3560 [inline] path_openat+0x27b3/0x3170 fs/namei.c:3715 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efe411169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff421f0140 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007efe411169a4 RDX: 0000000000080000 RSI: 00007fff421f0278 RDI: 00000000ffffff9c RBP: 00007fff421f0278 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 000055dd21986b42 R14: 0000000000000001 R15: 000055dd219a2160