INFO: task syz-executor.1:21155 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29056 pid:21155 ppid: 12573 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041 __down_read_common kernel/locking/rwsem.c:1223 [inline] __down_read kernel/locking/rwsem.c:1232 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1472 inode_lock_shared include/linux/fs.h:793 [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_parentat+0xb1/0x1c0 fs/namei.c:2496 filename_parentat+0x1bb/0x5a0 fs/namei.c:2519 do_renameat2+0x16f/0xc80 fs/namei.c:4690 __do_sys_rename fs/namei.c:4823 [inline] __se_sys_rename fs/namei.c:4821 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4821 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:0x7fd8d093fae9 RSP: 002b:00007fd8cde94188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fd8d0a53020 RCX: 00007fd8d093fae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007fd8d0999f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe20e7b76f R14: 00007fd8cde94300 R15: 0000000000022000 INFO: task syz-executor.1:21165 blocked for more than 144 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29328 pid:21165 ppid: 12573 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x952/0x2750 fs/namei.c:3556 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7fd8d093fae9 RSP: 002b:00007fd8cde73188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fd8d0a530e0 RCX: 00007fd8d093fae9 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000240 RBP: 00007fd8d0999f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe20e7b76f R14: 00007fd8cde73300 R15: 0000000000022000 INFO: task syz-executor.1:21193 blocked for more than 145 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28272 pid:21193 ppid: 12573 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041 __down_read_common kernel/locking/rwsem.c:1223 [inline] __down_read kernel/locking/rwsem.c:1232 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1472 inode_lock_shared include/linux/fs.h:793 [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:0x7fd8d093fae9 RSP: 002b:00007fd8cde52188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007fd8d0a531a0 RCX: 00007fd8d093fae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007fd8d0999f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe20e7b76f R14: 00007fd8cde52300 R15: 0000000000022000 INFO: task syz-executor.1:21195 blocked for more than 147 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29056 pid:21195 ppid: 12573 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041 __down_read_common kernel/locking/rwsem.c:1223 [inline] __down_read kernel/locking/rwsem.c:1232 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1472 inode_lock_shared include/linux/fs.h:793 [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_parentat+0xb1/0x1c0 fs/namei.c:2496 filename_parentat+0x1bb/0x5a0 fs/namei.c:2519 do_renameat2+0x16f/0xc80 fs/namei.c:4690 __do_sys_rename fs/namei.c:4823 [inline] __se_sys_rename fs/namei.c:4821 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4821 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:0x7fd8d093fae9 RSP: 002b:00007fd8cde31188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fd8d0a53260 RCX: 00007fd8d093fae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007fd8d0999f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe20e7b76f R14: 00007fd8cde31300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6217: #0: ffff8880736a34f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by kworker/u4:8/11080: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffffc9000510fdb0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffffffff9069b3e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:980 [inline] #2: ffffffff9069b3e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1023 2 locks held by systemd-udevd/13387: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by systemd-udevd/13599: 2 locks held by syz-executor.1/21144: 1 lock held by syz-executor.1/21155: #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 2 locks held by syz-executor.1/21165: #0: ffff88803bcb2460 (sb_writers#17){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3339 [inline] #0: ffff88803bcb2460 (sb_writers#17){.+.+}-{0:0}, at: path_openat+0x2548/0x2750 fs/namei.c:3556 #1: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x952/0x2750 fs/namei.c:3556 1 lock held by syz-executor.1/21193: #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 1 lock held by syz-executor.1/21195: #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff88802cf79180 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 1 lock held by systemd-udevd/21293: 1 lock held by systemd-udevd/21297: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-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:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0x405/0x4f0 kernel/kthread.c:327 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: 13387 Comm: systemd-udevd Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:221 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0x65/0xf0 kernel/kcov.c:323 Code: 10 31 c9 65 4c 8b 24 25 40 70 02 00 4d 85 d2 74 6b 4c 89 e6 bf 03 00 00 00 4c 8b 4c 24 20 49 8b 6c c8 10 e8 2d ff ff ff 84 c0 <74> 47 49 8b 84 24 88 15 00 00 41 8b bc 24 84 15 00 00 48 8b 10 48 RSP: 0018:ffffc90005b6f8e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88807dab1d00 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffffffff89fdf8a0 R09: ffffffff83a32119 R10: 0000000000000007 R11: 0000000000000002 R12: ffff88807dab1d00 R13: 0000000000000126 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f962e1b08c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48e79b8000 CR3: 0000000078fd4000 CR4: 0000000000350ef0 Call Trace: tomoyo_domain_quota_is_ok+0x1c9/0x550 security/tomoyo/util.c:1066 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1334 vfs_getattr fs/stat.c:157 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:182 __do_sys_newfstat+0x81/0x100 fs/stat.c:422 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:0x7f962d0222e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007ffd47d5bce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00007f962d2dd440 RCX: 00007f962d0222e2 RDX: 00007ffd47d5bcf0 RSI: 00007ffd47d5bcf0 RDI: 000000000000000f RBP: 000055b72d727d70 R08: 00007f962e1b08c0 R09: 0000000000000230 R10: 000055b72bd5c6b5 R11: 0000000000000246 R12: 000055b72bd5c6b5 R13: 0000000000000002 R14: 00007f962d2dd440 R15: 0000000000000002 ---------------- Code disassembly (best guess): 0: 10 31 adc %dh,(%rcx) 2: c9 leaveq 3: 65 4c 8b 24 25 40 70 mov %gs:0x27040,%r12 a: 02 00 c: 4d 85 d2 test %r10,%r10 f: 74 6b je 0x7c 11: 4c 89 e6 mov %r12,%rsi 14: bf 03 00 00 00 mov $0x3,%edi 19: 4c 8b 4c 24 20 mov 0x20(%rsp),%r9 1e: 49 8b 6c c8 10 mov 0x10(%r8,%rcx,8),%rbp 23: e8 2d ff ff ff callq 0xffffff55 28: 84 c0 test %al,%al * 2a: 74 47 je 0x73 <-- trapping instruction 2c: 49 8b 84 24 88 15 00 mov 0x1588(%r12),%rax 33: 00 34: 41 8b bc 24 84 15 00 mov 0x1584(%r12),%edi 3b: 00 3c: 48 8b 10 mov (%rax),%rdx 3f: 48 rex.W