CVE-2026-139598
RDMA/hns: Pin CQ buffer writable to match device DMA write access
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 149ed0680f70ca2fcddb1917de1c3781c4f8860a; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 15b14c77c1cd7289ec365fabf40fd867b478950e; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 39c0b6196a3c157e3ce08165cfeddbbb54f67004; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 3757b8d50dc93ffd9aede64eeda136c1b8169b03; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 5afa562683a0fec2b427941cbe39e0a14ea79ada; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < ce29f6e741844a78ad1977f2a550ede27ecf95f8; Linux 5.8
- Fixed in
- Linux 149ed0680f70ca2fcddb1917de1c3781c4f8860a, Linux 15b14c77c1cd7289ec365fabf40fd867b478950e, Linux 39c0b6196a3c157e3ce08165cfeddbbb54f67004, Linux 3757b8d50dc93ffd9aede64eeda136c1b8169b03, Linux 5afa562683a0fec2b427941cbe39e0a14ea79ada
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 149ed0680f70ca2fcddb1917de1c3781c4f8860a; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < d1dde136b712ff5c0220f5a33175e01bd6b9e9bf; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 15b14c77c1cd7289ec365fabf40fd867b478950e; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 39c0b6196a3c157e3ce08165cfeddbbb54f67004; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 3757b8d50dc93ffd9aede64eeda136c1b8169b03; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < 5afa562683a0fec2b427941cbe39e0a14ea79ada; >= 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a, < ce29f6e741844a78ad1977f2a550ede27ecf95f8 | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- https://git.kernel.org/stable/c/f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5
- https://git.kernel.org/stable/c/149ed0680f70ca2fcddb1917de1c3781c4f8860a
- https://git.kernel.org/stable/c/d1dde136b712ff5c0220f5a33175e01bd6b9e9bf
- https://git.kernel.org/stable/c/15b14c77c1cd7289ec365fabf40fd867b478950e
- https://git.kernel.org/stable/c/39c0b6196a3c157e3ce08165cfeddbbb54f67004
- https://git.kernel.org/stable/c/3757b8d50dc93ffd9aede64eeda136c1b8169b03
- https://git.kernel.org/stable/c/5afa562683a0fec2b427941cbe39e0a14ea79ada
- https://git.kernel.org/stable/c/ce29f6e741844a78ad1977f2a550ede27ecf95f8
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |