syzbot


general protection fault in kmem_cache_alloc (2)

Status: auto-closed as invalid on 2019/10/25 08:48
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+6457b2038352145c0b5c@syzkaller.appspotmail.com
First crash: 1956d, last: 1956d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in kmem_cache_alloc 1 1965d 1965d 0/1 auto-closed as invalid on 2019/10/25 08:39
upstream general protection fault in kmem_cache_alloc net 2 2279d 2291d 0/28 closed as invalid on 2018/09/05 12:51

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: 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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/08 19:28 net-next-old a6cdeeb16bff 0159583c .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.