Home
last modified time | relevance | path

Searched hist:"271 bfcfb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c271bfcfb Mon Feb 27 03:17:51 CST 2023 Daniil Dulov <d.dulov@aladdin.ru> RDMA/siw: Fix potential page_array out of range access

When seg is equal to MAX_ARRAY, the loop should break, otherwise
it will result in out of range access.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: b9be6f18cf9e ("rdma/siw: transmit path")
Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
Link: https://lore.kernel.org/r/20230227091751.589612-1-d.dulov@aladdin.ru
Signed-off-by: Leon Romanovsky <leon@kernel.org>