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.
https://git.kernel.org/stable/c/f137ea5a1dd3fc317aea617917371ee3de3571f2
https://git.kernel.org/stable/c/d029a1701e4ed94b28f9a3549b0bc464374353e6
https://git.kernel.org/stable/c/b5427ca525b857877ffda1d56f1a42b0e8fa2a6c
https://git.kernel.org/stable/c/890d601dae33f2610b134c86210a1b8ba55adaaf
https://git.kernel.org/stable/c/33db1d9683b8fb00bc233d0bea093e694ed9afc5