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 Modules linked in: CPU: 1 PID: 15738 Comm: syz-executor.1 Not tainted 4.14.297-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 task: ffff8880a5afc540 task.stack: ffff8880998f0000 RIP: 0010:rds_ib_get_mr+0x58/0x200 net/rds/ib_rdma.c:543 RSP: 0018:ffff8880998f7c80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880998f7d50 RCX: ffff8880a1a3de1c RDX: 000000000000000d RSI: 0000000000000002 RDI: 0000000000000068 RBP: ffff8880a9878bc0 R08: 0000000000000001 R09: ffff8880aa985880 R10: ffff8880aa9858cf R11: 0000000000000000 R12: ffff8880aa985880 R13: 0000000000000002 R14: ffff8880a1a3de1c R15: 0000000000000000 FS: 00007f504ec21700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd5a0b2e68 CR3: 000000007abda000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __rds_rdma_map+0x5ab/0xea0 net/rds/rdma.c:271 rds_get_mr+0x89/0xd0 net/rds/rdma.c:333 rds_setsockopt+0x227/0x750 net/rds/af_rds.c:344 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x110/0x1e0 net/socket.c:1844 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 9e 01 00 00 4c 8b bd c0 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 6e 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d RIP: rds_ib_get_mr+0x58/0x200 net/rds/ib_rdma.c:543 RSP: ffff8880998f7c80 ---[ end trace 262587e165eeb984 ]--- ---------------- Code disassembly (best guess): 0: fa cli 1: 48 c1 ea 03 shr $0x3,%rdx 5: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 9: 0f 85 9e 01 00 00 jne 0x1ad f: 4c 8b bd c0 04 00 00 mov 0x4c0(%rbp),%r15 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 49 8d 7f 68 lea 0x68(%r15),%rdi 24: 48 89 fa mov %rdi,%rdx 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 6e 01 00 00 jne 0x1a3 35: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3c: fc ff df 3f: 4d rex.WRB