syzbot


general protection fault in rdma_listen

Status: auto-closed as invalid on 2020/09/26 15:09
Reported-by: syzbot+cea863a7d8c0caec7b5f@syzkaller.appspotmail.com
First crash: 1746d, last: 1660d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in rdma_listen (2) 7 1706d 1727d 0/1 auto-closed as invalid on 2020/08/11 01:18
upstream general protection fault in rdma_listen (2) rdma syz done 104 1717d 2229d 15/28 fixed on 2020/05/10 10:41
linux-4.19 general protection fault in rdma_listen 1 2008d 2008d 0/1 auto-closed as invalid on 2019/10/25 08:41
upstream general protection fault in rdma_listen rdma C 36 2461d 2473d 0/28 closed as dup on 2018/03/22 15:25
linux-4.14 BUG: corrupted list in rdma_listen (2) C error 21 837d 1598d 0/1 upstream: reported C repro on 2020/07/30 18:22

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
input: syz0 as /devices/virtual/input/input5
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: 1 PID: 14022 Comm: syz-executor.1 Not tainted 4.14.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888087a3c640 task.stack: ffff88809f670000
RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3187 [inline]
RIP: 0010:rdma_listen+0x281/0x7d0 drivers/infiniband/core/cma.c:3300
RSP: 0018:ffff88809f677bf0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff11013ecef86 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008
RBP: ffff8880a58a6480 R08: ffffffff8a380bc0 R09: ffffffff89e6d798
R10: ffff88809f677bf0 R11: ffff888087a3c640 R12: 0000000000000000
R13: 0000000000000400 R14: ffff8880a52a2e00 R15: 0000000000000008
FS:  00007f517905e700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30422000 CR3: 0000000091a22000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_listen+0x10b/0x160 drivers/infiniband/core/ucma.c:1078
 ucma_write+0x206/0x2c0 drivers/infiniband/core/ucma.c:1672
 __vfs_write+0xe4/0x630 fs/read_write.c:480
 vfs_write+0x17f/0x4d0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca69
RSP: 002b:00007f517905dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000050c200 RCX: 000000000045ca69
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000cce R14: 00000000004cf1fb R15: 00007f517905e6d4
Code: 4c 8b a5 c0 01 00 00 31 f6 48 c7 c7 60 d5 3a 88 e8 e5 af 9a 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 cd 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 
RIP: cma_bind_listen drivers/infiniband/core/cma.c:3187 [inline] RSP: ffff88809f677bf0
RIP: rdma_listen+0x281/0x7d0 drivers/infiniband/core/cma.c:3300 RSP: ffff88809f677bf0
input: syz0 as /devices/virtual/input/input6
---[ end trace 4e984deacf35f8d4 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/29 15:08 linux-4.14.y 4f68020fef1c bed08304 .config console log report ci2-linux-4-14
2020/04/17 13:32 linux-4.14.y c10b57a567e4 18397578 .config console log report ci2-linux-4-14
2020/04/14 12:11 linux-4.14.y c10b57a567e4 3f3c5574 .config console log report ci2-linux-4-14
2020/03/25 08:42 linux-4.14.y 01364dad1d45 41f049cc .config console log report ci2-linux-4-14
2020/03/25 03:56 linux-4.14.y 01364dad1d45 68660b21 .config console log report ci2-linux-4-14
2020/03/16 14:51 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/03/03 22:44 linux-4.14.y 78d697fc93f9 1f73b64b .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.