Hello,
syzbot found the following crash on:
HEAD commit: 1ec8f1f0 Linux 4.14.111
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1029952d200000
kernel config:
https://syzkaller.appspot.com/x/.config?x=fdadf290ea9fc6f9
dashboard link:
https://syzkaller.appspot.com/bug?extid=e31aa57e9a97afc20d15
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+e31aa5...@syzkaller.appspotmail.com
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 11848 Comm: syz-executor.0 Not tainted 4.14.111 #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: ffff8880a0302200 task.stack: ffff888062238000
RIP: 0010:addr_resolve+0x28c/0xa80 drivers/infiniband/core/addr.c:586
RSP: 0018:ffff88806223f828 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90006227000
RDX: 00000000000000a8 RSI: ffffffff846d7dcb RDI: 0000000000000282
RBP: ffff88806223f920 R08: ffff8880a0302200 R09: 0000000000000000
R10: 0000000000000000 R11: ffff8880a0302200 R12: 00000000ffffff9d
R13: ffff888081e88780 R14: ffff888082c28ee0 R15: 0000000000000540
FS: 00007fe02ec22700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000625208 CR3: 0000000086d78000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rdma_resolve_ip+0x3d9/0x660 drivers/infiniband/core/addr.c:710
rdma_resolve_addr+0x1f5/0x2520 drivers/infiniband/core/cma.c:2931
ucma_resolve_addr+0x158/0x1f0 drivers/infiniband/core/ucma.c:719
ucma_write+0x234/0x310 drivers/infiniband/core/ucma.c:1672
__vfs_write+0x107/0x6c0 fs/read_write.c:480
vfs_write+0x198/0x500 fs/read_write.c:544
SYSC_write fs/read_write.c:589 [inline]
SyS_write+0xb8/0x180 fs/read_write.c:581
do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x458c29
RSP: 002b:00007fe02ec21c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29
RDX: 0000000000000013 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe02ec226d4
R13: 00000000004c4bf6 R14: 00000000004de030 R15: 00000000ffffffff
Code: e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f4 06 00 00 45 89 6e 64 e8 85
59 ef fc 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00
0f 85 c3 06 00 00 48 8b 83 40 05 00 00 65 ff 08 e8
RIP: addr_resolve+0x28c/0xa80 drivers/infiniband/core/addr.c:586 RSP:
ffff88806223f828
---[ end trace e6a58b313dc2354d ]---
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.