CVE-2026-98367

RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept

  • High 7.8

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept We need to clear cep before release state_lock as siw_qp_llp_close and siw_qp_modify->siw_qp_llp_close did. Otherwise if siw_qp_modify() fails in siw_accept(), the QP's state_lock is released before the error path cleanup. A concurrent ibv_modify_qp() transitioning the QP to ERROR can race in this window: siw_accept() ibv_modify_qp(ERROR) ---------------------- ---------------------- siw_qp_modify() fails up_write(&qp->state_lock) down_write(&qp->state_lock) nextstate_from_idle(): if (qp->cep) siw_cep_put(qp->cep) <- frees cep qp->cep = NULL goto error cep->qp = NULL <- UAF Clear qp->cep and drop the association reference taken by siw_cep_get(), all under the write lock held from the initial down_write(&qp->state_lock). Thread B therefore sees qp->cep == NULL, skips its own put, and cannot free the cep before siw_accept() is done with it.

Key facts

Published
6 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.121% likely to be exploited in the next 30 days, higher than 1.941% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.8CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078 (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding e3f039082856adab7e195dea1af45d93dd6a3f1c (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding ad50d19f3d1ce052b3a146143581e930a1efb33e (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding 030306bbb9273af80f14d7af20129661964cd9a7 (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding df2584750314336edcbcc21fb388e04b260f35b7 (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding 9dcc0f4e488b70cff81e0e5717a498c929cf5de3 (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding bfdc744bf20ae4c3ef2e470298de5237c5c9a13c (affected)
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 up to but excluding 32cd87f54dd1070020e664ccb0312a9f0fea79b4 (affected)
LinuxLinux
  • Default status: affected
  • 5.3 (affected)
  • 0 up to but excluding 5.3 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.54 up to and including 6.18.* (unaffected)
  • 7.2.8 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 6 Oct 2026 Published

References