kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access audit: type=1804 audit(1586537927.933:66): pid=11198 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir660310748/syzkaller.vObz2u/60/file0" dev="sda1" ino=16138 res=1 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 11203 Comm: syz-executor.2 Not tainted 4.19.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline] RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388 Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 60 98 4a 89 e8 6f 62 ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffff8880380f7b80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 audit: type=1804 audit(1586537927.953:67): pid=11207 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir660310748/syzkaller.vObz2u/60/file0" dev="sda1" ino=16138 res=1 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: ffff88808e0928c0 R08: 00000000000065cf R09: fffffbfff129530d R10: ffff8880380f7b80 R11: ffffffff894a9867 R12: 0000000000000000 R13: 0000000000000400 R14: ffff8880a80bba80 R15: 0000000000000008 FS: 00007f5c7f3ec700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c7f3a9db8 CR3: 000000008b9f5000 CR4: 00000000001406f0 audit: type=1804 audit(1586537927.953:68): pid=11198 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir660310748/syzkaller.vObz2u/60/file0" dev="sda1" ino=16138 res=1 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100 ucma_write+0x285/0x350 drivers/infiniband/core/ucma.c:1689 __vfs_write+0xf7/0x760 fs/read_write.c:485 vfs_write+0x206/0x550 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c889 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5c7f3ebc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5c7f3ec6d4 RCX: 000000000045c889 RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cc0 R14: 00000000004cee8e R15: 000000000076bfac Modules linked in: netlink: 'syz-executor.3': attribute type 2 has an invalid length. ---[ end trace 91adc689f1545977 ]--- RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline] RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388 Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 60 98 4a 89 e8 6f 62 ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b netlink: 'syz-executor.4': attribute type 2 has an invalid length. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.4'. RSP: 0018:ffff8880380f7b80 EFLAGS: 00010202 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: ffff88808e0928c0 R08: 00000000000065cf R09: fffffbfff129530d netlink: 'syz-executor.3': attribute type 2 has an invalid length. R10: ffff8880380f7b80 R11: ffffffff894a9867 R12: 0000000000000000 R13: 0000000000000400 R14: ffff8880a80bba80 R15: 0000000000000008 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. FS: 00007f5c7f3ec700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd5e502c2c0 CR3: 000000008b9f5000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400