On 09/08/23 at 09:59pm, Philipp Stanner wrote:
> Currently, there is no overflow-check with memdup_user().
>
> Use the new function memdup_array_user() instead of memdup_user() for
> duplicating the user-space array safely.
>
> Suggested-by: David Airlie
> Signed-off-by: Philipp Stanner
> ---
Currently, there is no overflow-check with memdup_user().
Use the new function memdup_array_user() instead of memdup_user() for
duplicating the user-space array safely.
Suggested-by: David Airlie
Signed-off-by: Philipp Stanner
---
kernel/kexec.c | 2 +-
1 file changed, 1 insertion(+), 1