Files
linux/drivers
Dan Carpenter 146ebee8fc net: mvneta: Prevent out of bounds read in mvneta_config_rss()
[ Upstream commit e8b4fc1390 ]

The pp->indir[0] value comes from the user.  It is passed to:

	if (cpu_online(pp->rxq_def))

inside the mvneta_percpu_elect() function.  It needs bounds checkeding
to ensure that it is not beyond the end of the cpu bitmap.

Fixes: cad5d847a0 ("net: mvneta: Fix the CPU choice in mvneta_percpu_elect")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-14 11:32:02 +01:00
..
2022-05-09 09:04:56 +02:00
2022-12-08 11:23:58 +01:00
2021-11-18 14:03:51 +01:00
2022-04-13 21:00:55 +02:00
2022-08-25 11:38:14 +02:00