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: <20250410.926dbc57c00b@gnoack.org>
Date: Thu, 10 Apr 2025 17:33:21 +0200
From: Günther Noack <gnoack3000@...il.com>
To: WangYuli <wangyuli@...ontech.com>
Cc: mic@...ikod.net, gnoack@...gle.com, paul@...l-moore.com,
	jmorris@...ei.org, serge@...lyn.com, kees@...nel.org,
	masahiroy@...nel.org, nathan@...nel.org, nicolas@...sle.eu,
	linux-security-module@...r.kernel.org,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	linux-hardening@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [Bug Report] A compilation failure occurs when landlock and
 RANDSTRUCT are combined with GCC 14.2.0.

Hello!

On Thu, Apr 10, 2025 at 04:11:15PM +0800, WangYuli wrote:
> [ Compilation failure log: ]
> 
> *** WARNING *** there are active plugins, do not report this as a bug unless
> you can reproduce it without enabling an
> y plugins.
> Event                            | Plugins
> PLUGIN_FINISH_TYPE               | randomize_layout_plugin
> PLUGIN_FINISH_DECL               | randomize_layout_plugin
> PLUGIN_ATTRIBUTES                | latent_entropy_plugin
> randomize_layout_plugin
> PLUGIN_START_UNIT                | latent_entropy_plugin stackleak_plugin
> PLUGIN_ALL_IPA_PASSES_START      | randomize_layout_plugin
> security/landlock/fs.c:In function ‘hook_file_ioctl_common’:
> security/landlock/fs.c:1745:61:internal compiler error: in
> count_type_elements, at expr.cc:7075
> 1745 |                         .u.op = &(struct lsm_ioctlop_audit) {
>      |                                                             ^
> 0x7f27fa6bdca7 __libc_start_call_main
>        ../sysdeps/nptl/libc_start_call_main.h:58
> 0x7f27fa6bdd64 __libc_start_main_impl
>        ../csu/libc-start.c:360
> Please submit a full bug report, with preprocessed source (by using
> -freport-bug).
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
> make[4]: *** [scripts/Makefile.build:203: security/landlock/fs.o] Error 1
> make[3]: *** [scripts/Makefile.build:461: security/landlock] Error 2
> make[2]: *** [scripts/Makefile.build:461: security] Error 2

Thank you for the report!

This is in my understanding a duplicate of the discussion in
https://lore.kernel.org/all/20250407-kbuild-disable-gcc-plugins-v1-1-5d46ae583f5e@kernel.org/

–Günther

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ