Files
linux/drivers/net
Phil Turnbull 7aed1dd5d2 wifi: wilc1000: validate number of channels
commit 0cdfa9e6f0 upstream.

There is no validation of 'e->no_of_channels' which can trigger an
out-of-bounds write in the following 'memset' call. Validate that the
number of channels does not extends beyond the size of the channel list
element.

Signed-off-by: Phil Turnbull <philipturnbull@github.com>
Tested-by: Ajay Kathat <ajay.kathat@microchip.com>
Acked-by: Ajay Kathat <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221123153543.8568-5-philipturnbull@github.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-02 17:41:11 +01:00
..
2021-08-03 13:05:26 +01:00
2021-12-29 12:28:44 +01:00
2022-08-25 11:40:11 +02:00
2021-07-27 20:11:43 +01:00
2022-08-25 11:40:15 +02:00
2021-06-28 12:44:17 -07:00
2022-12-02 17:41:05 +01:00
2021-08-04 10:10:12 +01:00
2021-07-27 20:11:44 +01:00
2021-08-03 13:05:26 +01:00