Bug 2586951 (CVE-2026-139598)

Summary: CVE-2026-139598 kernel: kernel: Denial of service via missing write permissions in RDMA/hns CQ buffer allocation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's Remote Direct Memory Access (RDMA) HiSilicon network subsystem (hns) driver. When allocating a Completion Queue (CQ) buffer, the driver failed to set write permissions when pinning memory pages, even though the hardware writes completion data into the buffer using Direct Memory Access (DMA). A local user could trigger this flaw during queue creation, which may cause memory mapping inconsistencies or DMA faults, potentially leading to a system crash and a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-30 14:50:14 UTC
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.