syzbot


general protection fault in rdma_resolve_addr

Status: closed as dup on 2018/03/22 15:25
Reported-by: syzbot+06674559539eceb4d6f0@syzkaller.appspotmail.com
First crash: 1796d, last: 1783d
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: null-ptr-deref Write in rdma_resolve_addr C 66 1783d 1794d

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] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 7624 Comm: syzkaller510477 Not tainted 4.16.0-rc5+ #357
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rdma_resolve_addr+0x13c/0x26c0 drivers/infiniband/core/cma.c:2921
RSP: 0018:ffff8801d874f680 EFLAGS: 00010207
RAX: 0000000000000042 RBX: ffff8801d874fa44 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8801d874fa44 RDI: 0000000000000214
RBP: ffff8801d874f9e0 R08: 0000000000000000 R09: 0000000000000000
R10: ffff8801d874f9f8 R11: 0000000000000000 R12: dffffc0000000000
R13: 00000000000000a0 R14: ffff8801d874fa28 R15: 0000000000000000
FS:  00007f9a1a784700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 00000001abc02005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_resolve_ip+0x142/0x1f0 drivers/infiniband/core/ucma.c:677
 ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1633
 __vfs_write+0xef/0x970 fs/read_write.c:480
 vfs_write+0x189/0x510 fs/read_write.c:544
 SYSC_write fs/read_write.c:589 [inline]
 SyS_write+0xef/0x220 fs/read_write.c:581
 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x446aa9
RSP: 002b:00007f9a1a783da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000006e29fc RCX: 0000000000446aa9
RDX: 0000000000000008 RSI: 00000000200003c0 RDI: 0000000000000004
RBP: 00000000006e29f8 R08: 00007f9a1a784700 R09: 0000000000000000
R10: 00007f9a1a784700 R11: 0000000000000246 R12: 006d635f616d6472
R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000003
Code: 31 c0 e8 c8 98 53 fd 48 89 df e8 d0 f5 f5 ff 4c 89 ef 48 63 d0 48 89 de e8 c2 c8 8b fd 49 8d bf 14 02 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 
RIP: rdma_resolve_addr+0x13c/0x26c0 drivers/infiniband/core/cma.c:2921 RSP: ffff8801d874f680
---[ end trace 6e1d12a6837d496c ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (41):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2018/03/17 20:09 upstream 8f5fd927c3a7 08dacaa0 .config console log report syz C
ci-upstream-kasan-gce 2018/03/17 11:40 upstream 8f5fd927c3a7 08dacaa0 .config console log report syz C
ci-upstream-kasan-gce 2018/03/08 03:32 upstream 851710a80961 d50edb7e .config console log report syz C
ci-upstream-kasan-gce-386 2018/03/17 19:48 upstream 8f5fd927c3a7 08dacaa0 .config console log report syz
ci-upstream-kasan-gce 2018/03/20 12:50 upstream 1b5f3ba415fe 72c33b66 .config console log report
ci-upstream-kasan-gce 2018/03/20 03:35 upstream 1b5f3ba415fe 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/20 02:41 upstream 1b5f3ba415fe 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 23:52 upstream 1b5f3ba415fe 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 08:36 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 23:06 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 17:35 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 14:14 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 13:33 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 12:06 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 06:43 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 01:04 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/17 15:04 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/16 04:40 upstream e2c15aff5f35 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/15 14:26 upstream 0aa3fdb8b3a6 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/15 08:28 upstream 0aa3fdb8b3a6 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/15 06:24 upstream 3032f8c504d2 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/15 06:04 upstream 3032f8c504d2 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/15 01:22 upstream 3032f8c504d2 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/13 10:18 upstream fc6eabbbf8ef 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/12 22:40 upstream 0c8efd610b58 f505ca4b .config console log report
ci-upstream-kasan-gce-386 2018/03/20 23:59 upstream 1b5f3ba415fe 113a43ff .config console log report
ci-upstream-kasan-gce-386 2018/03/20 21:32 upstream 1b5f3ba415fe 72c33b66 .config console log report
ci-upstream-kasan-gce-386 2018/03/20 11:49 upstream 1b5f3ba415fe 72c33b66 .config console log report
ci-upstream-kasan-gce-386 2018/03/19 08:52 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/19 03:14 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/18 23:11 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/18 00:04 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/16 11:02 upstream df09348f78dc 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/16 05:49 upstream e2c15aff5f35 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/15 23:07 upstream e2c15aff5f35 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/15 14:31 upstream 0aa3fdb8b3a6 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/15 07:49 upstream 0aa3fdb8b3a6 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/14 10:32 upstream fc6eabbbf8ef 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/14 04:52 upstream fc6eabbbf8ef 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/11 10:20 upstream 3266b5bd97ea 36d1c454 .config console log report
ci-upstream-kasan-gce-386 2018/03/10 07:38 upstream cdb06e9d8f52 36d1c454 .config console log report
* Struck through repros no longer work on HEAD.