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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free leading to kernel memory corruption or privilege escalation
Action: Patch Immediately
AI Analysis

Impact

The RDMA/siw subsystem in the Linux kernel contains a race condition that occurs when siw_qp_modify() fails during siw_accept(). The failure path clears an association reference (cep) only after the shared state lock is released, allowing a concurrent ibv_modify_qp() that transitions the same queue pair to ERROR state to free the cep while it is still referenced by the first thread. When the first thread later accesses qp->cep it dereferences freed memory, resulting in a use‑after‑free that can corrupt kernel data structures. The weakness is a classic example of improper cleanup under concurrency leading to memory corruption.

Affected Systems

All variants of the Linux kernel that ship the RDMA/siw driver and have not incorporated the commits cited in the linked URLs are potentially vulnerable. No explicit version range or kernel release is specified, so any kernel lacking the post‑fix patches may admit an exploit, regardless of the kernel’s overall release date.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability. The EPSS score of < 1% indicates a low but non‑zero probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that an attacker would need local or near‑local RDMA access to trigger the race, possibly by sending carefully timed RDMA commands to the target system. Successful exploitation would occur in kernel mode and could lead to privilege escalation or denial of service. The severity of a kernel memory corruption caused by this use‑after‑free is high, but the very small EPSS score and lack of public exploitation evidence reduce the immediate risk for typical deployments.

Generated by OpenCVE AI on October 9, 2026 at 04:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patches referenced in the linked commit logs.
  • If a local or custom build of the kernel cannot be updated immediately, backport the specific risk‑mitigating changes from those commits or apply a local patch that clears qp->cep in the error path.
  • As a temporary protective measure, disable the RDMA/siw interface on systems that are not required to use RDMA, or block RDMA traffic to eliminate the attack surface until a patch is applied.

Generated by OpenCVE AI on October 9, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Fri, 09 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Fri, 09 Oct 2026 00:15:00 +0000


Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 07 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Tue, 06 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Tue, 06 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:18:19.262Z

Reserved: 2026-09-25T10:25:14.344Z

Link: CVE-2026-98367

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:30.970

Modified: 2026-10-19T10:18:39.687

Link: CVE-2026-98367

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98367 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T04:30:17Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference