Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10716014rwp; Fri, 21 Jul 2023 04:01:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHOXsBaBYatVeH4NjVuvUEwDRwZ2HDeTmAtOOYQ71fsSkyKz6TL7R6q44xq9qt8xDhQDFOF X-Received: by 2002:a05:6808:1b10:b0:3a3:6e43:e681 with SMTP id bx16-20020a0568081b1000b003a36e43e681mr2176261oib.58.1689937265021; Fri, 21 Jul 2023 04:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689937264; cv=none; d=google.com; s=arc-20160816; b=ppYCzwrS9hYx+hZl9nkdskpp6FLbqT1GpWmD/lR36M71QU7ndh1OZhqf4smI4oCu7t pHoJREBTBA1Fnl25VGiO3V118HJi/iOiYKp/lSOZB1aNE9VrUTfUJf011PrNe3aFFl4f wC5d9G1v1Frvx8WBfZTGzpMGtZeWV0q+A6nvyoVNZCF7N5Zi6QA+Ka8GR4g8MYqQwtmD l9KfGIPJ1ubBchY2tr56YdhTErlqasOwL+V1n5mjFdmu4zlW8yGYEKY0Ah0f6QMXzJ8K a1jf3wxTuDyzz4NP+cJ06MWjFv1zh6b9N2GYVfasHhjErh6YJXTN2QbaLR/o/m3KpRIn 7W6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=b/PrxE0tqEHgLSVkZqyHq7DF0QDjvPXc/f8c4GGLUCc=; fh=k1K7SPOtmfyI4Bf1RNLJdUgrNBVJRqfJfAog8QTkX+s=; b=zLVf6gGZYEoWCxMiTFJtV+KGLeFj97csawXYGAEchGPUM1fh+6NRW23t9u3nXJme3p A8ucid2YbRZMd6Ma9HwQIs4k8q9y4dRRahHaVIwqr7fLH6fiTsHLR9EuvdupvGejAHGb ecPbwCOgyE6OncjnnFk7nGwKbjQnYzv/v8wzH2fEGrTxvOPL3zIHE7PuTA/crEN+8sPv +sbXzw6rfWwAsdRNobTYX8S4ko9L+dOZz9EndnFa+tMPbgVV/qnwNyCoGm4O+4RFmWm8 zWCGzarkn/aR5vMewkR2A+UcIfUA6GWVJrCToNUiM/ArAtisDpo9IQTrk3J6V+bNpV/0 LPtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iWwH+0qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a17090ac39700b0025359a570fesi2978179pjt.19.2023.07.21.04.00.52; Fri, 21 Jul 2023 04:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iWwH+0qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbjGUKxr (ORCPT + 99 others); Fri, 21 Jul 2023 06:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbjGUKxp (ORCPT ); Fri, 21 Jul 2023 06:53:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB26D19B5; Fri, 21 Jul 2023 03:53:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 64678618AC; Fri, 21 Jul 2023 10:53:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA831C433CB; Fri, 21 Jul 2023 10:53:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689936822; bh=PUu1mRQt3T22zjX88DmuovtcHn+0glC3+quGyZC83uw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iWwH+0qrZTgn46bC3FBmWidk6FqLq7fL6TEUvVYiP0rlMFSAw6sf0nRko5NPjx2zV iNCKN5ymoXXSHrFVWhN5ilgGWOXV+f0DNGCPSoyTPEQpJeSLc4R51o/7LGtEopngVL hJgY/hIm0hhHCK/BL8ahFhjqmWpCrzG6d5Fl6hIlhSRVZ/7gdzkYwQtsY5s8kd8jlc QStGzTB8UWYPZzA7DpUaSQ2L5vlrZ2Ek0qhmskvr6PCBoNTJWvBukpdtnPRLBFwDYO 7y5WutezWDd2LsITnKKQSS31aL3uvchLMk8k2JuMkodYkpFsl8pbu1xjsQaKfOlvDC 2q3+V6aJmbvUg== From: Will Deacon To: Catalin Marinas , Shuah Khan , Mark Brown Cc: kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, David Spickett , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 0/3] arm64/fpsimd: Fix use after free in SME when changing SVE VL Date: Fri, 21 Jul 2023 11:53:37 +0100 Message-Id: <168993427004.3198018.6269673577220774335.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230720-arm64-fix-sve-sme-vl-change-v2-0-8eea06b82d57@kernel.org> References: <20230720-arm64-fix-sve-sme-vl-change-v2-0-8eea06b82d57@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Jul 2023 19:38:57 +0100, Mark Brown wrote: > This series fixes an issue which David Spickett found where if we change > the SVE VL while SME is in use we can end up attempting to save state to > an unallocated buffer and adds testing coverage for that plus a bit more > coverage of VL changes, just for paranioa. > > Applied first patch to arm64 (for-next/fixes), thanks! [1/3] arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes https://git.kernel.org/arm64/c/d4d5be94a878 I'll look at the selftests stuff for 6.6 when I get to that (probably next week). Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev