In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix "kernel NULL pointer dereference" error
When rxequeueinit in the function rxeqpinit_req fails, both qp->req.task.func and qp->req.task.arg are not initialized.
Because of creation of qp fails, the function rxecreateqp will call rxeqpdo_cleanup to handle allocated resource.
Before calling _rxedo_task, both qp->req.task.func and qp->req.task.arg should be checked.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50671.json"
}