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]
Message-Id: <173944478263.2605897.5555784632946781698.b4-ty@kernel.org>
Date: Thu, 13 Feb 2025 13:59:01 +0000
From: Will Deacon <will@...nel.org>
To: linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	ionela.voinescu@....com,
	sudeep.holla@....com,
	catalin.marinas@....com,
	Beata Michalska <beata.michalska@....com>
Cc: kernel-team@...roid.com,
	Will Deacon <will@...nel.org>,
	sumitg@...dia.com,
	ptsm@...ux.microsoft.com
Subject: Re: [PATCH] arm64: amu: Delay allocating cpumask for AMU FIE support

On Fri, 31 Jan 2025 15:58:42 +0000, Beata Michalska wrote:
> For the time being, the amu_fie_cpus cpumask is being exclusively used
> by the AMU-related internals of FIE support and is guaranteed to be
> valid on every access currently made. Still the mask is not being
> invalidated on one of the error handling code paths, which leaves
> a soft spot with theoretical risk of UAF for CPUMASK_OFFSTACK cases.
> To make things sound, delay allocating said cpumask
> (for CPUMASK_OFFSTACK) avoiding otherwise nasty sanitising case failing
> to register the cpufreq policy notifications.
> 
> [...]

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

[1/1] arm64: amu: Delay allocating cpumask for AMU FIE support
      https://git.kernel.org/arm64/c/d923782b0412

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ