lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu,  3 Aug 2023 18:28:05 +0100
From:   Catalin Marinas <catalin.marinas@....com>
To:     Will Deacon <will@...nel.org>, Mark Brown <broonie@...nel.org>
Cc:     David Spickett <David.Spickett@....com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        stable@...r.kernel.org
Subject: Re: [PATCH] arm64/fpsimd: Clear SME state in the target task when setting the VL

On Thu, 03 Aug 2023 00:46:39 +0100, Mark Brown wrote:
> When setting SME vector lengths we clear TIF_SME to reenable SME traps,
> doing a reallocation of the backing storage on next use. We do this using
> clear_thread_flag() which operates on the current thread, meaning that when
> setting the vector length via ptrace we may both not force traps for the
> target task and force a spurious flush of any SME state that the tracing
> task may have.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64/fpsimd: Clear SME state in the target task when setting the VL
      https://git.kernel.org/arm64/c/c9bb40b7f786

-- 
Catalin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ