From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1520C433DF for ; Wed, 27 May 2020 19:53:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBA7320835 for ; Wed, 27 May 2020 19:53:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728450AbgE0TxL (ORCPT ); Wed, 27 May 2020 15:53:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbgE0TxK (ORCPT ); Wed, 27 May 2020 15:53:10 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1190C05BD1E for ; Wed, 27 May 2020 12:53:10 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1je26p-00GTjv-QR; Wed, 27 May 2020 19:53:03 +0000 Date: Wed, 27 May 2020 20:53:03 +0100 From: Al Viro To: Borislav Petkov Cc: Alexander Potapenko , Kees Cook , Andrew Morton , Alexey Dobriyan , LKML , sunhaoyl@outlook.com, x86@kernel.org Subject: Re: [PATCH] fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() Message-ID: <20200527195303.GF23230@ZenIV.linux.org.uk> References: <202004201540.01C8F82B@keescook> <20200421034249.GB23230@ZenIV.linux.org.uk> <20200512010901.GQ23230@ZenIV.linux.org.uk> <20200512034400.GA1537486@ZenIV.linux.org.uk> <20200513033349.GR23230@ZenIV.linux.org.uk> <20200524234535.GA23230@ZenIV.linux.org.uk> <20200526223817.GA3819674@ZenIV.linux.org.uk> <20200527190456.GD1721@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200527190456.GD1721@zn.tnic> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 09:04:56PM +0200, Borislav Petkov wrote: > On Tue, May 26, 2020 at 11:38:17PM +0100, Al Viro wrote: > > Folks, could you test the following? > > > > copy_xstate_to_kernel(): don't leave parts of destination uninitialized > > > > copy the corresponding pieces of init_fpstate into the gaps instead. > > > > Signed-off-by: Al Viro > > Am I taking this through tip (would prefer to as there's other FPU stuff > pending) or should I ack this so that you can send it upwards? Either way would work - I was going to send it to Linus tonight and an extra Acked-by: would be welcome. OTOH, if you would rather have all x86-related patches go through x86 git... your subtree, your rules.