AZL-117235: CVE-2026-139575 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
RDMA/cxgb4: Do not allow userspace to write the status page
The device status page is shared by all userspace contexts and contains dboff, which the driver updates to control doorbell flow. The rdma-core provider maps it with PROTREAD, but c4iwmmap() passes the requested page protection through when handling CXGB4MMAPCONTIG.
A process can therefore request PROTWRITE directly or later upgrade a read-only mapping with mprotect() because VMMAYWRITE remains set. This lets userspace alter device-wide flow-control state seen by the kernel and other contexts.
Reject initially writable mappings and clear VMMAYWRITE before mapping the page. This preserves the existing read-only userspace ABI.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the CXGB4_MMAP_CONTIG mapping path, reject initially writable mappings and clear VM_MAYWRITE before mapping the device status page.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel's RDMA cxgb4 driver are exposed when a userspace context can map the shared device status page. The issue concerns the CXGB4_MMAP_CONTIG mapping path.
What does an attacker need to do to exploit it?
A userspace process must obtain a mapping of the device status page and make it writable, either by requesting PROT_WRITE initially or by upgrading a read-only mapping with mprotect(). This allows modification of device-wide flow-control state.
Could this affect other users of the RDMA device?
Yes. The status page is shared by all userspace contexts, and its db_off value is used by the driver to control doorbell flow. Changes by one process can therefore affect the kernel and other contexts using the device.
What behavior does the resolved change enforce?
It rejects initially writable mappings of the status page and clears VM_MAYWRITE before mapping it. Userspace retains the existing read-only mapping ABI.