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: <175028167750.3187549.3330233881854530836.b4-ty@kernel.org>
Date: Wed, 18 Jun 2025 14:21:20 -0700
From: Kees Cook <kees@...nel.org>
To: Peter Rosin <peda@...ntia.se>,
	"Gustavo A. R. Silva" <gustavoars@...nel.org>,
	Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Kees Cook <kees@...nel.org>,
	linux-kernel@...r.kernel.org,
	linux-hardening@...r.kernel.org
Subject: Re: [PATCH RESEND] mux: Convert mux_control_ops to a flex array member in mux_chip

On Tue, 10 Jun 2025 12:40:59 +0200, Thorsten Blum wrote:
> Convert mux_control_ops to a flexible array member at the end of the
> mux_chip struct and add the __counted_by() compiler attribute to
> improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
> 
> Use struct_size() to calculate the number of bytes to allocate for a new
> mux chip and to remove the following Coccinelle/coccicheck warning:
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] mux: Convert mux_control_ops to a flex array member in mux_chip
      https://git.kernel.org/kees/c/4bfbc2691de8

Take care,

-- 
Kees Cook


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ