From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751361AbdFFHVn (ORCPT ); Tue, 6 Jun 2017 03:21:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48414 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbdFFHVm (ORCPT ); Tue, 6 Jun 2017 03:21:42 -0400 Date: Tue, 6 Jun 2017 09:21:36 +0200 From: Greg Kroah-Hartman To: Eric Biggers Cc: Kees Cook , LKML , "# 3.4.x" , Philip =?iso-8859-1?Q?M=FCller?= , Daniel Micay , Arjan van de Ven , Rik van Riel , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , "kernel-hardening@lists.openwall.com" , Ingo Molnar Subject: Re: [kernel-hardening] Re: [PATCH 3.18 01/33] Revert "stackprotector: Increase the per-task stack canarys random range from 32 bits to 64 bits on 64-bit platforms" Message-ID: <20170606072136.GD26873@kroah.com> References: <20170605153020.953645204@linuxfoundation.org> <20170605153021.008595891@linuxfoundation.org> <20170605200652.GB87699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170605200652.GB87699@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 05, 2017 at 01:06:52PM -0700, Eric Biggers wrote: > On Mon, Jun 05, 2017 at 12:13:11PM -0700, Kees Cook wrote: > > On Mon, Jun 5, 2017 at 9:16 AM, Greg Kroah-Hartman > > wrote: > > > 3.18-stable review patch. If anyone has any objections, please let me know. > > > > > > ------------------ > > > > > > From: Greg Kroah-Hartman > > > > > > This reverts commit 609a3e81550b0b4ea87197b0f59455a7bcff975a which is > > > commit 5ea30e4e58040cfd6434c2f33dc3ea76e2c15b05 upstream. > > > > > > It shouldn't have been backported to 3.18, as we do not have > > > get_random_long() in that kernel tree. > > > > It should be possible to trivially backport > > ec9ee4acd97c0039a61c0ae4f12705767ae62153 to gain get_random_long(). > > > > -Kees > > If that's done it may be a good idea to take > b1132deac01c2332d234fa821a70022796b79182 as well, which fixed an alignment bug > in get_random_long(). Good idea for both of these, I'll do that in the next round of releases. thanks, greg k-h