syzbot


general protection fault in rdma_destroy_id

Status: closed as dup on 2018/03/22 15:23
Reported-by: syzbot+8882c6f4c8feae701eba@syzkaller.appspotmail.com
First crash: 1796d, last: 1782d
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: null-ptr-deref Write in rdma_resolve_addr C 66 1782d 1793d

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: 1 PID: 4240 Comm: syzkaller291184 Not tainted 4.16.0-rc5+ #358
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0xa09/0x3e00 kernel/locking/lockdep.c:3310
RSP: 0018:ffff8801b6047370 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000046 RSI: 0000000000000000 RDI: ffffffff86ec9ce0
RBP: ffff8801b6047700 R08: ffffffff841ce509 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000230 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801ae4f4040
FS:  00007effa83a5700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f381bc11000 CR3: 00000001d3937005 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3920
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x96/0xc0 kernel/locking/spinlock.c:152
 cma_exch drivers/infiniband/core/cma.c:461 [inline]
 rdma_destroy_id+0xa9/0xda0 drivers/infiniband/core/cma.c:1660
 ucma_destroy_id+0x2e9/0x4c0 drivers/infiniband/core/ucma.c:606
 ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1633
 __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:0x4456a9
RSP: 002b:00007effa83a4da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000006dac5c RCX: 00000000004456a9
RDX: 0000000000000018 RSI: 0000000020000340 RDI: 00000000000003ff
RBP: 00000000006dac58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 2f646e6162696e69
R13: 666e692f7665642f R14: 0030656c69662f2e R15: 0000000000000005
Code: 81 c4 60 03 00 00 44 89 d0 5b 41 5a 41 5c 41 5d 41 5e 41 5f 5d 49 8d 62 f8 c3 4c 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 0a 33 00 00 49 81 3b e0 ed 9f 87 41 bd 00 00 
RIP: __lock_acquire+0xa09/0x3e00 kernel/locking/lockdep.c:3310 RSP: ffff8801b6047370
---[ end trace 9fe588802a74aa5f ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (43):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2018/03/19 05:58 upstream 9e1909b9da04 08dacaa0 .config console log report syz C
ci-upstream-kasan-gce 2018/03/16 08:13 upstream e2c15aff5f35 08dacaa0 .config console log report syz C
ci-upstream-kasan-gce 2018/03/12 04:02 upstream abeb75218aeb 36d1c454 .config console log report syz C
ci-upstream-kasan-gce 2018/03/09 08:06 upstream 1b88accf6a65 36d1c454 .config console log report syz C
ci-upstream-kasan-gce 2018/03/09 02:34 upstream 1b88accf6a65 36d1c454 .config console log report syz C
ci-upstream-kasan-gce 2018/03/08 01:02 upstream 86f84779d8e9 a5e76540 .config console log report syz C
ci-upstream-kasan-gce 2018/03/07 22:19 upstream 86f84779d8e9 a5e76540 .config console log report syz C
ci-upstream-kasan-gce 2018/03/06 21:37 upstream ce380619fab9 c8a18476 .config console log report syz C
ci-upstream-kasan-gce-386 2018/03/19 05:57 upstream 9e1909b9da04 08dacaa0 .config console log report syz
ci-upstream-kasan-gce-386 2018/03/16 08:11 upstream e2c15aff5f35 08dacaa0 .config console log report syz
ci-upstream-kasan-gce-386 2018/03/12 03:46 upstream abeb75218aeb 36d1c454 .config console log report syz
ci-upstream-kasan-gce-386 2018/03/08 21:38 upstream 1b88accf6a65 acd0caa5 .config console log report syz
ci-upstream-kasan-gce-386 2018/03/07 22:31 upstream 86f84779d8e9 a5e76540 .config console log report syz
ci-upstream-kasan-gce-386 2018/03/06 21:53 upstream ce380619fab9 c8a18476 .config console log report syz
ci-upstream-kasan-gce 2018/03/20 21:58 upstream 1b5f3ba415fe 72c33b66 .config console log report
ci-upstream-kasan-gce 2018/03/20 14:45 upstream 1b5f3ba415fe 72c33b66 .config console log report
ci-upstream-kasan-gce 2018/03/20 10:34 upstream 1b5f3ba415fe 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 20:10 upstream c698ca527893 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 18:47 upstream c698ca527893 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 17:42 upstream c698ca527893 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 10:48 upstream c698ca527893 7e7d7ed2 .config console log report
ci-upstream-kasan-gce 2018/03/19 03:38 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 14:43 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 04:23 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/18 02:34 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/17 04:01 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/16 22:56 upstream df09348f78dc 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/14 00:48 upstream fc6eabbbf8ef 08dacaa0 .config console log report
ci-upstream-kasan-gce 2018/03/11 21:07 upstream abeb75218aeb 36d1c454 .config console log report
ci-upstream-kasan-gce 2018/03/08 22:54 upstream 1b88accf6a65 acd0caa5 .config console log report
ci-upstream-kasan-gce 2018/03/07 22:04 upstream 86f84779d8e9 a5e76540 .config console log report
ci-upstream-kasan-gce 2018/03/07 18:39 upstream 86f84779d8e9 a5e76540 .config console log report
ci-upstream-kasan-gce 2018/03/06 21:18 upstream ce380619fab9 c8a18476 .config console log report
ci-upstream-kasan-gce-386 2018/03/19 05:36 upstream 9e1909b9da04 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/18 15:03 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/18 11:20 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/18 03:35 upstream 8f5fd927c3a7 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/16 20:02 upstream df09348f78dc 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/14 02:54 upstream fc6eabbbf8ef 08dacaa0 .config console log report
ci-upstream-kasan-gce-386 2018/03/10 14:59 upstream cdb06e9d8f52 36d1c454 .config console log report
ci-upstream-kasan-gce-386 2018/03/10 10:41 upstream cdb06e9d8f52 36d1c454 .config console log report
ci-upstream-kasan-gce-386 2018/03/08 23:04 upstream 1b88accf6a65 acd0caa5 .config console log report
ci-upstream-kasan-gce-386 2018/03/07 08:26 upstream 86f84779d8e9 c8a18476 .config console log report
* Struck through repros no longer work on HEAD.