INFO: task syz-executor.1:7307 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27984 pid:7307 ppid:5125 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1874/0x4920 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x9c/0x2f0 kernel/locking/rwsem.c:1522 inode_lock_shared include/linux/fs.h:781 [inline] lookup_slow+0x45/0x70 fs/namei.c:1706 walk_component+0x2d0/0x400 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2479 filename_lookup+0x255/0x610 fs/namei.c:2508 do_linkat+0x176/0x9e0 fs/namei.c:4652 __do_sys_linkat fs/namei.c:4700 [inline] __se_sys_linkat fs/namei.c:4697 [inline] __x64_sys_linkat+0xdd/0xf0 fs/namei.c:4697 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x42/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8d8727cda9 RSP: 002b:00007f8d87ff20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007f8d873ac050 RCX: 00007f8d8727cda9 RDX: 0000000000000005 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 00007f8d872c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8d873ac050 R15: 00007ffc270352c8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8bd1a570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8bd1a930 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8bd1a3a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/4196: 2 locks held by getty/4490: #0: ffff888026773098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90001ff92f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187 3 locks held by syz-executor.5/5126: 1 lock held by syz-executor.3/5127: 3 locks held by syz-executor.1/7301: 1 lock held by syz-executor.1/7307: #0: ffff8880627d82b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:781 [inline] #0: ffff8880627d82b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706 1 lock held by syz-executor.4/23188: 2 locks held by syz-executor.5/23192: #0: ffff8880b9d3bf58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9d28788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:995 1 lock held by syz-executor.1/23199: #0: ffff8880b9d3bf58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 2 locks held by syz-executor.1/23206: 1 lock held by syz-executor.0/23211: #0: ffff8880b9c3bf58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 3 locks held by syz-executor.4/23219: #0: ffff8880b9d3bf58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9d28788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:995 #2: ffff88802a3f0db8 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_common_lock kernel/sched/wait.c:137 [inline] #2: ffff88802a3f0db8 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_sync_key+0xf9/0x1c0 kernel/sched/wait.c:208 1 lock held by syz-executor.2/23243: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec8/0xf10 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:389 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: 7474 Comm: udevd Not tainted 6.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x60 kernel/kcov.c:206 Code: 1f 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d c4 4c 92 0b 48 89 de 5b e9 73 fd 54 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0d d0 7c 88 7e 65 8b 15 d1 7c 88 7e f7 c2 00 01 ff 00 74 RSP: 0018:ffffc900033ff590 EFLAGS: 00000296 RAX: ffffffff81e1a7ba RBX: f51e833ed189b6a7 RCX: ffff88802368bb80 RDX: ffff88802368bb80 RSI: 0000000000000019 RDI: 0000000000000008 RBP: 0000000000000011 R08: ffffffff81e1a78e R09: ffffffff837415bc R10: 0000000000000002 R11: ffff88802368bb80 R12: 3228d016fa1c3407 R13: 0000000000000019 R14: 12d4879c909fcbec R15: ffff88807f6c6490 FS: 00007f849ed8ac80(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3bac0d66cc CR3: 0000000025a5c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: full_name_hash+0x7a/0xe0 fs/namei.c:2118 tomoyo_fill_path_info+0x2fc/0x3a0 security/tomoyo/util.c:685 tomoyo_get_realpath security/tomoyo/file.c:153 [inline] tomoyo_check_open_permission+0x296/0x4e0 security/tomoyo/file.c:771 security_file_open+0x63/0xa0 security/security.c:2797 do_dentry_open+0x325/0x1470 fs/open.c:901 do_open fs/namei.c:3636 [inline] path_openat+0x27bd/0x3180 fs/namei.c:3793 do_filp_open+0x234/0x490 fs/namei.c:3820 do_sys_openat2+0x13e/0x1d0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x42/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f849e9169a4 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:00007ffc635fd5e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000562339d42a70 RCX: 00007f849e9169a4 RDX: 0000000000080000 RSI: 0000562339d1a890 RDI: 00000000ffffff9c RBP: 0000562339d1a890 R08: 0000562339d1a890 R09: 0000000000020000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000000000000703 R14: 0000000000000000 R15: 0000000000000001