# CVE-2026-139598: RDMA/hns: Pin CQ buffer writable to match device DMA write access

- **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)
- **Published:** 2026-11-30T13:36:14.030Z
- **Modified:** 2026-12-01T06:17:46.440Z

## Who should check

- Anyone running Linux \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 149ed0680f70ca2fcddb1917de1c3781c4f8860a; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 15b14c77c1cd7289ec365fabf40fd867b478950e; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 39c0b6196a3c157e3ce08165cfeddbbb54f67004; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 3757b8d50dc93ffd9aede64eeda136c1b8169b03; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 5afa562683a0fec2b427941cbe39e0a14ea79ada; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< ce29f6e741844a78ad1977f2a550ede27ecf95f8
- Anyone running Linux 5.8

## Description

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

RDMA/hns: Pin CQ buffer writable to match device DMA write access

alloc\_cq\_buf() leaves user\_access zero-initialized, but the device
writes CQEs into the CQ buffer. Set IB\_ACCESS\_LOCAL\_WRITE so the buffer
is pinned writable, matching the device's write access.

## Affected and fixed versions

- Linux: \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 149ed0680f70ca2fcddb1917de1c3781c4f8860a; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 15b14c77c1cd7289ec365fabf40fd867b478950e; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 39c0b6196a3c157e3ce08165cfeddbbb54f67004; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 3757b8d50dc93ffd9aede64eeda136c1b8169b03; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 5afa562683a0fec2b427941cbe39e0a14ea79ada; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< ce29f6e741844a78ad1977f2a550ede27ecf95f8 (cvelist)
- Linux: 5.8 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-139598.md
Affected: Linux >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 149ed0680f70ca2fcddb1917de1c3781c4f8860a; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; >= 744b7bdfa79edb30bb7d5f9…
Fixed in: Linux 149ed0680f70ca2fcddb1917de1c3781c4f8860a, Linux 15b14c77c1cd7289ec365fabf40fd867b478950e, Linux 39c0b6196a3c157e3ce08165cfeddbbb54f67004, Linux 3757b8d50dc93ffd9aede64eeda136c1b8169b03, Linux 5afa562683a0fec2b427941cbe39e0a14ea79ada

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-139598 being exploited?

There is no confirmed exploitation: CVE-2026-139598 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

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

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

Linux \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 149ed0680f70ca2fcddb1917de1c3781c4f8860a; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 15b14c77c1cd7289ec365fabf40fd867b478950e; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 39c0b6196a3c157e3ce08165cfeddbbb54f67004; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 3757b8d50dc93ffd9aede64eeda136c1b8169b03; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< 5afa562683a0fec2b427941cbe39e0a14ea79ada; \>= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, \< ce29f6e741844a78ad1977f2a550ede27ecf95f8; Linux 5.8.

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

Yes. Fixed in Linux 149ed0680f70ca2fcddb1917de1c3781c4f8860a, Linux 15b14c77c1cd7289ec365fabf40fd867b478950e, Linux 39c0b6196a3c157e3ce08165cfeddbbb54f67004, Linux 3757b8d50dc93ffd9aede64eeda136c1b8169b03, Linux 5afa562683a0fec2b427941cbe39e0a14ea79ada. No fix listed yet: follow the vendor advisory.

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

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/f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5>
- other: <https://git.kernel.org/stable/c/149ed0680f70ca2fcddb1917de1c3781c4f8860a>
- other: <https://git.kernel.org/stable/c/d1dde136b712ff5c0220f5a33175e01bd6b9e9bf>
- other: <https://git.kernel.org/stable/c/15b14c77c1cd7289ec365fabf40fd867b478950e>
- other: <https://git.kernel.org/stable/c/39c0b6196a3c157e3ce08165cfeddbbb54f67004>
- other: <https://git.kernel.org/stable/c/3757b8d50dc93ffd9aede64eeda136c1b8169b03>
- other: <https://git.kernel.org/stable/c/5afa562683a0fec2b427941cbe39e0a14ea79ada>
- other: <https://git.kernel.org/stable/c/ce29f6e741844a78ad1977f2a550ede27ecf95f8>

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

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