[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170629153206.73185df8e314efb232bf77b0@linux-foundation.org>
Date: Thu, 29 Jun 2017 15:32:06 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Alexander Potapenko <glider@...gle.com>
Cc: dvyukov@...gle.com, kcc@...gle.com, davem@...emloft.net,
linux-kernel@...r.kernel.org, Mateusz Jurczyk <mjurczyk@...gle.com>
Subject: Re: [PATCH] sysctl: don't read uninit memory in
deprecated_sysctl_warning()
On Wed, 28 Jun 2017 17:00:37 +0200 Alexander Potapenko <glider@...gle.com> 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
Powered by blists - more mailing lists