Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-139598

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

Published 30/11/2026 · Updated 01/12/2026 · Linux

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 products and versions

Linux Linux744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5 · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < 149ed0680f70ca2fcddb1917de1c3781c4f8860a · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < d1dde136b712ff5c0220f5a33175e01bd6b9e9bf · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < 15b14c77c1cd7289ec365fabf40fd867b478950e · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < 39c0b6196a3c157e3ce08165cfeddbbb54f67004 · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < 3757b8d50dc93ffd9aede64eeda136c1b8169b03 · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < 5afa562683a0fec2b427941cbe39e0a14ea79ada · 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a – < ce29f6e741844a78ad1977f2a550ede27ecf95f8Fixed in: f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5 · 149ed0680f70ca2fcddb1917de1c3781c4f8860a · d1dde136b712ff5c0220f5a33175e01bd6b9e9bf · 15b14c77c1cd7289ec365fabf40fd867b478950e · 39c0b6196a3c157e3ce08165cfeddbbb54f67004 · 3757b8d50dc93ffd9aede64eeda136c1b8169b03 · 5afa562683a0fec2b427941cbe39e0a14ea79ada · ce29f6e741844a78ad1977f2a550ede27ecf95f8
Linux Linux5.8Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.