Re: [PATCH] staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()

From: Greg Kroah-Hartman
Date: Sun Jul 09 2023 - 15:49:11 EST


On Sun, Jul 09, 2023 at 09:21:45PM +0200, Markus Elfring wrote:
> > The "exc->key_len" is a u16 that comes from the user. If it's over
> > IW_ENCODING_TOKEN_MAX (64) that could lead to memory corruption.
>
> Please choose an imperative change suggestion.

Please stop reviewing staging patches, it is not helpful for anyone.

greg k-h