syzbot


BUG: unable to handle kernel NULL pointer dereference in ucma_set_option

Status: closed as invalid on 2018/06/27 15:08
Subsystems: rdma
[Documentation on labels]
First crash: 2470d, last: 2465d

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
IP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline]
IP: ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline]
IP: ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline]
IP: ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline]
IP: ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325
PGD 800000019f17c067 P4D 800000019f17c067 PUD 19eab8067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 4508 Comm: syz-executor204 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline]
RIP: 0010:ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline]
RIP: 0010:ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline]
RIP: 0010:ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline]
RIP: 0010:ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325
RSP: 0018:ffff8801ab67f9b8 EFLAGS: 00010246
RAX: 00000000000000b0 RBX: ffff8801ca2095b8 RCX: ffff880000000000
RDX: ffff8801ca2115b8 RSI: aaaaaaaaaaaab000 RDI: 00000000000000b0
RBP: ffff8801ab67fb68 R08: 0000000000000000 R09: ffff8801a764fa60
R10: 0000000000000001 R11: ffff8801ab670000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88019fb9c9c0 R15: 0000000000000000
FS:  00007f8ce4235700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000000b0 CR3: 000000019f012000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_write+0x576/0x5e0 drivers/infiniband/core/ucma.c:1656
 __vfs_write+0x1a3/0x9f0 fs/read_write.c:480
 vfs_write+0x463/0x8d0 fs/read_write.c:544
 SYSC_write+0x172/0x360 fs/read_write.c:589
 SyS_write+0x55/0x80 fs/read_write.c:581
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x4456f9
RSP: 002b:00007f8ce4234da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004456f9
RDX: 0000000000000020 RSI: 0000000020000a40 RDI: 0000000000000003
RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 006d635f616d6472
R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000003
Code: 89 df e8 3a cf 5e fa 0f b6 00 48 89 45 b0 8b 02 89 45 84 48 8b 45 c0 48 05 b0 00 00 00 48 83 7d 88 00 48 89 c7 0f 85 14 01 00 00 <48> 8b 1f e8 ce cf 5e fa 49 c1 e7 04 4a 8d 3c 3b 48 83 c7 08 48 
RIP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline] RSP: ffff8801ab67f9b8
RIP: ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline] RSP: ffff8801ab67f9b8
RIP: ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline] RSP: ffff8801ab67f9b8
RIP: ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline] RSP: ffff8801ab67f9b8
RIP: ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325 RSP: ffff8801ab67f9b8
CR2: 00000000000000b0
BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
---[ end trace eb76b3e507d0e0b3 ]---
IP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline]
IP: ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline]
IP: ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline]
IP: ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline]
IP: ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325
PGD 800000019f17c067 P4D 800000019f17c067 PUD 19eab8067 PMD 0 

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/30 21:33 https://github.com/google/kmsan.git master d2d741e5d189 d5b114b4 .config console log report syz C ci-upstream-kmsan-gce
2018/04/30 20:35 https://github.com/google/kmsan.git master d2d741e5d189 d5b114b4 .config console log report ci-upstream-kmsan-gce
2018/04/25 22:31 https://github.com/google/kmsan.git master d2d741e5d189 73417389 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.