syzbot


general protection fault in rdma_resolve_route

Status: auto-closed as invalid on 2019/02/22 10:34
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+17c13600b3977aa8ef7f@syzkaller.appspotmail.com
First crash: 2198d, last: 2196d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in rdma_resolve_route 2 (3) 2018/04/19 16:23
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in rdma_resolve_route C error 9 702d 1661d 0/1 upstream: reported C repro on 2019/10/06 23:21

Sample crash report:
binder: 23307:23308 got transaction to invalid handle
binder: 23307:23308 transaction failed 29201/-22, size 0-0 line 2848
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: 23302 Comm: syz-executor7 Not tainted 4.17.0-rc1+ #8
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rdma_cap_ib_sa include/rdma/ib_verbs.h:2840 [inline]
RIP: 0010:rdma_resolve_route+0x134/0x2160 drivers/infiniband/core/cma.c:2668
RSP: 0018:ffff8801c94e7850 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff8801d21d6ec0 RCX: 0000000000000029
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000148
RBP: ffff8801c94e7a00 R08: ffffed003a43ae3d R09: ffffed003a43ae3c
R10: ffffed003a43ae3c R11: ffff8801d21d71e3 R12: 1ffff1003929cf12
R13: dffffc0000000000 R14: ffff8801d21d7078 R15: 0000000000000000
FS:  00007f3bc6ab3700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2bc21000 CR3: 00000001c33df000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_resolve_route+0x179/0x1c0 drivers/infiniband/core/ucma.c:741
 ucma_write+0x328/0x410 drivers/infiniband/core/ucma.c:1664
 __vfs_write+0x10b/0x960 fs/read_write.c:485
 vfs_write+0x1f8/0x560 fs/read_write.c:549
 ksys_write+0xf9/0x250 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455379
RSP: 002b:00007f3bc6ab2c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3bc6ab36d4 RCX: 0000000000455379
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000013
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000006ce R14: 00000000006fd3f0 R15: 0000000000000000
Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 14 1c 00 00 48 ba 00 00 00 00 00 fc ff df 48 8b 03 48 8d b8 48 01 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 d7 1b 00 00 45 0f b6 ef 49 c1 e5 04 4c 03 a8 
RIP: rdma_cap_ib_sa include/rdma/ib_verbs.h:2840 [inline] RSP: ffff8801c94e7850
RIP: rdma_resolve_route+0x134/0x2160 drivers/infiniband/core/cma.c:2668 RSP: ffff8801c94e7850
---[ end trace cb4cf2455da66293 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/20 05:40 upstream 87ef12027b9b eae05cb0 .config console log report ci-upstream-kasan-gce
2018/04/19 14:57 upstream 87ef12027b9b 3642839c .config console log report ci-upstream-kasan-gce
2018/04/18 00:48 upstream a27fc14219f2 b80fd3b5 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.