INFO: task syz-executor.0:6509 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27088 pid: 6509 ppid: 8454 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] open_last_lookups fs/namei.c:3295 [inline] path_openat+0x7fa/0x36b0 fs/namei.c:3504 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 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+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f7da0f25188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 000000000000275a RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe5d8d34ff R14: 00007f7da0f25300 R15: 0000000000022000 INFO: task syz-executor.0:6514 blocked for more than 144 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26576 pid: 6514 ppid: 8454 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 rwsem_down_read_slowpath+0x521/0x960 kernel/locking/rwsem.c:992 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1213 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1662 [inline] walk_component+0x4c8/0x740 fs/namei.c:1959 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2438 filename_lookup+0x279/0x750 fs/namei.c:2467 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:493 [inline] __se_sys_chdir+0x95/0x290 fs/open.c:487 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+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f7da0f04188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffe5d8d34ff R14: 00007f7da0f04300 R15: 0000000000022000 INFO: task syz-executor.0:6533 blocked for more than 145 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27088 pid: 6533 ppid: 8454 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] open_last_lookups fs/namei.c:3295 [inline] path_openat+0x7fa/0x36b0 fs/namei.c:3504 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 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+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f7da0ee3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 000000000000275a RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffe5d8d34ff R14: 00007f7da0ee3300 R15: 0000000000022000 INFO: task syz-executor.0:6540 blocked for more than 146 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27088 pid: 6540 ppid: 8454 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] open_last_lookups fs/namei.c:3295 [inline] path_openat+0x7fa/0x36b0 fs/namei.c:3504 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 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+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f7da0ea1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c318 RCX: 00000000004665e9 RDX: 000000000000275a RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c318 R13: 00007ffe5d8d34ff R14: 00007f7da0ea1300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/1637: #0: ffffffff8c717ec0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by systemd-journal/4860: 1 lock held by systemd-udevd/4862: 1 lock held by in:imklog/8138: #0: ffff8880211db4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 1 lock held by systemd-udevd/21709: #0: ffff8880b9d51558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #0: ffff8880b9d51558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880b9d51558 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880b9d51558 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x150/0x11f0 kernel/sched/core.c:5852 2 locks held by syz-executor.0/6501: 2 locks held by syz-executor.0/6509: #0: ffff88807d46e460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3295 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x7fa/0x36b0 fs/namei.c:3504 1 lock held by syz-executor.0/6514: #0: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1662 [inline] #0: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x4c8/0x740 fs/namei.c:1959 2 locks held by syz-executor.0/6533: #0: ffff88807d46e460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3295 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x7fa/0x36b0 fs/namei.c:3504 2 locks held by syz-executor.0/6540: #0: ffff88807d46e460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3295 [inline] #1: ffff888152707a30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x7fa/0x36b0 fs/namei.c:3504 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1637 Comm: khungtaskd Not tainted 5.14.0-rc6-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+0x1d3/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 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+0xd06/0xd50 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21715 Comm: systemd-udevd Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_switch+0x29/0x100 kernel/kcov.c:303 Code: 00 41 57 41 56 41 54 53 48 8b 4e 08 48 83 c1 f8 48 89 c8 48 c1 c0 3d 48 83 f8 07 0f 87 d3 00 00 00 48 c1 e9 03 ba 8b 00 00 00 <0f> a3 ca 0f 83 c1 00 00 00 4c 8b 16 4d 85 d2 0f 84 b5 00 00 00 4c RSP: 0018:ffffc90016657758 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888014f97100 RCX: 0000000000000000 RDX: 000000000000008b RSI: ffffffff8ccb0a10 RDI: 0000000000000002 RBP: 0000000000000002 R08: ffffffff83cfa145 R09: ffffffff83cfa18b R10: 0000000000000007 R11: ffff88803a1d3880 R12: ffff888141be5710 R13: 00000000000003d5 R14: dffffc0000000000 R15: ffffc90016657aa0 FS: 00007fafb1bc08c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e86b35f408 CR3: 000000014a204000 CR4: 00000000001506e0 Call Trace: tomoyo_domain_quota_is_ok+0x12b/0x5d0 security/tomoyo/util.c:1066 tomoyo_supervisor+0x37d/0x1460 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission+0x248/0x370 security/tomoyo/file.c:587 tomoyo_path_perm+0x3cd/0x650 security/tomoyo/file.c:838 security_inode_getattr+0xc0/0x140 security/security.c:1333 vfs_getattr fs/stat.c:139 [inline] vfs_fstat fs/stat.c:164 [inline] __do_sys_newfstat fs/stat.c:404 [inline] __se_sys_newfstat+0xba/0x820 fs/stat.c:401 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+0x44/0xae RIP: 0033:0x7fafb0a322e2 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:00007ffd77503408 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 000055e86b33cda0 RCX: 00007fafb0a322e2 RDX: 00007ffd77503420 RSI: 00007ffd77503420 RDI: 0000000000000007 RBP: 00007ffd775035a0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000080000 R11: 0000000000000246 R12: 000055e86b353a20 R13: 00007ffd77503500 R14: 0000000000000003 R15: 00007ffd77503560 ---------------- Code disassembly (best guess): 0: 00 41 57 add %al,0x57(%rcx) 3: 41 56 push %r14 5: 41 54 push %r12 7: 53 push %rbx 8: 48 8b 4e 08 mov 0x8(%rsi),%rcx c: 48 83 c1 f8 add $0xfffffffffffffff8,%rcx 10: 48 89 c8 mov %rcx,%rax 13: 48 c1 c0 3d rol $0x3d,%rax 17: 48 83 f8 07 cmp $0x7,%rax 1b: 0f 87 d3 00 00 00 ja 0xf4 21: 48 c1 e9 03 shr $0x3,%rcx 25: ba 8b 00 00 00 mov $0x8b,%edx 2a: 0f a3 ca bt %ecx,%edx <-- trapping instruction 2d: 0f 83 c1 00 00 00 jae 0xf4 33: 4c 8b 16 mov (%rsi),%r10 36: 4d 85 d2 test %r10,%r10 39: 0f 84 b5 00 00 00 je 0xf4 3f: 4c rex.WR