CVE-2026-139575

RDMA/cxgb4: Do not allow userspace to write the status page

Published Nov 30, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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
db_off, which the driver updates to control doorbell flow. The rdma-core
provider maps it with PROT_READ, but c4iw_mmap() passes the requested page
protection through when handling CXGB4_MMAP_CONTIG.

A process can therefore request PROT_WRITE directly or later upgrade a
read-only mapping with mprotect() because VM_MAYWRITE remains set. This
lets userspace alter device-wide flow-control state seen by the kernel and
other contexts.

Reject initially writable mappings and clear VM_MAYWRITE before mapping the
page. This preserves the existing read-only userspace ABI.

Analysis

AI-generated

Technical impact

The RDMA/cxgb4 driver mistakenly allows a userspace process to map the device status page with writable permissions, or later upgrade a read‑only mapping with mprotect. This page contains control structures that govern doorbell flow. An attacker can therefore alter flow‑control state seen by the kernel and other userspace contexts, potentially causing service disruption or compromising device operation. The vulnerability is a direct permission grant flaw that could lead to local privilege escalation or denial of service.

Affected Systems

Linux kernels that include the cxgb4 RDMA driver – commonly found in all recent releases of the Linux kernel that support ConnectX‑4 NICs – are affected. All kernel versions prior to the patch that exposes the status page with read permissions are subject to this flaw. Systems running RDMA‑enabled applications that interact with the cxgb4 driver must be considered vulnerable until the kernel is updated or the driver is disabled.

Risk and Exploitability

The CVSS base score is 6.1. A process can map the device status page with write permissions or upgrade a read‑only mapping via mprotect, thereby altering a flow‑control field that all RDMA contexts observe. This could lead to denial of service, resource exhaustion, or potentially local privilege escalation if the altered state enables unauthorized access or misconfiguration. The EPSS score is 0.00168 (<1%), indicating a very low but nonzero exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The attack requires a local process with permission to interact with the RDMA device; remote exploitation would necessitate compromising the host or a privileged application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a patched Linux kernel that rejects writable mappings of the RDMA status page, ensuring VM_MAYWRITE is cleared before mapping.
  • If an immediate kernel upgrade is not possible, unload or disable the c4iw (cxgb4) RDMA module until the fix is available to prevent userspace from mapping the status page.
  • Monitor kernel logs (dmesg, /var/log/kern.log) for RDMA‑related warnings or errors that may indicate attempts to write the device status page, and investigate any unusual activity.

Generated by OpenCVE AI on December 2, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-279
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Description 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 db_off, which the driver updates to control doorbell flow. The rdma-core provider maps it with PROT_READ, but c4iw_mmap() passes the requested page protection through when handling CXGB4_MMAP_CONTIG. A process can therefore request PROT_WRITE directly or later upgrade a read-only mapping with mprotect() because VM_MAYWRITE remains set. This lets userspace alter device-wide flow-control state seen by the kernel and other contexts. Reject initially writable mappings and clear VM_MAYWRITE before mapping the page. This preserves the existing read-only userspace ABI.
Title RDMA/cxgb4: Do not allow userspace to write the status page
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-279

    Incorrect Execution-Assigned Permissions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM