INFO: task syz-executor.3:30726 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28896 pid:30726 ppid: 6552 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:993 __down_read_common kernel/locking/rwsem.c:1214 [inline] __down_read kernel/locking/rwsem.c:1223 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1466 inode_lock_shared include/linux/fs.h:796 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x400/0x6a0 fs/namei.c:1970 link_path_walk.part.0+0x757/0xd00 fs/namei.c:2297 link_path_walk fs/namei.c:2222 [inline] path_openat+0x265/0x2740 fs/namei.c:3557 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1290 [inline] __se_sys_creat fs/open.c:1284 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1284 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4cac1a1a39 RSP: 002b:00007f4ca96d5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4cac2a50e0 RCX: 00007f4cac1a1a39 RDX: 0000000000000000 RSI: 0000000000000024 RDI: 0000000020000180 RBP: 00007f4cac1fbe8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc27b99d9f R14: 00007f4ca96d5300 R15: 0000000000022000 INFO: task syz-executor.3:30730 blocked for more than 144 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28280 pid:30730 ppid: 6552 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:993 __down_read_common kernel/locking/rwsem.c:1214 [inline] __down_read kernel/locking/rwsem.c:1223 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1466 inode_lock_shared include/linux/fs.h:796 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x400/0x6a0 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2449 filename_lookup+0x1c6/0x590 fs/namei.c:2478 user_path_at_empty+0x42/0x60 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:489 [inline] __se_sys_chdir fs/open.c:483 [inline] __x64_sys_chdir+0xb7/0x260 fs/open.c:483 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4cac1a1a39 RSP: 002b:00007f4ca96b4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f4cac2a51a0 RCX: 00007f4cac1a1a39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f4cac1fbe8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc27b99d9f R14: 00007f4ca96b4300 R15: 0000000000022000 INFO: task syz-executor.3:30769 blocked for more than 146 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28464 pid:30769 ppid: 6552 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write_nested+0x13b/0x150 kernel/locking/rwsem.c:1628 inode_lock_nested include/linux/fs.h:821 [inline] lock_rename+0x225/0x280 fs/namei.c:2915 do_renameat2+0x639/0xc80 fs/namei.c:4720 __do_sys_rename fs/namei.c:4825 [inline] __se_sys_rename fs/namei.c:4823 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4823 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4cac1a1a39 RSP: 002b:00007f4ca9693188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f4cac2a5260 RCX: 00007f4cac1a1a39 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 00000000200000c0 RBP: 00007f4cac1fbe8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc27b99d9f R14: 00007f4ca9693300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b981b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 3 locks held by kworker/u4:2/148: #0: ffff8880b9c31a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:474 #1: ffffc9000177fdb0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff8880b9c20258 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x60c/0xe30 kernel/time/timer.c:1043 2 locks held by kswapd0/263: 1 lock held by in:imklog/6231: #0: ffff888015d86d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by systemd-udevd/11594: 2 locks held by systemd-udevd/11654: #0: ffff88807e416460 (sb_writers#3){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3341 [inline] #0: ffff88807e416460 (sb_writers#3){.+.+}-{0:0}, at: path_openat+0x25c9/0x2740 fs/namei.c:3558 #1: ffff88807b67cd18 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #1: ffff88807b67cd18 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #1: ffff88807b67cd18 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x941/0x2740 fs/namei.c:3558 1 lock held by systemd-udevd/11754: 3 locks held by syz-executor.3/30708: 1 lock held by syz-executor.3/30726: #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 1 lock held by syz-executor.3/30730: #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff88815180c6e0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 2 locks held by syz-executor.3/30769: #0: ffff888079b48460 (sb_writers#16){.+.+}-{0:0}, at: do_renameat2+0x37b/0xc80 fs/namei.c:4715 #1: ffff88815180c6e0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:821 [inline] #1: ffff88815180c6e0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2915 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11728 Comm: systemd-udevd Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tomoyo_domain_quota_is_ok+0x307/0x550 security/tomoyo/util.c:1093 Code: 41 5d 41 5e 41 5f c3 41 bc 01 00 00 00 31 db e8 cf d4 d3 fd 89 d9 44 89 e0 31 ff d3 f8 83 e0 01 41 89 c7 89 c6 e8 f9 db d3 fd <45> 85 ff 74 09 e8 af d4 d3 fd 41 83 c5 01 e8 a6 d4 d3 fd 8d 73 01 RSP: 0018:ffffc90005b4fa40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88806e7f1c80 RDI: 0000000000000003 RBP: ffff88801a980900 R08: 0000000000000000 R09: 0000000000000008 R10: ffffffff83a31857 R11: 0000000000000010 R12: 0000000000000002 R13: 0000000000000155 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fb87c1ff8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe92efb1000 CR3: 000000003ea96000 CR4: 0000000000350ef0 DR0: 0080ffff00000000 DR1: 0080ffff00000000 DR2: 0080ffff00000000 DR3: 0080ffff00000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x419/0x590 security/tomoyo/file.c:734 security_file_ioctl+0x50/0xb0 security/security.c:1540 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb87b077017 Code: 00 00 00 48 8b 05 81 7e 2b 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 7e 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fff01121a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007fb87b077017 RDX: 00007fff01121ba8 RSI: 0000000080081272 RDI: 000000000000000f RBP: 00007fff01121ba8 R08: 0000557040572670 R09: 0000000000000110 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000f ---------------- Code disassembly (best guess): 0: 41 5d pop %r13 2: 41 5e pop %r14 4: 41 5f pop %r15 6: c3 retq 7: 41 bc 01 00 00 00 mov $0x1,%r12d d: 31 db xor %ebx,%ebx f: e8 cf d4 d3 fd callq 0xfdd3d4e3 14: 89 d9 mov %ebx,%ecx 16: 44 89 e0 mov %r12d,%eax 19: 31 ff xor %edi,%edi 1b: d3 f8 sar %cl,%eax 1d: 83 e0 01 and $0x1,%eax 20: 41 89 c7 mov %eax,%r15d 23: 89 c6 mov %eax,%esi 25: e8 f9 db d3 fd callq 0xfdd3dc23 * 2a: 45 85 ff test %r15d,%r15d <-- trapping instruction 2d: 74 09 je 0x38 2f: e8 af d4 d3 fd callq 0xfdd3d4e3 34: 41 83 c5 01 add $0x1,%r13d 38: e8 a6 d4 d3 fd callq 0xfdd3d4e3 3d: 8d 73 01 lea 0x1(%rbx),%esi