[PATCH 5.15 229/277] RDMA/hfi1: Fix use-after-free bug for mm struct