{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-52513",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-20T12:30:33.316Z",
        "datePublished": "2024-03-02T21:52:24.587Z",
        "dateUpdated": "2026-08-05T09:10:19.293Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:10:19.293Z"
            },
            "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": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "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->listen_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—only a NULL deref crash—so 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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/sw/siw/siw_cm.c"
                    ],
                    "versions": [
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "6e26812e289b374c17677d238164a5a8f5770594",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "0d520cdb0cd095eac5d00078dfd318408c9b5eed",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "81b7bf367eea795d259d0261710c6a89f548844d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "eeafc50a77f6a783c2c44e7ec3674a7b693e06f8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "53a3f777049771496f791504e7dc8ef017cba590",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/sw/siw/siw_cm.c"
                    ],
                    "versions": [
                        {
                            "version": "5.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.258",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.198",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.135",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.57",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5.7",
                            "lessThanOrEqual": "6.5.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.4.258"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.10.198"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.15.135"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.1.57"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.5.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "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-06-04T17:23:14.957Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:03:20.917Z"
                },
                "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"
                        ]
                    }
                ]
            }
        ]
    }
}