general protection fault in kmem_cache_alloc (2)

21 views
Skip to first unread message

syzbot

unread,
Jun 12, 2019, 4:36:06 PM6/12/19
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: a6cdeeb1 Merge git://git.kernel.org/pub/scm/linux/kernel/g..
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=151aabfea00000
kernel config: https://syzkaller.appspot.com/x/.config?x=f7a0e5816ab80450
dashboard link: https://syzkaller.appspot.com/bug?extid=6457b2038352145c0b5c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [a...@kernel.org b...@vger.kernel.org dan...@iogearbox.net
da...@davemloft.net ka...@fb.com kuz...@ms2.inr.ac.ru
linux-...@vger.kernel.org net...@vger.kernel.org songliu...@fb.com
y...@fb.com yosh...@linux-ipv6.org net...@vger.kernel.org]

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

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

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: 16690 Comm: syz-executor.4 Not tainted 5.2.0-rc3+ #20
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:66
Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48
ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 <f3> aa 4c 89 c8
c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01
RSP: 0018:ffff88805530fc08 EFLAGS: 00010206
RAX: 0000000000000000 RBX: dffffc00000000c2 RCX: 00000000000000c0
RDX: 00000000000000c0 RSI: 0000000000000000 RDI: dffffc0000000002
RBP: ffff88805530fc20 R08: ffff8880a5cb6280 R09: dffffc0000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000600
R13: 0000000000000014 R14: 0000000000000613 R15: ffff888099bc9b00
FS: 00007fd85f6b0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557359978 CR3: 0000000065689000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__kasan_kmalloc.constprop.0+0x4c/0xe0 mm/kasan/common.c:484
kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:497
slab_post_alloc_hook mm/slab.h:437 [inline]
slab_alloc mm/slab.c:3326 [inline]
kmem_cache_alloc+0x11a/0x6f0 mm/slab.c:3488
sk_prot_alloc+0x67/0x2e0 net/core/sock.c:1596
sk_alloc+0x39/0xf70 net/core/sock.c:1656
inet_create net/ipv4/af_inet.c:321 [inline]
inet_create+0x36a/0xe00 net/ipv4/af_inet.c:247
__sock_create+0x3d8/0x730 net/socket.c:1424
sock_create net/socket.c:1475 [inline]
__sys_socket+0x103/0x220 net/socket.c:1517
__do_sys_socket net/socket.c:1526 [inline]
__se_sys_socket net/socket.c:1524 [inline]
__x64_sys_socket+0x73/0xb0 net/socket.c:1524
do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459279
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fd85f6afc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459279
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000002
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd85f6b06d4
R13: 00000000004c7cab R14: 00000000004de1a8 R15: 00000000ffffffff
Modules linked in:
---[ end trace c01229a19fac01ff ]---
RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:66
Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48
ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 <f3> aa 4c 89 c8
c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01
RSP: 0018:ffff88805530fc08 EFLAGS: 00010206
RAX: 0000000000000000 RBX: dffffc00000000c2 RCX: 00000000000000c0
RDX: 00000000000000c0 RSI: 0000000000000000 RDI: dffffc0000000002
RBP: ffff88805530fc20 R08: ffff8880a5cb6280 R09: dffffc0000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000600
R13: 0000000000000014 R14: 0000000000000613 R15: ffff888099bc9b00
FS: 00007fd85f6b0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f421000 CR3: 0000000065689000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Oct 25, 2019, 4:48:05 AM10/25/19
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