syzbot


general protection fault in ucma_query_route

Status: closed as dup on 2018/03/19 10:15
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+b112de930fe45b40da14@syzkaller.appspotmail.com
First crash: 2268d, last: 2261d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in ucma_connect rdma C 2 2262d 2261d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in ucma_query_route 1 (2) 2018/03/19 10:15

Sample crash report:
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
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: 1 PID: 4440 Comm: syzkaller237480 Not tainted 4.16.0-rc5+ #357
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ucma_query_route+0x15e/0x1080 drivers/infiniband/core/ucma.c:817
RSP: 0018:ffff8801d80d7910 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff1003b01af26 RCX: 0000000000000000
RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffff8801abde66f0
RBP: ffff8801d80d7ac0 R08: ffffed003b01af4b R09: ffff8801d80d7990
R10: 0000000000000000 R11: ffffed003b01af4a R12: ffff8801abde6680
R13: ffff8801d80d7990 R14: 0000000000000020 R15: 0000000000000000
FS:  00007f46621d5700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f46621b3e78 CR3: 00000001b17f1001 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 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:0x446739
RSP: 002b:00007f46621d4da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000006dcc5c RCX: 0000000000446739
RDX: 00000000fffffdaa RSI: 0000000020000140 RDI: 0000000000000019
RBP: 00000000006dcc58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 006d635f616d6472
R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000006
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 0c 00 00 4d 8b 7c 24 70 48 b8 00 00 00 00 00 fc ff df 4d 8d 77 20 4c 89 f2 48 c1 ea 03 <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 
RIP: ucma_query_route+0x15e/0x1080 drivers/infiniband/core/ucma.c:817 RSP: ffff8801d80d7910
---[ end trace 59e3543d89e6db35 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/17 01:33 upstream 8f5fd927c3a7 08dacaa0 .config console log report syz C ci-upstream-kasan-gce
2018/03/10 15:35 upstream cdb06e9d8f52 36d1c454 .config console log report syz C ci-upstream-kasan-gce
2018/03/17 01:36 upstream 8f5fd927c3a7 08dacaa0 .config console log report syz ci-upstream-kasan-gce-386
2018/03/10 14:23 upstream cdb06e9d8f52 36d1c454 .config console log report syz ci-upstream-kasan-gce-386
2018/03/10 13:59 upstream cdb06e9d8f52 36d1c454 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.