Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1678252

Re: [PATCH] sysctl: don't read uninit memory in deprecated_sysctl_warning()

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sysctl: don't read uninit memory in deprecated_sysctl_warning()
Date 2017-06-30 00:40 +0200
Message-ID <tXQgq-5oe-27@gated-at.bofh.it> (permalink)
References <tXmLo-8q5-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 28 Jun 2017 17:00:37 +0200 Alexander Potapenko <glider@google.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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] sysctl: don't read uninit memory in deprecated_sysctl_warning() Alexander Potapenko <glider@google.com> - 2017-06-28 17:10 +0200
  Re: [PATCH] sysctl: don't read uninit memory in  deprecated_sysctl_warning() Andrew Morton <akpm@linux-foundation.org> - 2017-06-30 00:40 +0200

csiph-web