CVE-2026-98367

CVE-2026-98367

High · published October 6, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
2.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00129 · 2.3th percentile
Published
2026-10-06T13:18Z
References (8)
EPSS history
Timeline
  • 07 OCT 03:43Z
    EPSS moved — → 0%
    epss
  • 06 OCT 08:46Z
    RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept
    cvelistv5