Wed, Oct 12, 2016 at 11:10:55AM CEST, wrote:
>From: Prasad J Pandit <>
>Rocker network switch emulator has test registers to help debug
>DMA operations. While testing host DMA access, a buffer address
>is written to register 'TEST_DMA_ADDR' and its size is written to
>register 'TEST_DMA_SIZE'. When performing TEST_DMA_CTRL_INVERT
>test, if DMA buffer size was greater than 'INT_MAX', it leads to
>an invalid buffer access. Limit the DMA buffer size to avoid it.
>Reported-by: Huawei PSIRT <>
>Signed-off-by: Prasad J Pandit <>

Reviewed-by: Jiri Pirko <>

Reply via email to