Re: [PATCH v2 0/3] arm64/fpsimd: Fix use after free in SME when changing SVE VL

From: Will Deacon
Date: Thu Jul 27 2023 - 12:09:24 EST


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