Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52513
HistoryMar 02, 2024 - 9:52 p.m.

CVE-2023-52513 RDMA/siw: Fix connection failure handling

2024-03-0221:52:24
Linux
www.cve.org
vulnerability
rdma/siw
linux kernel
connection failure
null dereference
mpa timeout

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

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.

CNA 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": "6c52fdc244b5",
        "lessThan": "6e26812e289b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c52fdc244b5",
        "lessThan": "0d520cdb0cd0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c52fdc244b5",
        "lessThan": "81b7bf367eea",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c52fdc244b5",
        "lessThan": "5cf38e638e5d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c52fdc244b5",
        "lessThan": "eeafc50a77f6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c52fdc244b5",
        "lessThan": "53a3f7770497",
        "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": "custom"
      },
      {
        "version": "5.4.258",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.198",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.135",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.57",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.7",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%