Files
linux/drivers
Dan Carpenter b546f96aff 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>
2023-06-29 09:27:14 +09:00
..
2023-05-16 12:22:16 +09:00
2023-06-29 09:27:06 +09:00
2023-06-29 09:26:11 +09:00
2023-06-29 09:27:14 +09:00
2023-06-29 09:26:40 +09:00
2023-05-16 09:58:13 +09:00
2023-06-29 09:26:07 +09:00