RDMA/siw: Fix connection failure handling (Linux Linux)

CVE-2023-52513
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.66 % · centile 52 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 6e26812e289b374c17677d238164a5a8f5770594 ; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 0d520cdb0cd095eac5d00078dfd318408c9b5eed ; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 81b7bf367eea795d259d0261710c6a89f548844d ; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 5cf38e638e5d01b68f9133968a85e8b3fd1ecf2f ; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < eeafc50a77f6a783c2c44e7ec3674a7b693e06f8 ; affected 6c52fdc244b5ccc468006fd65a504d4ee33743c7 < 53a3f777049771496f791504e7dc8ef017cba590
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.258 ≤ 5.4.* ; unaffected 5.10.198 ≤ 5.10.* ; unaffected 5.15.135 ≤ 5.15.* ; unaffected 6.1.57 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD