syzbot


BUG: unable to handle kernel NULL pointer dereference in smc_setsockopt

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

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 80000001c7b8a067 P4D 80000001c7b8a067 PUD 1cb532067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 4429 Comm: syz-executor083 Not tainted 4.17.0-rc3+ #88
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:smc_setsockopt+0xc4/0x1a0 net/smc/af_smc.c:1287
RSP: 0018:ffff8801be5ffd60 EFLAGS: 00010246
RAX: ffff8801adb202d0 RBX: ffff8801b07c2618 RCX: ffff880000000000
RDX: ffff8801ade842d0 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff8801be5ffdc8 R08: 0000000000000008 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000028 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000b6c880(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000028 CR3: 00000001ae7f0000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __sys_setsockopt+0x4af/0x560 net/socket.c:1903
 __do_sys_setsockopt net/socket.c:1914 [inline]
 __se_sys_setsockopt net/socket.c:1911 [inline]
 __x64_sys_setsockopt+0x15c/0x1c0 net/socket.c:1911
 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x43fcf9
RSP: 002b:00007fff86189ec8 EFLAGS: 00000217 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcf9
RDX: 0000000000000075 RSI: 0000000000000084 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000008 R09: 00000000004002c8
R10: 00000000200012c0 R11: 0000000000000217 R12: 0000000000401620
R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000
Code: 0f 85 ce 00 00 00 4d 8b 37 4c 89 ff e8 f6 bd 0f f8 4c 8b 38 44 8b 22 4c 89 75 a8 4d 8d 6e 28 4d 85 ff 0f 85 b8 00 00 00 45 89 e6 <4d> 8b 65 00 4c 89 ef e8 d0 bd 0f f8 49 83 c4 68 48 83 38 00 0f 
RIP: smc_setsockopt+0xc4/0x1a0 net/smc/af_smc.c:1287 RSP: ffff8801be5ffd60
CR2: 0000000000000028
---[ end trace e9e1118c3db1638f ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/10 18:20 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report syz C ci-upstream-kmsan-gce
2018/05/16 07:01 https://github.com/google/kmsan.git master 06b2df0593a8 68ce85f1 .config console log report ci-upstream-kmsan-gce
2018/05/16 06:48 https://github.com/google/kmsan.git master 06b2df0593a8 68ce85f1 .config console log report ci-upstream-kmsan-gce
2018/05/16 05:49 https://github.com/google/kmsan.git master 06b2df0593a8 68ce85f1 .config console log report ci-upstream-kmsan-gce
2018/05/15 06:59 https://github.com/google/kmsan.git master 450487484278 d2284dda .config console log report ci-upstream-kmsan-gce
2018/05/15 06:55 https://github.com/google/kmsan.git master 450487484278 d2284dda .config console log report ci-upstream-kmsan-gce
2018/05/15 01:46 https://github.com/google/kmsan.git master 450487484278 d2284dda .config console log report ci-upstream-kmsan-gce
2018/05/15 00:13 https://github.com/google/kmsan.git master 450487484278 d2284dda .config console log report ci-upstream-kmsan-gce
2018/05/14 20:06 https://github.com/google/kmsan.git master 450487484278 d2284dda .config console log report ci-upstream-kmsan-gce
2018/05/11 02:28 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/10 22:14 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/10 17: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.