CVE-2023-52513

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 6e26812e289b374c17677d238164a5a8f5770594affected
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 0d520cdb0cd095eac5d00078dfd318408c9b5eedaffected
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 81b7bf367eea795d259d0261710c6a89f548844daffected
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 5cf38e638e5d01b68f9133968a85e8b3fd1ecf2faffected
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < eeafc50a77f6a783c2c44e7ec3674a7b693e06f8affected
LinuxLinux6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 53a3f777049771496f791504e7dc8ef017cba590affected
LinuxLinux5.3affected
LinuxLinux0 < 5.3unaffected
LinuxLinux5.4.258 <= 5.4.*unaffected
LinuxLinux5.10.198 <= 5.10.*unaffected
LinuxLinux5.15.135 <= 5.15.*unaffected
LinuxLinux6.1.57 <= 6.1.*unaffected
LinuxLinux6.5.7 <= 6.5.*unaffected
LinuxLinux6.6 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

References