Re: [PATCH] sysctl: don't read uninit memory in deprecated_sysctl_warning()
From: Andrew Morton
Date: Thu Jun 29 2017 - 18:32:12 EST
On Wed, 28 Jun 2017 17:00:37 +0200 Alexander Potapenko <glider@xxxxxxxxxx> wrote:
> Don't attempt to read the first two elements of name[] unless they
> were actually copied from the userspace.
>
> This bug has been detected by KMSAN.
Thanks. I already have the identical
http://ozlabs.org/~akpm/mmots/broken-out/sysctl-check-name-array-length-in-deprecated_sysctl_warning.patch