In the Linux kernel, the following vulnerability has been resolved:
iwcxgb4: Fix potential NULL dereference in c4iwfillrescmidentry()
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.
[
{
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/restrack.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"306916186282857807521041754243975409292",
"262336503031058136535878709723387998245",
"224064532901553933375323344777354158574",
"72578001209695310048374120876413854992"
]
},
"deprecated": false,
"id": "CVE-2023-53476-2a7201bb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ca446b127c568b59cb8d9748b6f70499624bb18"
},
{
"signature_type": "Line",
"target": {
"file": "drivers/infiniband/hw/cxgb4/restrack.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"306916186282857807521041754243975409292",
"262336503031058136535878709723387998245",
"224064532901553933375323344777354158574",
"72578001209695310048374120876413854992"
]
},
"deprecated": false,
"id": "CVE-2023-53476-a302dab5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24278dc380aab6a1aef0a75317f57ad4c2453cf6"
},
{
"signature_type": "Function",
"target": {
"function": "c4iw_fill_res_cm_id_entry",
"file": "drivers/infiniband/hw/cxgb4/restrack.c"
},
"signature_version": "v1",
"digest": {
"function_hash": "76540015817032289103756019958224497507",
"length": 1675.0
},
"deprecated": false,
"id": "CVE-2023-53476-b3592994",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24278dc380aab6a1aef0a75317f57ad4c2453cf6"
},
{
"signature_type": "Function",
"target": {
"function": "c4iw_fill_res_cm_id_entry",
"file": "drivers/infiniband/hw/cxgb4/restrack.c"
},
"signature_version": "v1",
"digest": {
"function_hash": "76540015817032289103756019958224497507",
"length": 1675.0
},
"deprecated": false,
"id": "CVE-2023-53476-dd5628fb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ca446b127c568b59cb8d9748b6f70499624bb18"
}
]