CVE-2023-52513 (GCVE-0-2023-52513)
Vulnerability from cvelistv5
Published
2024-03-02 21:52
Modified
2026-08-05 09:10
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix connection failure handling In case immediate MPA request processing fails, the newly created endpoint unlinks the listening endpoint and is ready to be dropped. This special case was not handled correctly by the code handling the later TCP socket close, causing a NULL dereference crash in siw_cm_work_handler() when dereferencing a NULL listener. We now also cancel the useless MPA timeout, if immediate MPA request processing fails. This patch furthermore simplifies MPA processing in general: Scheduling a useless TCP socket read in sk_data_ready() upcall is now surpressed, if the socket is already moved out of TCP_ESTABLISHED state.
Impacted products
Vendor Product Version
Linux Linux Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Version: 6c52fdc244b5ccc468006fd65a504d4ee33743c7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52513",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-04T15:30:53.531798Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:14.957Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:20.917Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6e26812e289b374c17677d238164a5a8f5770594"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0d520cdb0cd095eac5d00078dfd318408c9b5eed"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/81b7bf367eea795d259d0261710c6a89f548844d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/eeafc50a77f6a783c2c44e7ec3674a7b693e06f8"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/53a3f777049771496f791504e7dc8ef017cba590"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/sw/siw/siw_cm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6e26812e289b374c17677d238164a5a8f5770594",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            },
            {
              "lessThan": "0d520cdb0cd095eac5d00078dfd318408c9b5eed",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            },
            {
              "lessThan": "81b7bf367eea795d259d0261710c6a89f548844d",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            },
            {
              "lessThan": "5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            },
            {
              "lessThan": "eeafc50a77f6a783c2c44e7ec3674a7b693e06f8",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            },
            {
              "lessThan": "53a3f777049771496f791504e7dc8ef017cba590",
              "status": "affected",
              "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/sw/siw/siw_cm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.135",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.258",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.198",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.135",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.57",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.7",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: Fix connection failure handling\n\nIn case immediate MPA request processing fails, the newly\ncreated endpoint unlinks the listening endpoint and is\nready to be dropped. This special case was not handled\ncorrectly by the code handling the later TCP socket close,\ncausing a NULL dereference crash in siw_cm_work_handler()\nwhen dereferencing a NULL listener. We now also cancel\nthe useless MPA timeout, if immediate MPA request\nprocessing fails.\n\nThis patch furthermore simplifies MPA processing in general:\nScheduling a useless TCP socket read in sk_data_ready() upcall\nis now surpressed, if the socket is already moved out of\nTCP_ESTABLISHED state."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - Soft-iWARP (siw) accepts TCP connections and processes the MPA handshake in-kernel; a remote peer connecting to an SIW listener (e.g., NFS/RDMA or other iWARP service) reaches siw_accept_newconn/siw_cm_work_handler over the network.\nAC:L - An attacker can reliably send an immediate invalid MPA request (bad key, MARKERS flag, oversized private data) then close the TCP connection; the single-threaded siw_cm_wq serializes ACCEPT then PEER_CLOSE, making the NULL-listener path deterministic.\nPR:N - The crash is on the passive/listener MPA handshake path before any RDMA connection is accepted or authenticated; a remote peer needs no credentials on the target.\nUI:N - Exploitation requires only connecting to an already-listening SIW endpoint and sending crafted MPA/TCP close; no additional victim user action is required.\nS:U - Impact is a kernel oops/DoS within the same host kernel security authority; there is no VM escape, IOMMU bypass, or other cross-boundary scope change.\nC:N - The bug is a pure NULL pointer dereference of cep-\u003elisten_cep in siw_cep_put(); it does not provide an information disclosure or memory-read primitive.\nI:N - There is no memory corruption, write primitive, or control-flow hijack\u2014only a NULL deref crash\u2014so integrity is unaffected.\nA:H - Dereferencing the NULL listen_cep in siw_cm_work_handler causes a kernel oops/crash, which is a full availability impact and can be repeated by reconnecting."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:10:19.293Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6e26812e289b374c17677d238164a5a8f5770594"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d520cdb0cd095eac5d00078dfd318408c9b5eed"
        },
        {
          "url": "https://git.kernel.org/stable/c/81b7bf367eea795d259d0261710c6a89f548844d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f"
        },
        {
          "url": "https://git.kernel.org/stable/c/eeafc50a77f6a783c2c44e7ec3674a7b693e06f8"
        },
        {
          "url": "https://git.kernel.org/stable/c/53a3f777049771496f791504e7dc8ef017cba590"
        }
      ],
      "title": "RDMA/siw: Fix connection failure handling",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52513",
    "datePublished": "2024-03-02T21:52:24.587Z",
    "dateReserved": "2024-02-20T12:30:33.316Z",
    "dateUpdated": "2026-08-05T09:10:19.293Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6e26812e289b374c17677d238164a5a8f5770594\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/0d520cdb0cd095eac5d00078dfd318408c9b5eed\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/81b7bf367eea795d259d0261710c6a89f548844d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/eeafc50a77f6a783c2c44e7ec3674a7b693e06f8\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/53a3f777049771496f791504e7dc8ef017cba590\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:03:20.917Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52513\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-04T15:30:53.531798Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:14.694Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"RDMA/siw: Fix connection failure handling\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - Soft-iWARP (siw) accepts TCP connections and processes the MPA handshake in-kernel; a remote peer connecting to an SIW listener (e.g., NFS/RDMA or other iWARP service) reaches siw_accept_newconn/siw_cm_work_handler over the network.\\nAC:L - An attacker can reliably send an immediate invalid MPA request (bad key, MARKERS flag, oversized private data) then close the TCP connection; the single-threaded siw_cm_wq serializes ACCEPT then PEER_CLOSE, making the NULL-listener path deterministic.\\nPR:N - The crash is on the passive/listener MPA handshake path before any RDMA connection is accepted or authenticated; a remote peer needs no credentials on the target.\\nUI:N - Exploitation requires only connecting to an already-listening SIW endpoint and sending crafted MPA/TCP close; no additional victim user action is required.\\nS:U - Impact is a kernel oops/DoS within the same host kernel security authority; there is no VM escape, IOMMU bypass, or other cross-boundary scope change.\\nC:N - The bug is a pure NULL pointer dereference of cep-\u003elisten_cep in siw_cep_put(); it does not provide an information disclosure or memory-read primitive.\\nI:N - There is no memory corruption, write primitive, or control-flow hijack\\u2014only a NULL deref crash\\u2014so integrity is unaffected.\\nA:H - Dereferencing the NULL listen_cep in siw_cm_work_handler causes a kernel oops/crash, which is a full availability impact and can be repeated by reconnecting.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"6e26812e289b374c17677d238164a5a8f5770594\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"0d520cdb0cd095eac5d00078dfd318408c9b5eed\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"81b7bf367eea795d259d0261710c6a89f548844d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"eeafc50a77f6a783c2c44e7ec3674a7b693e06f8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6c52fdc244b5ccc468006fd65a504d4ee33743c7\", \"lessThan\": \"53a3f777049771496f791504e7dc8ef017cba590\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/infiniband/sw/siw/siw_cm.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.258\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.135\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.57\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/infiniband/sw/siw/siw_cm.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6e26812e289b374c17677d238164a5a8f5770594\"}, {\"url\": \"https://git.kernel.org/stable/c/0d520cdb0cd095eac5d00078dfd318408c9b5eed\"}, {\"url\": \"https://git.kernel.org/stable/c/81b7bf367eea795d259d0261710c6a89f548844d\"}, {\"url\": \"https://git.kernel.org/stable/c/5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f\"}, {\"url\": \"https://git.kernel.org/stable/c/eeafc50a77f6a783c2c44e7ec3674a7b693e06f8\"}, {\"url\": \"https://git.kernel.org/stable/c/53a3f777049771496f791504e7dc8ef017cba590\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nRDMA/siw: Fix connection failure handling\\n\\nIn case immediate MPA request processing fails, the newly\\ncreated endpoint unlinks the listening endpoint and is\\nready to be dropped. This special case was not handled\\ncorrectly by the code handling the later TCP socket close,\\ncausing a NULL dereference crash in siw_cm_work_handler()\\nwhen dereferencing a NULL listener. We now also cancel\\nthe useless MPA timeout, if immediate MPA request\\nprocessing fails.\\n\\nThis patch furthermore simplifies MPA processing in general:\\nScheduling a useless TCP socket read in sk_data_ready() upcall\\nis now surpressed, if the socket is already moved out of\\nTCP_ESTABLISHED state.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.258\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.198\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.135\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.57\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.5.7\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6\", \"versionStartIncluding\": \"5.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T09:10:19.293Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52513\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T09:10:19.293Z\", \"dateReserved\": \"2024-02-20T12:30:33.316Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-03-02T21:52:24.587Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…