RDMA/cxgb4: Added NULL check for lookup_atid
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cfdda9d764362ab77b11a410bb928400e6520d57 · < 0d50ae281a1712b9b2ca72830a96b8f11882358d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/cxgb4: Added NULL check for lookup_atid
The lookup_atid() function can return NULL if the ATID is invalid or does not exist in the identifier table, which could lead to dereferencing a null pointer without a check in the `act_establish()` and `act_open_rpl()` functions. Add a NULL check to prevent null pointer dereferencing.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s RDMA/cxgb4 code can dereference a NULL pointer when lookup_atid() returns NULL for an invalid or missing ATID. This could cause a kernel fault; the input does not specify how an attacker could trigger it, whether authentication is required, or whether user interaction is needed.
Engineers running Linux kernels with RDMA/cxgb4 should check their versions against their kernel vendor’s advisory; affected versions are not specified.