ib_register_device+0x10c3/0x1380 drivers/infiniband/core/device.c:1487 rxe_register_device+0x1ef/0x310 drivers/infiniband/sw/rxe/rxe_verbs.c:1556 rxe_net_add+0x81/0x110 drivers/infiniband/sw/rxe/rxe_net.c:537 rxe_newlink+0xdd/0x190 drivers/infiniband/sw/rxe/rxe.c:234 nldev_newlink+0x4a2/0x5a0 drivers/infiniband/core/nldev.c:1797 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6ab/0x980 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 ____sys_sendmsg+0x505/0x830 net/socket.c:2630 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2719 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbff58eec9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcc00418038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcbff7e5fa0 RCX: 00007fcbff58eec9 RDX: 0000000000004000 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007fcbff611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcbff7e6038 R14: 00007fcbff7e5fa0 R15: 00007ffda44c6188 Mem-Info: active_anon:3191 inactive_anon:2299 isolated_anon:0 active_file:685 inactive_file:38911 isolated_file:0 unevictable:1768 dirty:1100 writeback:0 slab_reclaimable:6992 slab_unreclaimable:30983 mapped:10390 shmem:2247 pagetables:680 sec_pagetables:290 bounce:0 kernel_misc_reclaimable:0 free:36040 free_pcp:4 free_cma:0 Node 0 active_anon:232kB inactive_anon:9196kB active_file:2716kB inactive_file:548kB unevictable:412kB isolated(anon):0kB isolated(file):0kB mapped:2908kB dirty:16kB writeback:0kB shmem:424kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB kernel_stack:3056kB pagetables:852kB sec_pagetables:1100kB all_unreclaimable? no Balloon:0kB Node 0 DMA free:2444kB boost:0kB min:760kB low:948kB high:1136kB reserved_highatomic:0KB free_highatomic:0KB active_anon:156kB inactive_anon:1740kB active_file:0kB inactive_file:0kB unevictable:168kB writepending:0kB zspages:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 126 126 126 126 Node 0 DMA32 free:6892kB boost:0kB min:5096kB low:6368kB high:7640kB reserved_highatomic:0KB free_highatomic:0KB active_anon:76kB inactive_anon:7456kB active_file:2716kB inactive_file:548kB unevictable:244kB writepending:16kB zspages:0kB present:770052kB managed:129404kB mlocked:0kB bounce:0kB free_pcp:16kB local_pcp:16kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 0 Node 0 DMA: 19*4kB (UE) 16*8kB (UE) 4*16kB (E) 24*32kB (UE) 18*64kB (UE) 2*128kB (U) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2444kB Node 0 DMA32: 63*4kB (UME) 36*8kB (UME) 21*16kB (UME) 70*32kB (UM) 37*64kB (UME) 11*128kB (UME) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 6892kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB 41862 total pagecache pages 18 pages in swap cache Free swap = 124856kB Total swap = 124996kB 393083 pages RAM 0 pages HighMem/MovableOnly 184189 pages reserved 0 pages cma reserved ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5338 at drivers/infiniband/sw/rxe/rxe_pool.c:116 rxe_pool_cleanup+0x48/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Modules linked in: CPU: 0 UID: 0 PID: 5338 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:rxe_pool_cleanup+0x48/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 50 26 b5 f9 48 83 3b 00 75 0c e8 25 f8 4d f9 5b c3 cc cc cc cc cc e8 19 f8 4d f9 90 <0f> 0b 90 5b e9 4f 89 cc 02 cc 66 66 66 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000f586fe8 EFLAGS: 00010202 RAX: ffffffff887076c7 RBX: ffff88803f6d13d8 RCX: ffff88803799a480 RDX: 0000000000000003 RSI: 00000000fffffff4 RDI: ffff88803f6d1358 RBP: 0000000000000000 R08: 000000000003ffff R09: 0000000000800000 R10: 0000000000800008 R11: ffffffff886eb3e0 R12: ffff88803f6d10e8 R13: dffffc0000000000 R14: ffffffff886eb3e0 R15: dffffc0000000000 FS: 00007fcc004186c0(0000) GS:ffff88808d96d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564ab411a4d0 CR3: 00000000425ce000 CR4: 0000000000352ef0 Call Trace: rxe_dealloc+0x27/0xc0 drivers/infiniband/sw/rxe/rxe.c:24 ib_dealloc_device+0x51/0x200 drivers/infiniband/core/device.c:693 rxe_net_add+0xa1/0x110 drivers/infiniband/sw/rxe/rxe_net.c:539 rxe_newlink+0xdd/0x190 drivers/infiniband/sw/rxe/rxe.c:234 nldev_newlink+0x4a2/0x5a0 drivers/infiniband/core/nldev.c:1797 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6ab/0x980 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 ____sys_sendmsg+0x505/0x830 net/socket.c:2630 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2719 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbff58eec9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcc00418038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcbff7e5fa0 RCX: 00007fcbff58eec9 RDX: 0000000000004000 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007fcbff611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcbff7e6038 R14: 00007fcbff7e5fa0 R15: 00007ffda44c6188