syzbot


general protection fault in rdma_listen (2)

Status: auto-closed as invalid on 2020/08/11 01:18
Reported-by: syzbot+19339e156664dfa15f9e@syzkaller.appspotmail.com
First crash: 1707d, last: 1686d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rdma_listen (2) rdma syz done 104 1697d 2209d 15/28 fixed on 2020/05/10 10:41
linux-4.19 general protection fault in rdma_listen 1 1988d 1988d 0/1 auto-closed as invalid on 2019/10/25 08:41
upstream general protection fault in rdma_listen rdma C 36 2441d 2453d 0/28 closed as dup on 2018/03/22 15:25
linux-4.14 BUG: corrupted list in rdma_listen (2) C error 21 817d 1578d 0/1 upstream: reported C repro on 2020/07/30 18:22
linux-4.14 general protection fault in rdma_listen 7 1640d 1726d 0/1 auto-closed as invalid on 2020/09/26 15:09

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] PREEMPT SMP KASAN
CPU: 0 PID: 18184 Comm: syz-executor.0 Not tainted 4.19.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline]
RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388
Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 60 98 4a 89 e8 6f 62 ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff888044f2fb80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff888046156dc0 R08: 00000000000065cf R09: fffffbfff129530d
R10: ffff888044f2fb80 R11: ffffffff894a9867 R12: 0000000000000000
R13: 0000000000000400 R14: ffff8880a5d67700 R15: 0000000000000008
FS:  00007f9fb14f4700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe55f329f8 CR3: 000000009e112000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100
 ucma_write+0x285/0x350 drivers/infiniband/core/ucma.c:1689
 __vfs_write+0xf7/0x760 fs/read_write.c:485
 vfs_write+0x206/0x550 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c889
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9fb14f3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9fb14f46d4 RCX: 000000000045c889
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bfac
Modules linked in:
---[ end trace 0747c5a010e9ff65 ]---
RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline]
RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388
Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 60 98 4a 89 e8 6f 62 ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff888044f2fb80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff888046156dc0 R08: 00000000000065cf R09: fffffbfff129530d
R10: ffff888044f2fb80 R11: ffffffff894a9867 R12: 0000000000000000
R13: 0000000000000400 R14: ffff8880a5d67700 R15: 0000000000000008
FS:  00007f9fb14f4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff667fdff8 CR3: 000000009e112000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/13 01:17 linux-4.19.y dda0e2920330 17a986e5 .config console log report ci2-linux-4-19
2020/04/12 18:41 linux-4.19.y dda0e2920330 36b0b050 .config console log report ci2-linux-4-19
2020/04/11 19:37 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report ci2-linux-4-19
2020/04/10 16:59 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report ci2-linux-4-19
2020/04/02 20:15 linux-4.19.y dda0e2920330 a34e2c33 .config console log report ci2-linux-4-19
2020/03/30 20:24 linux-4.19.y 54b4fa6d3955 c8d1cc20 .config console log report ci2-linux-4-19
2020/03/23 13:44 linux-4.19.y 14cfdbd39e31 78267cec .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.