Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp984171ybm; Wed, 27 May 2020 12:55:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxbRkptgbPJ/LQOQDQMSN3seiUbiB7gEv71cQQPlBmM/dtfG6nwJvXNPEOuB5gYdXRl+W0 X-Received: by 2002:a17:907:40bf:: with SMTP id nu23mr4971309ejb.74.1590609342524; Wed, 27 May 2020 12:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590609342; cv=none; d=google.com; s=arc-20160816; b=blFWWu1+9VdCS479VOymH2idyKBHhsoBGpXHEJKRaqge24LomUBxKG27A8/PnJ2nCn JGbzeKwjLojfG0cC/gLtT+hvkTl/oWxrlTjlK+VdEfGQbhKcLBWQGXMqTLsk6M4wHjWV sGrWbdEE7ukl8xZBY6z2Liok/1dzsKz/ue6KiO3Rv+yKFXPb6jWPao7KUQiVtJwTOkHZ MUjCZoTWD8zywAYwd+jU/XA84BbpNgzDzdMuVRd/6LSY2Ang2ZZS2ktvNYpJUrQRcyq6 TzvOOPH61foD7VM0VuqaKOVqQ3CZDrrBYhrF9jGsGYO72X8rTEiQWhkNVeEladJrgIw2 NyFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=hwyC26U21oLAwGnHQMMkfdxN0tkg9nZs4rjUYAhwUPk=; b=KovouAkH5rc2ASP9qhcsxIR3ho4KixeC4uOw4kX2TppGITKwDLlsLLASd/mcjatfce r6TIChCZHurxk8YrAOGlyzk2NabAH05NMUMERU+oquCb5xSxjKIDt5K4qO4i8AKrkD5f bMrgheTdD8TRJXSaFg/rt5tPkv9uW5LTuGXO5ntHdKzqiC8qtka3ikAWusxFDKzjuQDs Fu7ba/wssmZelCeTJmie9Legd6V0Y5ZTOjJJ2e8/1Li9cW9FDd8AH1uqBmD08Lo6dvbo XsJIqlevboCd36pYnL+1LSxbgUU38jVjKqLpuzYjGB45Z4f0J/4fBfr+wNrXdgyy2sCs 5z8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si2248307edn.81.2020.05.27.12.55.19; Wed, 27 May 2020 12:55:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728369AbgE0TxL (ORCPT + 99 others); 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.