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: <86f6a314-8aa0-46c3-8984-784a07a302c3@app.fastmail.com>
Date: Thu, 31 Jul 2025 15:39:12 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Naresh Kamboju" <naresh.kamboju@...aro.org>,
 "open list" <linux-kernel@...r.kernel.org>, linux-hardening@...r.kernel.org,
 lkft-triage@...ts.linaro.org,
 "Linux Regressions" <regressions@...ts.linux.dev>
Cc: "Kees Cook" <kees@...nel.org>, "Dan Carpenter" <dan.carpenter@...aro.org>,
 "Anders Roxell" <anders.roxell@...aro.org>,
 "Benjamin Copeland" <benjamin.copeland@...aro.org>,
 "Gustavo A. R. Silva" <gustavoars@...nel.org>,
 "Masahiro Yamada" <masahiroy@...nel.org>
Subject: Re: next-20250730 x86, s390, riscv gcc-8 hardening.config vmlinux symbol
 `.modinfo' required but not present

On Thu, Jul 31, 2025, at 15:32, Naresh Kamboju wrote:
> Regressions while building x86, S390 and riscv64 with hardening.config on the
> Linux next-20250730 and next-20250731.
>
> Build pass with gcc-13 with hardening.config fails with gcc-8
>
> Regression Analysis:
> - New regression? Yes
> - Reproducibility? Yes
>
> First seen on the next-20250730
> Good: next-20250729
> Bad: next-20250730
>
> Build regression: next-20250730 x86 gcc-8 hardening.config vmlinux
> symbol `.modinfo' required but not present
> Build regression: next-20250730 S390 gcc-8 hardening.config vmlinux
> symbol `.modinfo' required but not present
> Build regression: next-20250730 riscv64 gcc-8 hardening.config vmlinux
> symbol `__rela_dyn_end' required but not present
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

My guess is that this is caused by 94564d1bb059 ("kbuild: keep .modinfo
section in vmlinux.unstripped")

See also
https://lore.kernel.org/all/202507310505.tEYm1za7-lkp@intel.com/
https://lore.kernel.org/all/20250728135753.432695A72-agordeev@linux.ibm.com/

Reverting 94564d1bb059 solved the problem for me on arm64.

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ