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: <175023823094.1656646.8809228432720307763.b4-ty@bootlin.com>
Date: Wed, 18 Jun 2025 11:17:10 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Richard Weinberger <richard@....at>, 
 Vignesh Raghavendra <vigneshr@...com>, Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, linux-mtd@...ts.infradead.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: nftl: reduce stack usage in NFTL_movebuf()

On Tue, 10 Jun 2025 11:25:22 +0200, Arnd Bergmann wrote:
> The code in the ntfl write function is rather complex, and it contains
> a 512 byte on-stack buffer. The combination of these two leads to using
> more than the per-function stack warning limit in some configurations,
> especially with KASAN enabled:
> 
> drivers/mtd/nftlcore.c:673:12: error: stack frame size (1328) exceeds limit (1280) in 'nftl_writeblock' [-Werror,-Wframe-larger-than]
> 
> [...]

Applied to mtd/next, thanks!

[1/1] mtd: nftl: reduce stack usage in NFTL_movebuf()
      commit: d22d5f47ecb2c4e140c0ee52204f4dd8fd0e85eb

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ