general protection fault in connect_file

3 views
Skip to first unread message

syzbot

unread,
Sep 2, 2021, 3:23:25 PM9/2/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 835d31d319d9 Merge tag 'media/v5.15-1' of git://git.kernel..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=148ed691300000
kernel config: https://syzkaller.appspot.com/x/.config?x=9c32e23fada3a0e4
dashboard link: https://syzkaller.appspot.com/bug?extid=dd1266d1c3291940234d
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1
CC: [and...@kernel.org a...@kernel.org b...@vger.kernel.org dan...@iogearbox.net da...@davemloft.net john.fa...@gmail.com ka...@fb.com kps...@kernel.org ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org songliu...@fb.com y...@fb.com]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dd1266...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 PID: 15141 Comm: syz-executor.2 Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sock_from_file net/socket.c:505 [inline]
RIP: 0010:__sys_connect_file+0x2f/0x1a0 net/socket.c:1885
Code: 89 d6 41 55 49 89 f5 41 54 55 89 cd 53 48 89 fb e8 d6 7c 62 fa 48 8d 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2b 01 00 00 48 81 7b 28 00 32 8a 8a 74 19 41 bc
RSP: 0018:ffffc9000276f9e0 EFLAGS: 00010216
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d879000
RDX: 0000000000000005 RSI: ffffffff8713a33a RDI: 0000000000000028
RBP: 0000000000000800 R08: 0000000000000000 R09: ffff888016e71010
R10: ffffffff81e2b9a2 R11: 0000000000000010 R12: 0000000000000003
R13: ffffc9000276fa50 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fc4fba1d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32026000 CR3: 0000000087801000 CR4: 0000000000350ef0
Call Trace:
io_connect+0x10d/0x6a0 fs/io_uring.c:5114
io_issue_sqe+0xf4e/0x6ba0 fs/io_uring.c:6599
__io_queue_sqe+0x90/0xb50 fs/io_uring.c:6864
io_req_task_submit+0xbf/0x1b0 fs/io_uring.c:2218
tctx_task_work+0x166/0x610 fs/io_uring.c:2143
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_signal include/linux/tracehook.h:212 [inline]
handle_signal_work kernel/entry/common.c:146 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x256/0x290 kernel/entry/common.c:209
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc4fba1d188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 0000000000000200 RBX: 000000000056bf80 RCX: 00000000004665f9
RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000004
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffe8c0a6d3f R14: 00007fc4fba1d300 R15: 0000000000022000
Modules linked in:
---[ end trace 28a3cbbdab43c64a ]---
RIP: 0010:sock_from_file net/socket.c:505 [inline]
RIP: 0010:__sys_connect_file+0x2f/0x1a0 net/socket.c:1885
Code: 89 d6 41 55 49 89 f5 41 54 55 89 cd 53 48 89 fb e8 d6 7c 62 fa 48 8d 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2b 01 00 00 48 81 7b 28 00 32 8a 8a 74 19 41 bc
RSP: 0018:ffffc9000276f9e0 EFLAGS: 00010216
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d879000
RDX: 0000000000000005 RSI: ffffffff8713a33a RDI: 0000000000000028
RBP: 0000000000000800 R08: 0000000000000000 R09: ffff888016e71010
R10: ffffffff81e2b9a2 R11: 0000000000000010 R12: 0000000000000003
R13: ffffc9000276fa50 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fc4fba1d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e4b40 CR3: 0000000087801000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 89 d6 mov %edx,%esi
2: 41 55 push %r13
4: 49 89 f5 mov %rsi,%r13
7: 41 54 push %r12
9: 55 push %rbp
a: 89 cd mov %ecx,%ebp
c: 53 push %rbx
d: 48 89 fb mov %rdi,%rbx
10: e8 d6 7c 62 fa callq 0xfa627ceb
15: 48 8d 7b 28 lea 0x28(%rbx),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 2b 01 00 00 jne 0x15f
34: 48 81 7b 28 00 32 8a cmpq $0xffffffff8a8a3200,0x28(%rbx)
3b: 8a
3c: 74 19 je 0x57
3e: 41 rex.B
3f: bc .byte 0xbc


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 5, 2021, 9:17:12 PM12/5/21
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages