syzbot


general protection fault in rdma_disconnect

Status: closed as dup on 2018/03/22 15:24
Reported-by: syzbot+160331a9533b151c8651@syzkaller.appspotmail.com
First crash: 1797d, last: 1797d
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: null-ptr-deref Write in rdma_resolve_addr C 66 1783d 1794d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rdma_disconnect (2) 1 130d 130d 0/24 auto-obsoleted due to no activity on 2022/11/27 11:11

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] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 4294 Comm: syzkaller511238 Not tainted 4.16.0-rc4+ #343
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rdma_disconnect+0x2d/0x200 drivers/infiniband/core/cma.c:3878
RSP: 0018:ffff8801cee7fa10 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 1ffff10039dcff49 RCX: ffffffff841bc3fc
RDX: 0000000000000078 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8801cee7fa38 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff88613380 R11: 0000000000000000 R12: ffff8801af83a000
R13: 00000000000003c0 R14: 0000000000000000 R15: 00000000200001c8
FS:  00007f20217de700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f202179be78 CR3: 00000001dad71002 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_disconnect+0xdf/0x150 drivers/infiniband/core/ucma.c:1131
 ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1627
 __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:0x4497c9
RSP: 002b:00007f20217ddda8 EFLAGS: 00000297 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000006dac5c RCX: 00000000004497c9
RDX: 000000000000000c RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 00000000006dac58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 006d635f616d6472
R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000006
Code: 89 e5 41 57 41 56 49 89 fe 41 55 41 54 4d 8d ae c0 03 00 00 53 e8 34 42 55 fd 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 b8 01 00 00 4d 8b a6 c0 03 00 00 4d 85 e4 0f 
RIP: rdma_disconnect+0x2d/0x200 drivers/infiniband/core/cma.c:3878 RSP: ffff8801cee7fa10
---[ end trace 4f57ea5e283fed6e ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2018/03/07 02:25 upstream ce380619fab9 c8a18476 .config console log report syz C
ci-upstream-kasan-gce-386 2018/03/07 02:39 upstream ce380619fab9 c8a18476 .config console log report syz
ci-upstream-kasan-gce 2018/03/07 02:10 upstream ce380619fab9 c8a18476 .config console log report
* Struck through repros no longer work on HEAD.