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: <kxdu6nbnm6pger627erjqajgpq4bpy6enhyhhgyry73dpzj5v7@54a76wpspao6>
Date: Thu, 30 Oct 2025 18:07:15 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Hari Bathini <hbathini@...ux.ibm.com>
Cc: Petr Mladek <pmladek@...e.com>, 
	Venkat Rao Bagalkote <venkat88@...ux.ibm.com>, LKML <linux-kernel@...r.kernel.org>, 
	linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>, Stephen Rothwell <sfr@...b.auug.org.au>, 
	Madhavan Srinivasan <maddy@...ux.ibm.com>, joe.lawrence@...hat.com, Naveen N Rao <naveen@...nel.org>, 
	Masahiro Yamada <masahiroy@...nel.org>
Subject: Re: [next-20251022] Kernel Boot Warnings at
 arch/powerpc/kernel/trace/ftrace.c:234

On Thu, Oct 30, 2025 at 06:09:54PM +0530, Hari Bathini wrote:
> On 30/10/25 7:36 am, Josh Poimboeuf wrote:
> > On Wed, Oct 29, 2025 at 11:42:54PM +0530, Hari Bathini wrote:
> > > > I looks like another problem. I would expect that it is in
> > > > the ftrace code, either in the generic or arch-specific part.
> > > Yeah. This is part of arch-specific code that does init of ftrace
> > > out line stubs. The problem seems to be since commit 1ba9f8979426
> > > ("vmlinux.lds: Unify TEXT_MAIN, DATA_MAIN, and related macros").
> > > Before this commit, .text.startup section was featured in INIT_TEXT
> > > but now it seems to feature in TEXT. Is this change right/intentional?
> > > If yes, I can post a fix patch in ftrace arch-specific code accordingly.
> > 
> > Ah, I wasn't aware of .text.startup.  Apparently it's used by KASAN,
> > KCSCAN and GCOV for a significant amount of constructor code, which is
> > only called during boot.  So we should try to keep it in .init.text.
> > 
> > Venkat, does this fix it?
> 
> I tried the patch along with
> https://lore.kernel.org/r/e52ee3edf32874da645a9e037a7d77c69893a22a.1760982784.git.jpoimboe@kernel.org
> It fixes the problems reported. Thanks!

Thanks!  Patch posted here:

  https://lore.kernel.org/07f74b4e5c43872572b7def30f2eac45f28675d9.1761872421.git.jpoimboe@kernel.org

-- 
Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ