Files
linux/drivers
Dan Carpenter 39bd16df7c net: mvpp2: prevent buffer overflow in mvpp22_rss_ctx()
The "rss_context" variable comes from the user via  ethtool_get_rxfh().
It can be any u32 value except zero.  Eventually it gets passed to
mvpp22_rss_ctx() and if it is over MVPP22_N_RSS_TABLES (8) then it
results in an array overflow.

Fixes: 895586d5dc ("net: mvpp2: cls: Use RSS contexts to handle RSS tables")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-06 14:15:46 -07:00
..
2020-04-24 21:03:57 +02:00
2020-03-23 07:59:38 +01:00
2020-04-10 11:32:22 +02:00
2020-04-04 18:07:59 -07:00
2020-04-16 13:52:31 -07:00
2020-04-20 10:19:22 -04:00
2020-04-17 06:05:29 -04:00
2020-03-23 08:04:08 +01:00
2020-04-20 10:19:22 -04:00