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: <175164313641.1187522.9351949563130846501.b4-ty@kernel.org>
Date: Fri,  4 Jul 2025 18:44:09 +0100
From: Will Deacon <will@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
	Arnd Bergmann <arnd@...nel.org>
Cc: kernel-team@...roid.com,
	Will Deacon <will@...nel.org>,
	Arnd Bergmann <arnd@...db.de>,
	Jonathan Cameron <Jonathan.Cameron@...wei.com>,
	Gavin Shan <gshan@...hat.com>,
	Jean-Philippe Brucker <jean-philippe@...aro.org>,
	James Morse <james.morse@....com>,
	Douglas Anderson <dianders@...omium.org>,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: move smp_send_stop() cpu mask off stack

On Fri, 20 Jun 2025 13:10:41 +0200, Arnd Bergmann wrote:
> For really large values of CONFIG_NR_CPUS, a CPU mask value should
> not be put on the stack:
> 
> arch/arm64/kernel/smp.c:1188:1: error: the frame size of 8544 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
> 
> This could be achieved using alloc_cpumask_var(), which makes it
> depend on CONFIG_CPUMASK_OFFSTACK, but as this function is already
> serialized and can only run on one CPU, making the variable 'static'
> is easier.
> 
> [...]

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

[1/1] arm64: move smp_send_stop() cpu mask off stack
      https://git.kernel.org/arm64/c/6c66bb655ca3

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