RDMA/hns: Pin CQ buffer writable to match device DMA write access
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before f3c538a464e8c9c77844dbaa6aa62ba81f23b3d5 Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before 149ed0680f70ca2fcddb1917de1c3781c4f8860a Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before d1dde136b712ff5c0220f5a33175e01bd6b9e9bf Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before 15b14c77c1cd7289ec365fabf40fd867b478950e Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before 39c0b6196a3c157e3ce08165cfeddbbb54f67004 Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before 3757b8d50dc93ffd9aede64eeda136c1b8169b03 Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before 5afa562683a0fec2b427941cbe39e0a14ea79ada Affected744b7bdfa79edb30bb7d5f9ae43b65e0d147533a to before ce29f6e741844a78ad1977f2a550ede27ecf95f8 Affected |
| Linux Linux | 5.8 Affectedbefore 5.8 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.