infiniband syz1: set active infiniband syz1: added vlan0 BUG: kernel NULL pointer dereference, address: 0000000000000298 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 122680067 P4D 122680067 PUD 11e705067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 16099 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rds_ib_add_one+0xaf/0x6f0 net/rds/ib.c:139 Code: 5e 41 5f c3 e8 42 bb c3 fb 49 8d bc 24 f0 04 00 00 e8 b5 e4 d1 fb 49 8b 9c 24 f0 04 00 00 48 8d bb 98 02 00 00 e8 81 e2 d1 fb <44> 8b ab 98 02 00 00 48 c7 c7 70 84 04 87 e8 8e e4 d1 fb b9 b0 00 RSP: 0018:ffffc90015a7b430 EFLAGS: 00010246 RAX: ffff888125259a58 RBX: 0000000000000000 RCX: ffffffff88af0358 RDX: 000000000000010b RSI: ffffffff8582e27e RDI: 0000000000000298 RBP: ffff88809bb24000 R08: 0000000000000000 R09: 0000000000000298 R10: 000088809bb24835 R11: 000000000000029b R12: ffff88809bb24000 R13: ffffffff875a6200 R14: ffff88809bb24468 R15: ffff88809bb24440 FS: 00007fbfd052b700(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000298 CR3: 0000000122681000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_client_context+0x2ba/0x380 drivers/infiniband/core/device.c:681 enable_device_and_get+0x147/0x2c0 drivers/infiniband/core/device.c:1318 ib_register_device drivers/infiniband/core/device.c:1384 [inline] ib_register_device+0x9d6/0xb80 drivers/infiniband/core/device.c:1345 rxe_register_device+0x309/0x338 drivers/infiniband/sw/rxe/rxe_verbs.c:1231 rxe_add+0xa65/0xb67 drivers/infiniband/sw/rxe/rxe.c:304 rxe_net_add+0x60/0xa0 drivers/infiniband/sw/rxe/rxe_net.c:539 rxe_newlink+0x3e/0xa0 drivers/infiniband/sw/rxe/rxe.c:320 nldev_newlink+0x21e/0x310 drivers/infiniband/core/nldev.c:1542 rdma_nl_rcv_msg+0x211/0x380 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x224/0x2c0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x390/0x4c0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x4cf/0x8a0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 ____sys_sendmsg+0x493/0x4c0 net/socket.c:2362 ___sys_sendmsg+0xb5/0x100 net/socket.c:2416 __sys_sendmsg+0x9b/0x150 net/socket.c:2449 __do_sys_sendmsg net/socket.c:2458 [inline] __se_sys_sendmsg net/socket.c:2456 [inline] __x64_sys_sendmsg+0x4c/0x60 net/socket.c:2456 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45ca59 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbfd052ac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000005004a0 RCX: 000000000045ca59 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009cb R14: 00000000004d6508 R15: 00007fbfd052b6d4 Modules linked in: CR2: 0000000000000298 ---[ end trace bfbe84bc27289346 ]--- RIP: 0010:rds_ib_add_one+0xaf/0x6f0 net/rds/ib.c:139 Code: 5e 41 5f c3 e8 42 bb c3 fb 49 8d bc 24 f0 04 00 00 e8 b5 e4 d1 fb 49 8b 9c 24 f0 04 00 00 48 8d bb 98 02 00 00 e8 81 e2 d1 fb <44> 8b ab 98 02 00 00 48 c7 c7 70 84 04 87 e8 8e e4 d1 fb b9 b0 00 RSP: 0018:ffffc90015a7b430 EFLAGS: 00010246 RAX: ffff888125259a58 RBX: 0000000000000000 RCX: ffffffff88af0358 RDX: 000000000000010b RSI: ffffffff8582e27e RDI: 0000000000000298 RBP: ffff88809bb24000 R08: 0000000000000000 R09: 0000000000000298 R10: 000088809bb24835 R11: 000000000000029b R12: ffff88809bb24000 R13: ffffffff875a6200 R14: ffff88809bb24468 R15: ffff88809bb24440 FS: 00007fbfd052b700(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056003746e8d8 CR3: 0000000122681000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400