INFO: task syz-executor.0:2062 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.0 state:D stack:28312 pid: 2062 ppid: 6535 flags:0x00004000
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_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9746
io_uring_clean_tctx fs/io_uring.c:9762 [inline]
io_uring_cancel_generic+0x5d5/0x690 fs/io_uring.c:9851
io_uring_files_cancel include/linux/io_uring.h:16 [inline]
do_exit+0x60c/0x2b40 kernel/exit.c:787
do_group_exit+0x125/0x310 kernel/exit.c:929
get_signal+0x47d/0x2220 kernel/signal.c:2852
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/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:0x7f36dc569ae9
RSP: 002b:00007f36d9abe218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f36dc67d028 RCX: 00007f36dc569ae9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f36dc67d028
RBP: 00007f36dc67d020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f36dc67d02c
R13: 00007f36dcbb0b2f R14: 00007f36d9abe300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6220:
#0: ffff8880722b2ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
1 lock held by syz-executor.4/3299:
#0: ffff88806bafbe10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff88806bafbe10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
1 lock held by syz-executor.4/9394:
#0: ffff8880339a3210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff8880339a3210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
1 lock held by syz-executor.3/18887:
#0: ffff888038634a10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff888038634a10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
1 lock held by syz-executor.4/22799:
#0: ffff8880386c8e10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff8880386c8e10 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
1 lock held by syz-executor.5/26303:
#0: ffff8880387c2610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff8880387c2610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
2 locks held by kworker/u4:9/26833:
1 lock held by syz-executor.1/29486:
#0: ffff888038775610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#0: ffff888038775610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648
3 locks held by syz-executor.0/2050:
1 lock held by syz-executor.0/2062:
#0: ffff888026c920a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9746
1 lock held by syz-executor.0/2063:
=============================================
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: 2963 Comm: systemd-journal Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:fsnotify_parent include/linux/fsnotify.h:77 [inline]
RIP: 0010:fsnotify_file include/linux/fsnotify.h:99 [inline]
RIP: 0010:fsnotify_perm.part.0+0x21b/0x620 include/linux/fsnotify.h:124
Code: c1 ea 03 80 3c 02 00 0f 85 af 03 00 00 48 3b 6d 50 0f 84 a5 00 00 00 e8 13 a2 d8 fd b9 01 00 00 00 4c 89 ea 44 89 fe 48 89 ef 80 b1 3c fe 41 89 c4 eb 03 45 31 e4 e8 f3 a1 d8 fd 44 89 e0 48
RSP: 0018:ffffc90001f5fdc0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888011f9b2e8 RCX: 0000000000000001
RDX: ffff88807b820a10 RSI: 0000000000020000 RDI: ffff888016aac5e0
RBP: ffff888016aac5e0 R08: 0000000000000000 R09: 0000000000002000
R10: ffffffff839ef70e R11: 0000000000004000 R12: 0000000000002000
R13: ffff88807b820a10 R14: ffff888140062000 R15: 0000000000020000
FS: 00007fb1d42ff8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1d110b010 CR3: 000000007f434000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
fsnotify_perm include/linux/fsnotify.h:108 [inline]
security_file_permission+0xa3/0xd0 security/security.c:1511
rw_verify_area+0xae/0x1c0 fs/read_write.c:385
vfs_read+0x126/0x600 fs/read_write.c:472
ksys_read+0x12d/0x250 fs/read_write.c:619
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:0x7fb1d388e210
Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24
RSP: 002b:00007ffd1d7d3b58 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007ffd1d7d65d0 RCX: 00007fb1d388e210
RDX: 0000000000002000 RSI: 00007ffd1d7d43d0 RDI: 0000000000000009
RBP: 0000000000000000 R08: 0000000000000008 R09: 00007ffd1d7eb080
R10: 00007ffd1d7eb0f0 R11: 0000000000000246 R12: 00007ffd1d7d43d0
R13: 00007ffd1d7d6528 R14: 000056277ffbb958 R15: 0005d1956fad3f02
----------------
Code disassembly (best guess):
0: c1 ea 03 shr $0x3,%edx
3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
7: 0f 85 af 03 00 00 jne 0x3bc
d: 48 3b 6d 50 cmp 0x50(%rbp),%rbp
11: 0f 84 a5 00 00 00 je 0xbc
17: e8 13 a2 d8 fd callq 0xfdd8a22f
1c: b9 01 00 00 00 mov $0x1,%ecx
21: 4c 89 ea mov %r13,%rdx
24: 44 89 fe mov %r15d,%esi
27: 48 89 ef mov %rbp,%rdi
* 2a: e8 80 b1 3c fe callq 0xfe3cb1af <-- trapping instruction
2f: 41 89 c4 mov %eax,%r12d
32: eb 03 jmp 0x37
34: 45 31 e4 xor %r12d,%r12d
37: e8 f3 a1 d8 fd callq 0xfdd8a22f
3c: 44 89 e0 mov %r12d,%eax
3f: 48 rex.W