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: <20251113-unsealed-tightness-71a6826c63a1@spud>
Date: Thu, 13 Nov 2025 14:27:45 +0000
From: Conor Dooley <conor@...nel.org>
To: Valentina Fernandez <valentina.fernandezalanis@...rochip.com>
Cc: jassisinghbrar@...il.com, conor.dooley@...rochip.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] mailbox: mchp-ipc-sbi: fix out-of-bounds access in
 mchp_ipc_get_cluster_aggr_irq()

On Thu, Nov 13, 2025 at 01:49:22PM +0000, Valentina Fernandez wrote:
> The cluster_cfg array is dynamically allocated to hold per-CPU
> configuration structures, with its size based on the number of online
> CPUs. Previously, this array was indexed using hartid, which may be
> non-contiguous or exceed the bounds of the array, leading to
> out-of-bounds access.
> Switch to using cpuid as the index, as it is guaranteed to be within
> the valid range provided by for_each_online_cpu().
> 
> Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@...rochip.com>

Reviewed-by: Conor Dooley <conor.dooley@...rochip.com>

Cheers,
Conor.

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ