CVE-2026-139576

RDMA/mlx4: Do not allow the user to write to the clock page

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx4: Do not allow the user to write to the clock page

mlx4_ib_mmap() maps the internal clock page to userspace through
rdma_user_mmap_io(), which does not restrict write access. Userspace can
request PROT_WRITE directly, or upgrade a read-only mapping later with
mprotect() because VM_MAYWRITE remains set.

Reject VM_WRITE, VM_EXEC and clear VM_MAYWRITE, applying the same read-only
policy as commit c660133c339f ("RDMA/mlx5: Do not allow the user to write to the
clock page"). The rdma-core mlx4 provider requests this mapping with
PROT_READ, so its existing behavior is unchanged.

Analysis

AI-generated

Technical impact

The flaw exists in the Linux kernel's RDMA mlx4 driver, where a memory region containing the internal clock page is mapped to user space without restricting write access. A user can request write permissions directly or upgrade a read‑only mapping with mprotect, keeping the VM_MAYWRITE flag set. This allows a local attacker to modify kernel clock data, potentially causing kernel corruption, denial of service, or full privilege escalation if other inconsistencies are exploited. The weakness is a classic violation of access control, permitting unauthorized modification of critical kernel data.

Affected Systems

All Linux kernel builds that include the RDMA mlx4 driver and have not yet applied the patch referenced in commit c660133c339f are affected. This includes numerous distributions and versions that ship the kernel with RDMA support for Mellanox (mlx4) devices until the update is applied.

Risk and Exploitability

There is no EPSS score available and the vulnerability has not been listed in the CISA KEV catalog, but the potential to write to protected kernel memory is a severe weakness. Exploitation requires only local access to the RDMA device and the ability to initiate a memory mapping, making it relatively straightforward for an unprivileged user on the same host to trigger the flaw. Given the lack of hard mitigation in the kernel prior to the patch, the risk is considered high and the likelihood of exploitation remains significant while the vulnerability exists.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch fixing the mlx4 driver memory-mapping behavior.
  • If an immediate kernel upgrade is not possible, restrict RDMA device access to privileged users only (e.g., through udev rules or device ACLs) so that untrusted users cannot open the device and map the memory.
  • Verify that the kernel module for rdma does not expose writable mappings; consider disabling the RDMA driver module on hosts where RDMA functionality is not required.

Generated by OpenCVE AI on November 30, 2026 at 23:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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/mlx4: Do not allow the user to write to the clock page mlx4_ib_mmap() maps the internal clock page to userspace through rdma_user_mmap_io(), which does not restrict write access. Userspace can request PROT_WRITE directly, or upgrade a read-only mapping later with mprotect() because VM_MAYWRITE remains set. Reject VM_WRITE, VM_EXEC and clear VM_MAYWRITE, applying the same read-only policy as commit c660133c339f ("RDMA/mlx5: Do not allow the user to write to the clock page"). The rdma-core mlx4 provider requests this mapping with PROT_READ, so its existing behavior is unchanged.
Title RDMA/mlx4: Do not allow the user to write to the clock page
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

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