syzbot


general protection fault in kmem_cache_alloc

Status: auto-closed as invalid on 2019/10/25 08:39
Reported-by: syzbot+e2736e4f9c5d73c1b9f0@syzkaller.appspotmail.com
First crash: 1792d, last: 1792d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in kmem_cache_alloc net 2 2107d 2118d 0/26 closed as invalid on 2018/09/05 12:51
upstream general protection fault in kmem_cache_alloc (2) net 1 1783d 1779d 0/26 auto-closed as invalid on 2019/10/25 08:48

Sample crash report:
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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/30 17:28 linux-4.19.y 8b2fc0058255 d9aaf3c2 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.