# CVE-2023-53476: iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:45.499Z
- Modified: 2026-06-17T06:45:25.617Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 116aeb8873712ea559d26b0d9d88147af5c88db5 before 76e0396313c79ecd0df44ee3c18745cfac52b3e6; from 116aeb8873712ea559d26b0d9d88147af5c88db5 before 24278dc380aab6a1aef0a75317f57ad4c2453cf6; from 116aeb8873712ea559d26b0d9d88147af5c88db5 before dd55240e4364d64befcc575b0d33091881524f42; from 116aeb8873712ea559d26b0d9d88147af5c88db5 before 4ca446b127c568b59cb8d9748b6f70499624bb18; 4.18 (not affected: before 4.18; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 4.18 before 5.15.99; from 5.16 before 6.1.16; from 6.2 before 6.2.3

## References

- <https://git.kernel.org/stable/c/76e0396313c79ecd0df44ee3c18745cfac52b3e6> (patch)
- <https://git.kernel.org/stable/c/24278dc380aab6a1aef0a75317f57ad4c2453cf6> (patch)
- <https://git.kernel.org/stable/c/dd55240e4364d64befcc575b0d33091881524f42> (patch)
- <https://git.kernel.org/stable/c/4ca446b127c568b59cb8d9748b6f70499624bb18> (patch)

## Sources

- CVE List: [CVE-2023-53476](https://www.cve.org/CVERecord?id=CVE-2023-53476), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53476](https://nvd.nist.gov/vuln/detail/CVE-2023-53476), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53476 · Whole record: https://cve.day/CVE-2023-53476.json · Rebuilt by cve.day 2026-11-25T22:58:34.901Z
