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: <a83b9497295bd8efd6260dadf37c5a77.sboyd@kernel.org>
Date: Tue, 03 Dec 2024 14:53:44 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Gustavo A . R . Silva <gustavoars@...nel.org>, Haoyu Li <lihaoyu499@...il.com>, Kees Cook <kees@...nel.org>, Michael Turquette <mturquette@...libre.com>, linux-clk@...r.kernel.org, linux-hardening@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org, Haoyu Li <lihaoyu499@...il.com>
Subject: Re: [PATCH] drivers: clk: clk-en7523.c: Initialize num before accessing hws in en7523_register_clocks

Quoting Haoyu Li (2024-12-03 06:29:15)
> With the new __counted_by annocation in clk_hw_onecell_data, the "num"
> struct member must be set before accessing the "hws" array. Failing to
> do so will trigger a runtime warning when enabling CONFIG_UBSAN_BOUNDS
> and CONFIG_FORTIFY_SOURCE.
> 
> Fixes: f316cdff8d67 ("clk: Annotate struct clk_hw_onecell_data with __counted_by")
> 
> Signed-off-by: Haoyu Li <lihaoyu499@...il.com>
> ---

Applied to clk-fixes

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ