Ofir Bitton db8838e48a habanalabs: add validity check for event ID received from F/W
[ Upstream commit a6c849012b0f51c674f52384bd9a4f3dc0a33c31 ]

Currently there is no validity check for event ID received from F/W,
Thus exposing driver to memory overrun.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-26 14:09:01 +02:00
..
2020-10-16 12:21:15 -07:00
2020-10-28 19:12:03 +01:00
2021-06-03 09:00:31 +02:00
2020-10-28 19:12:03 +01:00