syzbot


general protection fault in rdma_disconnect (2)

Status: auto-obsoleted due to no activity on 2022/11/27 11:11
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+13891d2b0fc090f76e91@syzkaller.appspotmail.com
First crash: 582d, last: 582d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rdma_disconnect rdma C 3 2248d 2248d 0/26 closed as dup on 2018/03/22 15:24

Sample crash report:
general protection fault, probably for non-canonical address 0xe0fbdc44400002bc: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x07df0222000015e0-0x07df0222000015e7]
CPU: 0 PID: 4496 Comm: syz-executor.4 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:rdma_disconnect+0x2a/0xb20 drivers/infiniband/core/cma.c:4675
Code: 41 57 41 56 41 55 41 54 55 48 89 fd 53 4c 8d ad 50 04 00 00 e8 87 0d e5 fa 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d8 09 00 00 4c 8b a5 50 04 00 00 4d 85 e4 0f 84
RSP: 0018:ffffc9000322f8a8 EFLAGS: 00010202

RAX: dffffc0000000000 RBX: ffff8880657c2800 RCX: ffffc9000bf0b000
RDX: 00fbe044400002bc RSI: ffffffff86978679 RDI: 07df022200001190
RBP: 07df022200001190 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffff95 R11: 000000000008c07e R12: ffffffff8db7c2a0
R13: 07df0222000015e0 R14: ffffc9000322fa30 R15: ffff8880657c2844
FS:  00007fca1d3ad700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 000000007ea35000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rdma_close+0x8d/0xc0 net/9p/trans_rdma.c:555
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1040
 p9_client_create+0x728/0xf20 net/9p/client.c:1027
 v9fs_session_init+0x1e2/0x1810 fs/9p/v9fs.c:408
 v9fs_mount+0xba/0xc90 fs/9p/vfs_super.c:126
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1530
 do_new_mount fs/namespace.c:3040 [inline]
 path_mount+0x1326/0x1e20 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fca1c28a5a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fca1d3ad168 EFLAGS: 00000246
 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fca1c3abf80 RCX: 00007fca1c28a5a9
RDX: 00000000200000c0 RSI: 0000000020000040 RDI: 0000000020000000
RBP: 00007fca1c2e5560 R08: 0000000020000240 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcedaa1caf R14: 00007fca1d3ad300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rdma_disconnect+0x2a/0xb20 drivers/infiniband/core/cma.c:4675
Code: 41 57 41 56 41 55 41 54 55 48 89 fd 53 4c 8d ad 50 04 00 00 e8 87 0d e5 fa 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d8 09 00 00 4c 8b a5 50 04 00 00 4d 85 e4 0f 84
----------------
Code disassembly (best guess):
   0:	41 57                	push   %r15
   2:	41 56                	push   %r14
   4:	41 55                	push   %r13
   6:	41 54                	push   %r12
   8:	55                   	push   %rbp
   9:	48 89 fd             	mov    %rdi,%rbp
   c:	53                   	push   %rbx
   d:	4c 8d ad 50 04 00 00 	lea    0x450(%rbp),%r13
  14:	e8 87 0d e5 fa       	callq  0xfae50da0
  19:	4c 89 ea             	mov    %r13,%rdx
  1c:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  23:	fc ff df
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 d8 09 00 00    	jne    0xa0c
  34:	4c 8b a5 50 04 00 00 	mov    0x450(%rbp),%r12
  3b:	4d 85 e4             	test   %r12,%r12
  3e:	0f                   	.byte 0xf
  3f:	84                   	.byte 0x84

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/28 11:10 linux-next aaa11ce2ffc8 75c78242 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in rdma_disconnect
* Struck through repros no longer work on HEAD.