general protection fault in kmem_cache_alloc

17 views
Skip to first unread message

syzbot

unread,
May 30, 2019, 2:29:06 PM5/30/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 8b2fc005 Linux 4.19.46
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1790bb26a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=6cad9a0b204b8583
dashboard link: https://syzkaller.appspot.com/bug?extid=e2736e4f9c5d73c1b9f0
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

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+e2736e...@syzkaller.appspotmail.com

IPVS: ftp: loaded support on port[0] = 21
NET: Registered protocol family 30
Failed to register TIPC socket type
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: 1 PID: 8497 Comm: syz-executor.0 Not tainted 4.19.46 #18
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:____cache_alloc mm/slab.c:3123 [inline]
RIP: 0010:__do_cache_alloc mm/slab.c:3354 [inline]
RIP: 0010:slab_alloc mm/slab.c:3389 [inline]
RIP: 0010:kmem_cache_alloc+0x1b8/0x700 mm/slab.c:3557
Code: 00 49 89 c7 e9 c0 fe ff ff 48 8b 80 98 04 00 00 a8 04 0f 85 0d ff ff
ff 4d 8b 27 e8 72 7f 83 01 89 c0 4c 03 24 c5 e0 ae 4a 88 <41> 8b 14 24 85
d2 0f 84 8b 01 00 00 41 c7 44 24 0c 01 00 00 00 83
RSP: 0018:ffff88808972fbd8 EFLAGS: 00010087
RAX: 0000000000000001 RBX: 00000000006000c0 RCX: ffffc90005e6f000
RDX: 0000000000001373 RSI: ffffffff832484c8 RDI: 0000000000000007
RBP: ffff88808972fc40 R08: ffff888098af21c0 R09: 0000000000000000
R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff1101245799c0
R13: ffff88809b598380 R14: 00000000006000c0 R15: ffff88809b598380
FS: 00007ff669179700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006197e0 CR3: 0000000090a45000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
sk_prot_alloc+0x67/0x2e0 net/core/sock.c:1463
sk_alloc+0x39/0xf70 net/core/sock.c:1523
tipc_sk_create+0xdb/0x1c40 net/tipc/socket.c:441
__sock_create+0x3d8/0x730 net/socket.c:1276
sock_create net/socket.c:1316 [inline]
__sys_socketpair+0x1ea/0x5d0 net/socket.c:1404
__do_sys_socketpair net/socket.c:1457 [inline]
__se_sys_socketpair net/socket.c:1454 [inline]
__x64_sys_socketpair+0x97/0xf0 net/socket.c:1454
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
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:00007ff669178c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000459279
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000001e
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000180 R11: 0000000000000246 R12: 00007ff6691796d4
R13: 00000000004c7cab R14: 00000000004ddfe0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 1ab8885b6481a880 ]---
RIP: 0010:____cache_alloc mm/slab.c:3123 [inline]
RIP: 0010:__do_cache_alloc mm/slab.c:3354 [inline]
RIP: 0010:slab_alloc mm/slab.c:3389 [inline]
RIP: 0010:kmem_cache_alloc+0x1b8/0x700 mm/slab.c:3557
Code: 00 49 89 c7 e9 c0 fe ff ff 48 8b 80 98 04 00 00 a8 04 0f 85 0d ff ff
ff 4d 8b 27 e8 72 7f 83 01 89 c0 4c 03 24 c5 e0 ae 4a 88 <41> 8b 14 24 85
d2 0f 84 8b 01 00 00 41 c7 44 24 0c 01 00 00 00 83
RSP: 0018:ffff88808972fbd8 EFLAGS: 00010087
RAX: 0000000000000001 RBX: 00000000006000c0 RCX: ffffc90005e6f000
RDX: 0000000000001373 RSI: ffffffff832484c8 RDI: 0000000000000007
RBP: ffff88808972fc40 R08: ffff888098af21c0 R09: 0000000000000000
R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff1101245799c0
R13: ffff88809b598380 R14: 00000000006000c0 R15: ffff88809b598380
FS: 00007ff669179700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006197e0 CR3: 0000000090a45000 CR4: 00000000001406e0
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:39:06 AM10/25/19
to syzkaller...@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