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=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 0053DC47082 for ; Thu, 3 Jun 2021 17:24:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CD7E6613BA for ; Thu, 3 Jun 2021 17:24:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229849AbhFCR0V (ORCPT ); Thu, 3 Jun 2021 13:26:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:53752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbhFCR0T (ORCPT ); Thu, 3 Jun 2021 13:26:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EA72C61242; Thu, 3 Jun 2021 17:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622741074; bh=3Ej7uK16xlMwmlQVPnPvIEj9+RNCEzhGFDhBsfYGNzw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cGXwQp7pbUSwNbLyS1MKieTmCw60SX6Y1/Sq/F/Wn1CjKWnCEMgfmuHbAHkybD7Mu 5XfjWlIwD5YSMtSVYBlsPWZVCV5iTzmf02dx30Ghpqv1DZJdwcweHSeCDBuwZSYplp jEmjcxXddgDmIympblyYO2ykrCOrtcBbMAN4MCxedpWxmhMV7a0apVCSf7vasBgUwG osyTMn8YBx9rBJQuCFNFsj+X1czPpMhi8mCNJILoDcku1Kj1UVjhcnjkyoz4k4Uu0u 0YGfEPl+KZ82N5R6IK+qv0rTrNjvehUCfSs0khYjYneUcpJW9ChakC5Tj8ritM9N2Q h8rrbJq8Y8xSg== Subject: Re: [patch 5/8] x86/fpu: Sanitize xstateregs_set() To: Thomas Gleixner , LKML Cc: x86@kernel.org, Dave Hansen , Fenghua Yu , Tony Luck , Yu-cheng Yu References: <20210602095543.149814064@linutronix.de> <20210602101618.851242793@linutronix.de> From: Andy Lutomirski Message-ID: Date: Thu, 3 Jun 2021 10:24:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210602101618.851242793@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/2/21 2:55 AM, Thomas Gleixner wrote: > That's just wrong. The caller supplied invalid data or has a problem with > unmapped memory, so there is absolutely no justification to wreckage the > target. > "Wreckage" is a delightful word, but it likes to be a noun. One can wreak the target, wreak havoc upon the target, annihilate the target, or turn the target's state into system-destroying wreckage :) --Andy