Skip to content
Heist/ feed
Back to feed
UnratedFix available

iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.99, 6.1.16, 6.2.3
CVEs
CVE-2023-53476
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 00:56 UTC · Revision 1

Source evidence

iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()

core-osv · Original source

Published 1 Oct 2025, 11:42 UTC

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.

osv:CVE-2023-53476

Kernel

Fixed versions: 5.15.99, 6.1.16, 6.2.3

Complete source record
{
  "id": "153bdaebc530aa1fd9e2bd3d1daee894614284d2b200d0403a7bab90a7c842c4",
  "url": "https://osv.dev/vulnerability/CVE-2023-53476",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53476",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.99",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53476",
      "aliases": [
        "CVE-2023-53476"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "116aeb8873712ea559d26b0d9d88147af5c88db5"
                },
                {
                  "fixed": "76e0396313c79ecd0df44ee3c18745cfac52b3e6"
                },
                {
                  "fixed": "24278dc380aab6a1aef0a75317f57ad4c2453cf6"
                },
                {
                  "fixed": "dd55240e4364d64befcc575b0d33091881524f42"
                },
                {
                  "fixed": "4ca446b127c568b59cb8d9748b6f70499624bb18"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53476.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.18.0"
                },
                {
                  "fixed": "5.15.99"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53476.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.424880619Z",
      "provider": "osv",
      "references": [
        "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53476.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53476",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53476.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53476",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 508792,
  "published_at": "2025-10-01T11:42:45.499+00:00"
}