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] [thread-next>] [day] [month] [year] [list]
Message-ID: <c11d39bb-cdb8-45f0-95cd-283e7cc6aff4@inbox.ru>
Date: Wed, 9 Apr 2025 22:11:16 +0300
From: Maxim Kochetkov <fido_max@...ox.ru>
To: Samuel Holland <samuel.holland@...ive.com>,
 Palmer Dabbelt <palmer@...belt.com>, Alexandre Ghiti <alex@...ti.fr>,
 linux-riscv@...ts.infradead.org
Cc: Andrew Jones <ajones@...tanamicro.com>,
 Pinkesh Vaghela <pinkesh.vaghela@...fochips.com>,
 Pritesh Patel <pritesh.patel@...fochips.com>,
 Darshan Prajapati <darshan.prajapati@...fochips.com>,
 Albert Ou <aou@...s.berkeley.edu>, Amma Lee <lixiaoyun@...ary-semi.com>,
 Charlie Jenkins <charlie@...osinc.com>, Clément Léger
 <cleger@...osinc.com>, Jinjie Ruan <ruanjinjie@...wei.com>,
 Luis Chamberlain <mcgrof@...nel.org>, "Mike Rapoport (IBM)"
 <rppt@...nel.org>, Paul Walmsley <paul.walmsley@...ive.com>,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] riscv: module: Fix out-of-bounds relocation access

09.04.2025 20:14, Samuel Holland пишет:
> The current code allows rel[j] to access one element past the end of the
> relocation section. Simplify to num_relocations which is equivalent to
> the existing size expression.
> 
> Fixes: 080c4324fa5e ("riscv: optimize ELF relocation function in riscv")
> Signed-off-by: Samuel Holland <samuel.holland@...ive.com>

Reviewed-by: Maxim Kochetkov <fido_max@...ox.ru>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ