AZL-117238: CVE-2026-139576 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx4: Do not allow the user to write to the clock page
mlx4ibmmap() maps the internal clock page to userspace through rdmausermmapio(), which does not restrict write access. Userspace can request PROTWRITE directly, or upgrade a read-only mapping later with mprotect() because VMMAYWRITE remains set.
Reject VMWRITE, VMEXEC and clear VMMAYWRITE, 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 PROTREAD, so its existing behavior is unchanged.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using the Linux kernel mlx4 RDMA driver are exposed when untrusted or insufficiently trusted local users can access the mlx4 clock-page mapping. The issue concerns userspace access to an internal RDMA clock page.
What access does an attacker need to exploit it?
An attacker needs local userspace access sufficient to request the mlx4 clock-page memory mapping. They can request a writable mapping directly or change a read-only mapping to writable later with mprotect().
Does this affect normal rdma-core mlx4 provider operation?
The rdma-core mlx4 provider requests the clock-page mapping with PROT_READ. Its existing behavior is unchanged by the read-only enforcement.
How can I tell whether a system has the vulnerable behavior?
A vulnerable kernel allows the mlx4 clock-page mapping to be made writable, either by requesting PROT_WRITE or by upgrading a read-only mapping with mprotect(). The resolved behavior rejects VM_WRITE and VM_EXEC and clears VM_MAYWRITE.