CVE-2023-52513

RDMA/siw: Fix connection failure handling

State
Published
Severity
7.5 High
Published
Mar 2, 2024
Updated
Aug 5, 2026
Reserved
Feb 20, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 6e26812e289b374c17677d238164a5a8f5770594Affected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 0d520cdb0cd095eac5d00078dfd318408c9b5eedAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 81b7bf367eea795d259d0261710c6a89f548844dAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 5cf38e638e5d01b68f9133968a85e8b3fd1ecf2fAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before eeafc50a77f6a783c2c44e7ec3674a7b693e06f8Affected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 53a3f777049771496f791504e7dc8ef017cba590Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.258 through 5.4.*Not affected
  • 5.10.198 through 5.10.*Not affected
  • 5.15.135 through 5.15.*Not affected
  • 6.1.57 through 6.1.*Not affected
  • 6.5.7 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.