Received: by 2002:ac8:45c5:0:b0:405:464a:c27a with SMTP id e5csp1272912qto; Thu, 27 Jul 2023 09:30:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEGvgINsZKg98hXHekc3bO9KtNucv9gj7YfV+wPlU8VulDThTWo/eZpFmY77zJhZXmuLmL7 X-Received: by 2002:a17:906:29a:b0:992:a838:a564 with SMTP id 26-20020a170906029a00b00992a838a564mr2322395ejf.28.1690475434635; Thu, 27 Jul 2023 09:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690475434; cv=none; d=google.com; s=arc-20160816; b=QbQAxbyqgNbHafSTuHeFLELkrmMtPFYesSFCrMm2S1k7ipjNUpdGvVxGXBriclWj6z +Y6NjrRRCa69m4QAhK4cdPF6mP5oeCVG36a5HgcNYc0uGcuwIcQ5yDKw9D8FPx0R+BIs xnhp/DLZJdf+8rw41wh86Kk+qVaV07YZl3K6AtUvQ+A0isrP+9mGH9p55dG2I8BerZcl AninXd2FkgNFdCp8uSLlh6/VQwao1Ul7gOcAv5KPhUlQIPe1iqR1Yvy9KSDcRMGLl7IA Yq43LYdc3kFfGBdNbIcLwZtKhMLd1Gp9xuarPwkuGbPnV6mcDo6id9+AYfwv9y+XkWKQ 7mqQ== 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=nqjw5vLC2YREEMfpsBa8dqx81ZdgmPDhGFI+oPdO10s=; fh=9EfH0/21qDfNzYk3MVyvi78R8IfGHb6jT8mDTMvXGl0=; b=vn9j448qS/tXu4z9rTwK3lh6D0aS7qZXg98God4SV5qKsO/bkFF/IfEm/4/MAjlx7Y I0SHjVZcMcJ0Aq50TxDB/9C1efInVicTErnC7p8+IDLAEm1UNF0jS+ieEpOIRFaSvxXg uBfxjABENNxsfCuTjtAvbW2KO+nmK6AW+GP9ZkSF5E9DzJkPneaWrpKyRwXc+L9a/tmL cjCgPUblKzyAkYsPA5tFnww2o51zGJN0rxyOKXh9z7hwhzUucvaAh+CPSmuKpaKsyg99 Na+XVOb+es3YeiY5qLtUPlS5QZbtlWaRM3wbKX5pJvDdXzZkfUjmuGgA/DLH+SWPxOr9 MBqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vDRDfgG6; 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 gg25-20020a170906e29900b0099bd622e4bbsi1143374ejb.861.2023.07.27.09.30.08; Thu, 27 Jul 2023 09:30:34 -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=vDRDfgG6; 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 S232977AbjG0QJW (ORCPT + 99 others); Thu, 27 Jul 2023 12:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230187AbjG0QJV (ORCPT ); Thu, 27 Jul 2023 12:09:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 678C12723; Thu, 27 Jul 2023 09:09:20 -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 EC9C761EBA; Thu, 27 Jul 2023 16:09:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B948C433C8; Thu, 27 Jul 2023 16:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690474159; bh=INyYdjkR7Jcu3V9FQaVLluWCjtOivzhD6P/bDFq/NLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vDRDfgG6FlIVcgP2RTcQH1KtPiwx3H8SBBA4eTRrN8W2EJ3Nkxzm7+pmLyQTTzRRV UI6QCLCxJ6/zeW99A/20uldruaPCYsBDNdm9zRsf1W72QbGAkDcX+kwZUOGZF/0VdQ XRrJykKChN1MJEcYV5nMDyTv961VtQ5bJY6vpY8EADs1i11qHykv6rUFyVJYYR2Imy cE4E3WpycfI9KwYd9fgznw6dIgZqsk019G9bxcFm7TwFKYOqb7b7d95ZdzeE7gSL+O UVmp5iC64QlammxzYjOpBxBR8/ZeClXVtk/RubkZO7V4LnKfHx7wQEZH5t+JYzNtk9 wP4UPUDeQkgBg== From: Will Deacon To: Mark Brown , Catalin Marinas , Shuah Khan Cc: kernel-team@android.com, Will Deacon , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, David Spickett , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/3] arm64/fpsimd: Fix use after free in SME when changing SVE VL Date: Thu, 27 Jul 2023 17:09:11 +0100 Message-Id: <169047312695.1661739.15888822828616647542.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 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 to arm64 (for-next/selftests), thanks! [1/3] arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes https://git.kernel.org/arm64/c/d4d5be94a878 [2/3] kselftest/arm64: Add a test case for SVE VL changes with SME active https://git.kernel.org/arm64/c/0c7c237b1c35 [3/3] kselftest/arm64: Validate that changing one VL type does not affect another https://git.kernel.org/arm64/c/0aeead9bb240 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev