Files
linux/drivers/infiniband/hw/mlx5
Jason Gunthorpe 1af34bf97e RDMA/mlx5: Do not allow the user to write to the clock page
commit c660133c33 upstream.

The intent of this VMA was to be read-only from user space, but the
VM_MAYWRITE masking was missed, so mprotect could make it writable.

Cc: stable@vger.kernel.org
Fixes: 5c99eaecb1 ("IB/mlx5: Mmap the HCA's clock info to user-space")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-02 09:58:54 +02:00
..
2018-01-08 11:42:23 -07:00
2017-09-25 11:47:24 -04:00
2018-11-13 11:08:43 -08:00
2018-12-17 09:24:36 +01:00
2018-08-16 13:12:00 -06:00