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: <CAPhsuW7SLub_KhK-eqtj3qJMuKRBnQng60GG5kvkS2FxPjC78A@mail.gmail.com>
Date: Wed, 28 Jan 2026 13:42:08 -0800
From: Song Liu <song@...nel.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org, 
	live-patching@...r.kernel.org, Breno Leitao <leitao@...ian.org>, 
	Puranjay Mohan <puranjay@...nel.org>, Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] livepatch/klp-build: Require Clang assembler >= 20

On Tue, Jan 27, 2026 at 5:12 PM Josh Poimboeuf <jpoimboe@...nel.org> wrote:
>
> Some special sections specify their ELF section entsize, for example:
>
>   .pushsection section, "M", @progbits, 8
>
> The entsize (8 in this example) is needed by objtool klp-diff for
> extracting individual entries.
>
> Clang assembler versions older than 20 silently ignore the above
> construct and set entsize to 0, resulting in the following error:
>
>   .discard.annotate_data: missing special section entsize or annotations
>
> Add a klp-build check to prevent the use of Clang assembler versions
> prior to 20.
>
> Fixes: 24ebfcd65a87 ("livepatch/klp-build: Introduce klp-build script for generating livepatch modules")
> Reported-by: Song Liu <song@...nel.org>
> Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>

Acked-by: Song Liu <song@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ