syzbot


BUG: unable to handle kernel NULL pointer dereference in kmem_cache_alloc (2)

Status: closed as invalid on 2018/09/05 12:51
Subsystems: net s390
[Documentation on labels]
First crash: 2386d, last: 2386d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in kmem_cache_alloc kernel 1 2435d 2434d 0/28 closed as invalid on 2018/06/08 07:46

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 00000000000004df
PGD 8000000074776067 P4D 8000000074776067 PUD 5afdf067 PMD 0 
Oops: 0000 [#1] SMP PTI
CPU: 0 PID: 4735 Comm: syz-executor5 Not tainted 4.18.0-rc4+ #27
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:freelist_dereference mm/slub.c:264 [inline]
RIP: 0010:get_freepointer mm/slub.c:270 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline]
RIP: 0010:slab_alloc mm/slub.c:2728 [inline]
RIP: 0010:kmem_cache_alloc+0x4b9/0xbb0 mm/slub.c:2733
Code: 7d 98 00 0f 85 92 fe ff ff 48 8b bd 60 ff ff ff 44 8b 37 e8 a9 b3 03 00 8b 00 4d 01 e6 48 8b 4d 90 48 09 c1 0f 85 7e fe ff ff <49> 8b 1e 4c 89 f7 e8 cc b3 03 00 4c 8b 30 8b 02 89 45 b4 48 83 7d 
RSP: 0018:ffff880078b8fa40 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 0000000000000000
RDX: ffff88013bf71ca0 RSI: aaaaaaaaaaaab000 RDI: ffffea0006e17ce0
RBP: ffff880078b8faf8 R08: 0000000000480020 R09: ffff88021fc39090
R10: 0000000000000000 R11: ffffffff89ee47f0 R12: ffffffffffffffff
R13: ffffe8ffffc51000 R14: 00000000000004df R15: ffff8801416e4400
FS:  00007f5af2f9d700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000004df CR3: 000000005bdd2000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 sk_prot_alloc+0xf6/0x4b0 net/core/sock.c:1475
 sk_alloc+0xf1/0xc00 net/core/sock.c:1535
 smc_sock_alloc+0x101/0x830 net/smc/af_smc.c:186
 smc_create+0x19a/0x570 net/smc/af_smc.c:1690
 __sock_create+0x723/0xf70 net/socket.c:1286
 sock_create net/socket.c:1326 [inline]
 __sys_socket+0x184/0x670 net/socket.c:1356
 __do_sys_socket net/socket.c:1365 [inline]
 __se_sys_socket net/socket.c:1363 [inline]
 __x64_sys_socket+0xd8/0x120 net/socket.c:1363
 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x455ab9
Code: 1d ba 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 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f5af2f9cc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f5af2f9d6d4 RCX: 0000000000455ab9
RDX: 0000000000000000 RSI: 0000000000000801 RDI: 000000000000002b
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c1c60 R14: 00000000004d3420 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: 00000000000004df
---[ end trace 774a4bd95b71e99b ]---
RIP: 0010:freelist_dereference mm/slub.c:264 [inline]
RIP: 0010:get_freepointer mm/slub.c:270 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline]
RIP: 0010:slab_alloc mm/slub.c:2728 [inline]
RIP: 0010:kmem_cache_alloc+0x4b9/0xbb0 mm/slub.c:2733
Code: 7d 98 00 0f 85 92 fe ff ff 48 8b bd 60 ff ff ff 44 8b 37 e8 a9 b3 03 00 8b 00 4d 01 e6 48 8b 4d 90 48 09 c1 0f 85 7e fe ff ff <49> 8b 1e 4c 89 f7 e8 cc b3 03 00 4c 8b 30 8b 02 89 45 b4 48 83 7d 
RSP: 0018:ffff880078b8fa40 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 0000000000000000
RDX: ffff88013bf71ca0 RSI: aaaaaaaaaaaab000 RDI: ffffea0006e17ce0
RBP: ffff880078b8faf8 R08: 0000000000480020 R09: ffff88021fc39090
R10: 0000000000000000 R11: ffffffff89ee47f0 R12: ffffffffffffffff
R13: ffffe8ffffc51000 R14: 00000000000004df R15: ffff8801416e4400
FS:  00007f5af2f9d700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000004df CR3: 000000005bdd2000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/17 04:26 https://github.com/google/kmsan.git master 80ecacc456c1 13761366 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.