In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]RDMA/hfi1: fix potential memory leak in setup_base_ctxt()[EOL][EOL]setup_base_ctxt() allocates a memory chunk for uctxt->groups with[EOL]hfi1_alloc_ctxt_rcv_groups(). When init_user_ctxt() fails, uctxt->groups[EOL]is not released, which will lead to a memory leak.[EOL][EOL]We should release the uctxt->groups with hfi1_free_ctxt_rcv_groups()[EOL]when init_user_ctxt() fails.