Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF
commit 5363fc4 upstream. ib_dealloc_device() should be called only after device cleanup. Fix the dealloc sequence. Fixes: 6d75814 ("RDMA/bnxt_re: Use auxiliary driver interface") Link: https://lore.kernel.org/r/1691642677-21369-2-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information