medium5.5
CVE-2023-53476
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 need…
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 4.18 before 5.15.99 from 5.16 before 6.1.16 from 6.2 before 6.2.3 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/24278dc380aab6a1aef0a75317f57ad4c2453cf6
- https://git.kernel.org/stable/c/4ca446b127c568b59cb8d9748b6f70499624bb18
- https://git.kernel.org/stable/c/76e0396313c79ecd0df44ee3c18745cfac52b3e6
- https://git.kernel.org/stable/c/dd55240e4364d64befcc575b0d33091881524f42