CVE-2026-98367: RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept

Published Oct 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

RDMA/siw: Clear association under lock if siwqpmodify fails in siwaccept

We need to clear cep before release statelock as siwqpllpclose and siwqpmodify->siwqpllpclose did.

Otherwise if siwqpmodify() fails in siwaccept(), the QP's statelock is released before the error path cleanup. A concurrent ibvmodifyqp() transitioning the QP to ERROR can race in this window:

siwaccept() ibvmodifyqp(ERROR) ---------------------- ---------------------- siwqpmodify() fails upwrite(&qp->statelock) downwrite(&qp->statelock) nextstatefromidle(): if (qp->cep) siwcepput(qp->cep) <- frees cep qp->cep = NULL goto error cep->qp = NULL <- UAF

Clear qp->cep and drop the association reference taken by siwcepget(), all under the write lock held from the initial downwrite(&qp->statelock). Thread B therefore sees qp->cep == NULL, skips its own put, and cannot free the cep before siwaccept() is done with it.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 6, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
DescriptionSeverity
Data Sourced
via NVD·09:18 AM
DescriptionSeverity
Oct 7, 2026
Data Sourced
via Microsoft·08:31 AM
DescriptionSeverityWeakness
Sep 6, 58736
Event
via FIRST·12:32 PM

Frequently Asked Questions

1

Which deployments are exposed to this race?

Linux kernel deployments using the RDMA Software iWARP (siw) path are implicated. The race requires a queue pair accept operation to encounter a siw_qp_modify() failure while another thread concurrently modifies that queue pair to the ERROR state.

2

What is the impact if the race occurs?

The concurrent ERROR transition can release and free the connection endpoint (cep) while siw_accept() still accesses it during error cleanup. This results in a use-after-free condition.

3

What change addresses the issue?

The association is cleared and its reference dropped while the queue pair state_lock is still held. A concurrent modifier then observes a NULL qp->cep and does not free the endpoint before siw_accept() has finished using it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203