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 CPU: 0 PID: 15273 Comm: syz-executor6 Not tainted 4.17.0+ #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rds_ib_get_mr+0x60/0x240 net/rds/ib_rdma.c:544 Code: 48 c1 ea 03 80 3c 02 00 0f 85 f0 01 00 00 4c 8b bb 90 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c0 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff8801abe17988 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801b521cf00 RCX: ffffc900094df000 RDX: 000000000000000d RSI: ffffffff8706e252 RDI: 0000000000000068 RBP: ffff8801abe179b8 R08: ffff8801beee2380 R09: ffff8801d6a32240 R10: ffffed003ad4644b R11: ffff8801d6a3225f R12: ffff8801d6a32240 R13: 0000000000000001 R14: ffff8801ad27f51c R15: 0000000000000000 FS: 00007f526725b700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f526725adb8 CR3: 00000001b3f6e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __rds_rdma_map+0x79f/0x11a0 net/rds/rdma.c:271 rds_get_mr+0xae/0xf0 net/rds/rdma.c:333 rds_setsockopt+0x2dd/0xae0 net/rds/af_rds.c:347 __sys_setsockopt+0x1bd/0x390 net/socket.c:1935 __do_sys_setsockopt net/socket.c:1946 [inline] __se_sys_setsockopt net/socket.c:1943 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1943 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4559f9 Code: 1d ba 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 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f526725ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f526725b6d4 RCX: 00000000004559f9 RDX: 0000000000000002 RSI: 0000000000000114 RDI: 0000000000000014 RBP: 000000000072c0b0 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000640 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c0f4e R14: 00000000004d0c10 R15: 0000000000000003 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace fa7b9358522ba582 ]--- RIP: 0010:rds_ib_get_mr+0x60/0x240 net/rds/ib_rdma.c:544 Code: 48 c1 ea 03 80 3c 02 00 0f 85 f0 01 00 00 4c 8b bb 90 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 68 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c0 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff8801abe17988 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801b521cf00 RCX: ffffc900094df000 RDX: 000000000000000d RSI: ffffffff8706e252 RDI: 0000000000000068 RBP: ffff8801abe179b8 R08: ffff8801beee2380 R09: ffff8801d6a32240 R10: ffffed003ad4644b R11: ffff8801d6a3225f R12: ffff8801d6a32240 R13: 0000000000000001 R14: ffff8801ad27f51c R15: 0000000000000000 FS: 00007f526725b700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f526725adb8 CR3: 00000001b3f6e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400