RDMA/mlx4: Do not allow the user to write to the clock page
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 52033cfb5aab2a54e238e93c9e52f61c2c5708aa to before b5427ca525b857877ffda1d56f1a42b0e8fa2a6c Affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to before f137ea5a1dd3fc317aea617917371ee3de3571f2 Affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to before d029a1701e4ed94b28f9a3549b0bc464374353e6 Affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to before 890d601dae33f2610b134c86210a1b8ba55adaaf Affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to before 33db1d9683b8fb00bc233d0bea093e694ed9afc5 Affected |
| Linux Linux | 4.2 Affectedbefore 4.2 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/b5427ca525b857877ffda1d56f1a42b0e8fa2a6c
- https://git.kernel.org/stable/c/f137ea5a1dd3fc317aea617917371ee3de3571f2
- https://git.kernel.org/stable/c/d029a1701e4ed94b28f9a3549b0bc464374353e6
- https://git.kernel.org/stable/c/890d601dae33f2610b134c86210a1b8ba55adaaf
- https://git.kernel.org/stable/c/33db1d9683b8fb00bc233d0bea093e694ed9afc5
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.