syzbot


general protection fault in sock_from_file

Status: auto-obsoleted due to no activity on 2022/08/27 09:49
Reported-by: syzbot+adcc5d0fca50adbb3e03@syzkaller.appspotmail.com
First crash: 1560d, last: 1556d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in sock_from_file net io-uring C inconclusive 78 1171d 1178d 20/28 fixed on 2021/11/10 00:50
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/08/27 09:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 329 Comm: syz-executor749 Not tainted 5.4.58-syzkaller-00208-gfc9e35d72c06 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sock_from_file+0x27/0xb0 net/socket.c:441
Code: 00 00 00 41 57 41 56 41 54 53 49 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 24 72 1f fe 49 8d 5f 28 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 7a a4 4d fe 48 c7 c0 f0 f5 72 84
RSP: 0018:ffff8881ce24f938 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000028 RCX: ffff8881c38aec80
RDX: 0000000000000000 RSI: ffff8881ce24fa80 RDI: 0000000000000000
RBP: ffff8881ce24fb40 R08: ffffffff8188679b R09: ffffffff81885fd5
R10: ffff8881c38aec80 R11: 000000000000000c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8881ce24fa80 R15: 0000000000000000
FS:  0000000000a50880(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055950de40300 CR3: 00000001c5f0b005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 io_send_recvmsg fs/io_uring.c:1671 [inline]
 io_recvmsg fs/io_uring.c:1727 [inline]
 __io_submit_sqe+0x99d/0x3bf0 fs/io_uring.c:2148
 __io_queue_sqe+0x39/0xa00 fs/io_uring.c:2436
 io_ring_submit fs/io_uring.c:2947 [inline]
 __do_sys_io_uring_enter fs/io_uring.c:3820 [inline]
 __se_sys_io_uring_enter+0xc37/0x1ff0 fs/io_uring.c:3781
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4404e9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffcaaa07108 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004404e9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401cf0
R13: 0000000000401d80 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 9914176413542463 ]---
RIP: 0010:sock_from_file+0x27/0xb0 net/socket.c:441
Code: 00 00 00 41 57 41 56 41 54 53 49 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 24 72 1f fe 49 8d 5f 28 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 7a a4 4d fe 48 c7 c0 f0 f5 72 84
RSP: 0018:ffff8881ce24f938 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000028 RCX: ffff8881c38aec80
RDX: 0000000000000000 RSI: ffff8881ce24fa80 RDI: 0000000000000000
RBP: ffff8881ce24fb40 R08: ffffffff8188679b R09: ffffffff81885fd5
R13: dffffc0000000000 R14: ffff8881ce24fa80 R15: 0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/14 10:40 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report syz C ci2-android-5-4-kasan
2020/08/18 08:23 https://android.googlesource.com/kernel/common android-5.4 61837660f575 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/15 10:28 https://android.googlesource.com/kernel/common android-5.4 c3221b7ac740 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/14 10:58 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report ci2-android-5-4-kasan
2020/08/14 10:53 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report ci2-android-5-4-kasan
2020/08/14 10:23 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.