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: <1784e0ffca8ebb52748a24d0327451678f18c048.camel@surriel.com>
Date: Tue, 20 Jan 2026 12:16:35 -0500
From: Rik van Riel <riel@...riel.com>
To: Hou Wenlong <houwenlong.hwl@...group.com>, linux-kernel@...r.kernel.org
Cc: Dave Hansen <dave.hansen@...ux.intel.com>, Andy Lutomirski
 <luto@...nel.org>,  Peter Zijlstra <peterz@...radead.org>, Thomas Gleixner
 <tglx@...nel.org>, Ingo Molnar <mingo@...hat.com>,  Borislav Petkov	
 <bp@...en8.de>, x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH v2 1/4] x86/mm: Correct the actual size of available
 global ASID range

On Tue, 2026-01-20 at 21:44 +0800, Hou Wenlong wrote:
> As noted in the comment, the available ASID range for global ASID
> allocation is '[TLB_NR_DYN_ASIDS, MAX_ASID_AVAILABLE-1]', which is a
> close interval. The size of bitmap is defined as
> 'MAX_ASID_AVAILABLE',
> so the actual available size should be
> '(MAX_ASID_AVAILABLE-1) - TLB_NR_DYN_ASIDS + 1'; otherwise, one ASID
> will
> leak.
> 
> Signed-off-by: Hou Wenlong <houwenlong.hwl@...group.com>

Reviewed-by: Rik van Riel <riel@...riel.com>

-- 
All Rights Reversed.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ