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: <alpine.DEB.2.21.2511280554370.36486@angie.orcam.me.uk>
Date: Fri, 28 Nov 2025 05:57:41 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
cc: Jiaxun Yang <jiaxun.yang@...goat.com>, 
    Gregory CLEMENT <gregory.clement@...tlin.com>, linux-mips@...r.kernel.org, 
    linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] MIPS: mm: kmalloc tlb_vpn array to avoid stack
 overflow

On Thu, 27 Nov 2025, Maciej W. Rozycki wrote:

> From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> 
> Owing to Config4.MMUSizeExt and VTLB/FTLB MMU features later MIPSr2+ 
> cores can have more than 64 TLB entries.  Therefore allocate an array 
> for uniquification instead of placing too small an array on the stack.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Signed-off-by: Maciej W. Rozycki <macro@...am.me.uk>
> Fixes: 9f048fa48740 ("MIPS: mm: Prevent a TLB shutdown on initial uniquification")
> Cc: stable@...r.kernel.org
> ---

 Please scrap this version.  I've sent v4 with tags updates as I didn't 
realise stable backports haven't been pushed yet.  So this will best be 
sorted with a cherry-pick tag meaning no regression in the stable trees 
except for the single place between the two consecutive commits.

  Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ