[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100111-CVE-2023-53476-d6d3@gregkh>
Date: Wed, 1 Oct 2025 13:42:46 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53476: iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2023-53476 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 5.15.99 with commit 76e0396313c79ecd0df44ee3c18745cfac52b3e6
Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.1.16 with commit 24278dc380aab6a1aef0a75317f57ad4c2453cf6
Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.2.3 with commit dd55240e4364d64befcc575b0d33091881524f42
Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.3 with commit 4ca446b127c568b59cb8d9748b6f70499624bb18
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53476
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/infiniband/hw/cxgb4/restrack.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/76e0396313c79ecd0df44ee3c18745cfac52b3e6
https://git.kernel.org/stable/c/24278dc380aab6a1aef0a75317f57ad4c2453cf6
https://git.kernel.org/stable/c/dd55240e4364d64befcc575b0d33091881524f42
https://git.kernel.org/stable/c/4ca446b127c568b59cb8d9748b6f70499624bb18
Powered by blists - more mailing lists