# CVE-2026-98367: RDMA/siw: Clear association under lock if siw\_qp\_modify fails in siw\_accept

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-06T08:46:52.452Z
- **Modified:** 2026-10-19T10:18:39.687Z

## Who should check

- Anyone running Linux \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< e3f039082856adab7e195dea1af45d93dd6a3f1c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< ad50d19f3d1ce052b3a146143581e930a1efb33e; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 030306bbb9273af80f14d7af20129661964cd9a7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< df2584750314336edcbcc21fb388e04b260f35b7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 9dcc0f4e488b70cff81e0e5717a498c929cf5de3; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< bfdc744bf20ae4c3ef2e470298de5237c5c9a13c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 32cd87f54dd1070020e664ccb0312a9f0fea79b4
- Anyone running Linux 5.3

## 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.

## Affected and fixed versions

- Linux: \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< e3f039082856adab7e195dea1af45d93dd6a3f1c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< ad50d19f3d1ce052b3a146143581e930a1efb33e; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 030306bbb9273af80f14d7af20129661964cd9a7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< df2584750314336edcbcc21fb388e04b260f35b7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 9dcc0f4e488b70cff81e0e5717a498c929cf5de3; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< bfdc744bf20ae4c3ef2e470298de5237c5c9a13c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 32cd87f54dd1070020e664ccb0312a9f0fea79b4 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 32cd87f54dd1070020e664ccb0312a9f0fea79b4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98367. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98367.md
Affected: Linux >= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, < f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078; >= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, < e3f039082856adab7e195dea1af45d93dd6a3f1c; >= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, < ad50d19f3d1ce052b3a146143581e930a1efb33e; >= 6c52fdc244b5ccc468006fd…
Fixed in: Linux 030306bbb9273af80f14d7af20129661964cd9a7, Linux 9dcc0f4e488b70cff81e0e5717a498c929cf5de3, Linux 32cd87f54dd1070020e664ccb0312a9f0fea79b4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98367 being exploited?

There is no confirmed exploitation: CVE-2026-98367 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98367?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98367?

Linux \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< e3f039082856adab7e195dea1af45d93dd6a3f1c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< ad50d19f3d1ce052b3a146143581e930a1efb33e; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 030306bbb9273af80f14d7af20129661964cd9a7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< df2584750314336edcbcc21fb388e04b260f35b7; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 9dcc0f4e488b70cff81e0e5717a498c929cf5de3; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< bfdc744bf20ae4c3ef2e470298de5237c5c9a13c; \>= 6c52fdc244b5ccc468006fd65a504d4ee33743c7, \< 32cd87f54dd1070020e664ccb0312a9f0fea79b4; Linux 5.3.

### Is there a fix for CVE-2026-98367?

Yes. Fixed in Linux 030306bbb9273af80f14d7af20129661964cd9a7, Linux 9dcc0f4e488b70cff81e0e5717a498c929cf5de3, Linux 32cd87f54dd1070020e664ccb0312a9f0fea79b4. Upgrade Linux to 32cd87f54dd1070020e664ccb0312a9f0fea79b4 or later.

### How do I check if I'm affected by CVE-2026-98367?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078>
- other: <https://git.kernel.org/stable/c/e3f039082856adab7e195dea1af45d93dd6a3f1c>
- other: <https://git.kernel.org/stable/c/ad50d19f3d1ce052b3a146143581e930a1efb33e>
- other: <https://git.kernel.org/stable/c/030306bbb9273af80f14d7af20129661964cd9a7>
- other: <https://git.kernel.org/stable/c/df2584750314336edcbcc21fb388e04b260f35b7>
- other: <https://git.kernel.org/stable/c/9dcc0f4e488b70cff81e0e5717a498c929cf5de3>
- other: <https://git.kernel.org/stable/c/bfdc744bf20ae4c3ef2e470298de5237c5c9a13c>
- other: <https://git.kernel.org/stable/c/32cd87f54dd1070020e664ccb0312a9f0fea79b4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98367>

HTML: <https://flawdb.com/CVE-2026-98367> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98367>
