Files
linux-stable-mirror/drivers/infiniband/core
Chenguang ZhaoandJason Gunthorpe e939334ea7 RDMA/core: Fix memory leak in __ib_create_cq() on invalid cqe
Move the zero CQE validation before rdma_zalloc_drv_obj() to avoid
leaking the CQ object when returning -EINVAL.

Fixes: a291758288 ("RDMA/core: Reject zero CQE count")
Link: https://patch.msgid.link/r/20260625020148.224537-1-zhaochenguang@kylinos.cn
Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2026-07-02 14:19:33 -03:00
..
2026-02-25 08:15:30 -05:00
2026-06-03 15:12:43 -03:00
2026-04-09 10:58:56 -03:00