iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
This condition needs to match the previous "if (epcp->state == LISTEN) {" exactly to avoid a NULL dereference of either "listen_ep" or "ep". The problem is that "epcp" has been re-assigned so just testing "if (epcp->state == LISTEN) {" a second time is not sufficient.
From the CVE record · Linux
A mismatched state check in the Linux kernel's iw_cxgb4 component can dereference a NULL `listen_ep` or `ep` in `c4iw_fill_res_cm_id_entry()`. The input does not specify how an attacker could trigger the condition, whether access or user interaction is required, or its impact beyond the NULL dereference.
Engineers running the Linux kernel with iw_cxgb4 should check their installations; affected versions are not specified.