syzbot


general protection fault in rdma_listen

Status: auto-closed as invalid on 2019/10/25 08:41
Reported-by: syzbot+e212d15241c54e891d3e@syzkaller.appspotmail.com
First crash: 1207d, last: 1207d
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 906d 926d 0/1 auto-closed as invalid on 2020/08/11 01:18
upstream general protection fault in rdma_listen (2) syz done 104 917d 1428d 17/24 fixed on 2020/05/10 10:41
upstream general protection fault in rdma_listen C 36 1660d 1672d 0/24 closed as dup on 2018/03/22 15:25
linux-4.14 BUG: corrupted list in rdma_listen (2) C 21 37d 797d 0/1 upstream: reported C repro on 2020/07/30 18:22
linux-4.14 general protection fault in rdma_listen 7 859d 946d 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: 28655 Comm: syz-executor.4 Not tainted 4.19.51 #23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3273 [inline]
RIP: 0010:rdma_listen+0x2df/0x8e0 drivers/infiniband/core/cma.c:3387
Code: 8b ac 24 c8 01 00 00 31 f6 48 c7 c7 80 04 fb 88 e8 36 43 f3 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5a 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff888056077b08 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff888056077b40 R08: 1ffffffff11f6090 R09: fffffbfff11f6091
R10: ffff888056077af8 R11: ffffffff88fb0487 R12: ffff88805ab88ac0
R13: 0000000000000000 R14: 0000000000000400 R15: 0000000000000007
FS:  00007fb6e2ee1700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb90fb67518 CR3: 0000000083d08000 CR4: 00000000001406f0
Call Trace:
 ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100
 ucma_write+0x2d7/0x3c0 drivers/infiniband/core/ucma.c:1689
 __vfs_write+0x114/0x810 fs/read_write.c:485
 vfs_write+0x20c/0x560 fs/read_write.c:549
 ksys_write+0x14f/0x2d0 fs/read_write.c:599
 __do_sys_write fs/read_write.c:611 [inline]
 __se_sys_write fs/read_write.c:608 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:608
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb6e2ee0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb6e2ee16d4
R13: 00000000004c8f77 R14: 00000000004dfe00 R15: 00000000ffffffff
Modules linked in:
kobject: 'loop5' (0000000070d620a3): kobject_uevent_env
---[ end trace ec08e8a0c88ce80f ]---
kobject: 'loop5' (0000000070d620a3): fill_kobj_path: path = '/devices/virtual/block/loop5'
RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3273 [inline]
RIP: 0010:rdma_listen+0x2df/0x8e0 drivers/infiniband/core/cma.c:3387
Code: 8b ac 24 c8 01 00 00 31 f6 48 c7 c7 80 04 fb 88 e8 36 43 f3 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5a 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
kobject: 'loop2' (00000000fd998c93): kobject_uevent_env
kobject: 'loop2' (00000000fd998c93): fill_kobj_path: path = '/devices/virtual/block/loop2'
RSP: 0018:ffff888056077b08 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
kobject: 'loop3' (0000000027b1c032): kobject_uevent_env
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
kobject: 'loop3' (0000000027b1c032): fill_kobj_path: path = '/devices/virtual/block/loop3'
RBP: ffff888056077b40 R08: 1ffffffff11f6090 R09: fffffbfff11f6091
kobject: 'loop0' (00000000be16c753): kobject_uevent_env
kobject: 'loop0' (00000000be16c753): fill_kobj_path: path = '/devices/virtual/block/loop0'
R10: ffff888056077af8 R11: ffffffff88fb0487 R12: ffff88805ab88ac0
kobject: 'loop5' (0000000070d620a3): kobject_uevent_env
R13: 0000000000000000 R14: 0000000000000400 R15: 0000000000000007
kobject: 'loop5' (0000000070d620a3): fill_kobj_path: path = '/devices/virtual/block/loop5'
FS:  00007fb6e2ee1700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000070e158 CR3: 0000000083d08000 CR4: 00000000001406f0

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2019/06/16 15:56 linux-4.19.y 7aa823a959e1 442206d7 .config log report
* Struck through repros no longer work on HEAD.