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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
52033cfb5aab2a54e238e93c9e52f61c2c5708aa to < b5427ca525b857877ffda1d56f1a42b0e8fa2a6caffected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to < f137ea5a1dd3fc317aea617917371ee3de3571f2affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to < d029a1701e4ed94b28f9a3549b0bc464374353e6affected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to < 890d601dae33f2610b134c86210a1b8ba55adaafaffected52033cfb5aab2a54e238e93c9e52f61c2c5708aa to < 33db1d9683b8fb00bc233d0bea093e694ed9afc5affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗