INFO: task syz-executor.1:32126 blocked for more than 143 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:29128 pid:32126 ppid: 8435 flags:0x00004004
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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523
io_uring_release+0x42/0x46 fs/io_uring.c:9552
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f32685a1b32
RSP: 002b:00007f3265ad50f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
RAX: 0000000020ffe000 RBX: 0000000000008011 RCX: 00007f32685a1b32
RDX: 0000000000000003 RSI: 0000000000100000 RDI: 0000000020ffe000
RBP: 0000000020ffe000 R08: 0000000000000003 R09: 0000000010000000
R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000140
R13: 0000000020ffe000 R14: 0000000020000100 R15: 0000000020002000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb81120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by systemd-udevd/2977:
1 lock held by in:imklog/6230:
#0: ffff8880204b3170 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by systemd-udevd/10635:
#0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
2 locks held by systemd-udevd/10670:
#0: ffff88807d9fc460 (sb_writers#3){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3339 [inline]
#0: ffff88807d9fc460 (sb_writers#3){.+.+}-{0:0}, at: path_openat+0x2548/0x2750 fs/namei.c:3556
#1: ffff88807529a8f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff88807529a8f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline]
#1: ffff88807529a8f0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x952/0x2750 fs/namei.c:3556
2 locks held by systemd-udevd/10678:
#0: ffff88807d9fc460 (sb_writers#3){.+.+}-{0:0}, at: do_renameat2+0x37b/0xc80 fs/namei.c:4713
#1: ffff88807529a8f0 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline]
#1: ffff88807529a8f0 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2915
1 lock held by syz-executor.1/32100:
1 lock held by syz-executor.1/32126:
#0: ffff8880855be0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-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: 10670 Comm: systemd-udevd Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_cmp4+0xc/0x70 kernel/kcov.c:260
Code: e8 48 c7 44 38 e0 07 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 <89> f1 65 48 8b 34 25 40 70 02 00 e8 34 f8 ff ff 84 c0 74 4b 48 8b
RSP: 0018:ffffc90009fe76e8 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 000000004bdb7fd1 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 000000004bdb7fd1 RDI: 0000000000000003
RBP: 000000003e306e34 R08: 000000003e306e34 R09: 0000000000000000
R10: ffffffff83aa1f8c R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807419c900 R14: ffff88801d224528 R15: ffff888023a580a0
FS: 00007fecb052d8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c002e09740 CR3: 0000000071cd5000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tomoyo_pathcmp security/tomoyo/common.h:1168 [inline]
tomoyo_path_matches_pattern+0x1fc/0x280 security/tomoyo/util.c:946
tomoyo_compare_name_union security/tomoyo/file.c:87 [inline]
tomoyo_compare_name_union security/tomoyo/file.c:82 [inline]
tomoyo_check_path_acl security/tomoyo/file.c:260 [inline]
tomoyo_check_path_acl+0x180/0x210 security/tomoyo/file.c:252
tomoyo_check_acl+0x13c/0x450 security/tomoyo/domain.c:175
tomoyo_path_permission security/tomoyo/file.c:586 [inline]
tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573
tomoyo_check_open_permission+0x33e/0x380 security/tomoyo/file.c:777
tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline]
tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306
security_file_open+0x45/0xb0 security/security.c:1635
do_dentry_open+0x353/0x1250 fs/open.c:809
do_open fs/namei.c:3426 [inline]
path_openat+0x1cad/0x2750 fs/namei.c:3559
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:0x7fecaf39f6f0
Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24
RSP: 002b:00007ffe22a361e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fecaf39f6f0
RDX: 0000000000000180 RSI: 00000000000800c2 RDI: 0000559e5b9d5e90
RBP: 000000000003a2f8 R08: 000000000000fcfe R09: 0000000000000030
R10: 0000000000000000 R11: 0000000000000246 R12: 0000559e5b9d5ea5
R13: 8421084210842109 R14: 00000000000800c2 R15: 00007fecaf42d540
----------------
Code disassembly (best guess):
0: e8 48 c7 44 38 callq 0x3844c74d
5: e0 07 loopne 0xe
7: 00 00 add %al,(%rax)
9: 00 48 89 add %cl,-0x77(%rax)
c: 4c 38 f0 rex.WR cmp %r14b,%al
f: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8)
14: 48 89 10 mov %rdx,(%rax)
17: c3 retq
18: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
1e: 41 89 f8 mov %edi,%r8d
21: bf 03 00 00 00 mov $0x3,%edi
26: 4c 8b 14 24 mov (%rsp),%r10
* 2a: 89 f1 mov %esi,%ecx <-- trapping instruction
2c: 65 48 8b 34 25 40 70 mov %gs:0x27040,%rsi
33: 02 00
35: e8 34 f8 ff ff callq 0xfffff86e
3a: 84 c0 test %al,%al
3c: 74 4b je 0x89
3e: 48 rex.W
3f: 8b .byte 0x8b