syzbot


BUG: unable to handle kernel NULL pointer dereference in smc_getname

Status: closed as invalid on 2018/06/27 15:18
Subsystems: smc
[Documentation on labels]
First crash: 2671d, last: 2669d

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
PGD 80000001c8d08067 P4D 80000001c8d08067 PUD 1c9e55067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 4511 Comm: syz-executor767 Not tainted 4.17.0-rc3+ #88
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:smc_getname+0x188/0x290 net/smc/af_smc.c:1089
RSP: 0018:ffff88019748fd30 EFLAGS: 00010246
RAX: ffff8801bf7982d0 RBX: 0000000000000000 RCX: ffff880000000000
RDX: ffff8801aa2142d0 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff88019748fd80 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88019b706098
R13: 0000000000000028 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f5baac4f700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000028 CR3: 0000000199f1c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __sys_getsockname+0x2bb/0x4b0 net/socket.c:1699
 __do_sys_getsockname net/socket.c:1714 [inline]
 __se_sys_getsockname net/socket.c:1711 [inline]
 __x64_sys_getsockname+0xda/0x120 net/socket.c:1711
 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4454e9
RSP: 002b:00007f5baac4edb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000033
RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004454e9
RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffd10c64bf R14: 00007f5baac4f9c0 R15: 0000000000000001
Code: 85 f6 0f 85 c4 00 00 00 49 8b 5d 00 4c 89 ef e8 6f e6 0f f8 4c 8b 38 44 8b 32 48 89 5d d0 4c 8d 6b 28 4d 85 ff 0f 85 ae 00 00 00 <49> 8b 5d 00 4c 89 ef e8 4c e6 0f f8 48 83 c3 38 48 83 38 00 0f 
RIP: smc_getname+0x188/0x290 net/smc/af_smc.c:1089 RSP: ffff88019748fd30
CR2: 0000000000000028
---[ end trace 3072a436a2f7eca7 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/10 05:25 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report syz C ci-upstream-kmsan-gce
2018/05/12 06:28 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/10 04:53 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.