RDMA/siw: Fix connection failure handling
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.198, 5.15.135, 5.4.258, 6.1.57, 6.5.7
- CVEs
- CVE-2023-52513
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:06 UTC · Revision 1
Source evidence
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.
osv:CVE-2023-52513
Kernel
Fixed versions: 5.4.258, 5.10.198, 5.15.135, 6.1.57, 6.5.7
Complete source record
{
"id": "0fc489c27f1c2e0ebb1d4eea2c18c6e7e0a0f0449ad1b8b36a0f97d4957db84b",
"url": "https://osv.dev/vulnerability/CVE-2023-52513",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "RDMA/siw: Fix connection failure handling",
"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.",
"evidence": "osv:CVE-2023-52513",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.198",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.135",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.57",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-52513",
"aliases": [
"CVE-2023-52513"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6c52fdc244b5ccc468006fd65a504d4ee33743c7"
},
{
"fixed": "6e26812e289b374c17677d238164a5a8f5770594"
},
{
"fixed": "0d520cdb0cd095eac5d00078dfd318408c9b5eed"
},
{
"fixed": "81b7bf367eea795d259d0261710c6a89f548844d"
},
{
"fixed": "5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f"
},
{
"fixed": "eeafc50a77f6a783c2c44e7ec3674a7b693e06f8"
},
{
"fixed": "53a3f777049771496f791504e7dc8ef017cba590"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52513.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.3.0"
},
{
"fixed": "5.4.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.198"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.135"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.57"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.5.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52513.json"
}
}
],
"modified": "2026-10-28T02:30:38.060490015Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0d520cdb0cd095eac5d00078dfd318408c9b5eed",
"https://git.kernel.org/stable/c/53a3f777049771496f791504e7dc8ef017cba590",
"https://git.kernel.org/stable/c/5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f",
"https://git.kernel.org/stable/c/6e26812e289b374c17677d238164a5a8f5770594",
"https://git.kernel.org/stable/c/81b7bf367eea795d259d0261710c6a89f548844d",
"https://git.kernel.org/stable/c/eeafc50a77f6a783c2c44e7ec3674a7b693e06f8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52513.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52513",
"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/52xxx/CVE-2023-52513.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52513",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505062,
"published_at": "2024-03-02T21:52:24.587+00:00"
}