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=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 02F25C2B9F4 for ; Fri, 25 Jun 2021 08:54:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8D2B6142C for ; Fri, 25 Jun 2021 08:54:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbhFYI4f (ORCPT ); Fri, 25 Jun 2021 04:56:35 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:45872 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbhFYI4e (ORCPT ); Fri, 25 Jun 2021 04:56:34 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D258321C39; Fri, 25 Jun 2021 08:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1624611253; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4MEOH6mEooAsDyYd5Jd7U0bsvgXwH4JlnwXZnKAz1Q4=; b=ebPDlPVqChQqWjC1mZvIndjMUoYBFNd6zsSQLWpuipxuIqYNE2tfnKvNiRfpepsZuwpxtk Cn2Ryor3B0XuAClQRpi8Azh6YbDUleKikaww7imtyzh1hezG+b/CCe8LdE0C8uHNoXXcGR xf/1zN+LM7/MJ7eeNaJg/w3JixAjwms= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1624611253; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4MEOH6mEooAsDyYd5Jd7U0bsvgXwH4JlnwXZnKAz1Q4=; b=PsKSdyoYSDvHiVYcaKYJ/x6DM5dFJpycZcxyaNYkXus3eOizJ4RBzmPCyzo1Z9714CxZUW J8tb/mDD+bamaQAw== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id B852811A97; Fri, 25 Jun 2021 08:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1624611253; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4MEOH6mEooAsDyYd5Jd7U0bsvgXwH4JlnwXZnKAz1Q4=; b=ebPDlPVqChQqWjC1mZvIndjMUoYBFNd6zsSQLWpuipxuIqYNE2tfnKvNiRfpepsZuwpxtk Cn2Ryor3B0XuAClQRpi8Azh6YbDUleKikaww7imtyzh1hezG+b/CCe8LdE0C8uHNoXXcGR xf/1zN+LM7/MJ7eeNaJg/w3JixAjwms= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1624611253; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4MEOH6mEooAsDyYd5Jd7U0bsvgXwH4JlnwXZnKAz1Q4=; b=PsKSdyoYSDvHiVYcaKYJ/x6DM5dFJpycZcxyaNYkXus3eOizJ4RBzmPCyzo1Z9714CxZUW J8tb/mDD+bamaQAw== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id ZzniK7WZ1WAoXAAALh3uQQ (envelope-from ); Fri, 25 Jun 2021 08:54:13 +0000 Date: Fri, 25 Jun 2021 10:54:06 +0200 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/urgent for v5.13 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, here are two more x86/urgent fixes for 5.13. Please pull, thx. --- The following changes since commit 13311e74253fe64329390df80bed3f07314ddd61: Linux 5.13-rc7 (2021-06-20 15:03:15 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v5.13 for you to fetch changes up to f9dfb5e390fab2df9f7944bb91e7705aba14cd26: x86/fpu: Make init_fpstate correct with optimized XSAVE (2021-06-22 11:06:21 +0200) ---------------------------------------------------------------- Two more urgent FPU fixes: - prevent unprivileged userspace from reinitializing supervisor states - Prepare init_fpstate, which is the buffer used when initializing FPU state, properly in case the skip-writing-state-components XSAVE* variants are used. ---------------------------------------------------------------- Thomas Gleixner (2): x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate() x86/fpu: Make init_fpstate correct with optimized XSAVE arch/x86/include/asm/fpu/internal.h | 30 ++++++++------------------- arch/x86/kernel/fpu/signal.c | 26 ++++++++--------------- arch/x86/kernel/fpu/xstate.c | 41 ++++++++++++++++++++++++++++++++++--- 3 files changed, 54 insertions(+), 43 deletions(-) -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg