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: <44353f4cd4d1cc7170d006031819550b37039dd2.camel@crowdstrike.com>
Date: Tue, 10 Dec 2024 19:15:13 +0000
From: Martin Kelly <martin.kelly@...wdstrike.com>
To: "masahiroy@...nel.org" <masahiroy@...nel.org>,
        "ojeda@...nel.org"
	<ojeda@...nel.org>,
        "jpoimboe@...nel.org" <jpoimboe@...nel.org>,
        "pasha.tatashin@...een.com" <pasha.tatashin@...een.com>,
        "mhiramat@...nel.org" <mhiramat@...nel.org>,
        "dave.hansen@...ux.intel.com"
	<dave.hansen@...ux.intel.com>,
        "james.clark@....com" <james.clark@....com>,
        "mpe@...erman.id.au" <mpe@...erman.id.au>,
        "mathieu.desnoyers@...icios.com"
	<mathieu.desnoyers@...icios.com>,
        "akpm@...ux-foundation.org"
	<akpm@...ux-foundation.org>,
        "mingo@...hat.com" <mingo@...hat.com>,
        "rostedt@...dmis.org" <rostedt@...dmis.org>,
        "nathan@...nel.org"
	<nathan@...nel.org>,
        "tglx@...utronix.de" <tglx@...utronix.de>,
        "christophe.leroy@...roup.eu" <christophe.leroy@...roup.eu>,
        "nicolas@...sle.eu" <nicolas@...sle.eu>,
        "surenb@...gle.com"
	<surenb@...gle.com>,
        "npiggin@...il.com" <npiggin@...il.com>,
        "mark.rutland@....com" <mark.rutland@....com>,
        "hpa@...or.com"
	<hpa@...or.com>,
        "peterz@...radead.org" <peterz@...radead.org>,
        "zhengyejian@...weicloud.com" <zhengyejian@...weicloud.com>,
        "naveen.n.rao@...ux.ibm.com" <naveen.n.rao@...ux.ibm.com>,
        "bp@...en8.de"
	<bp@...en8.de>,
        "kent.overstreet@...ux.dev" <kent.overstreet@...ux.dev>,
        "mcgrof@...nel.org" <mcgrof@...nel.org>
CC: Amit Dang <amit.dang@...wdstrike.com>,
        "linux-modules@...r.kernel.org"
	<linux-modules@...r.kernel.org>,
        "linux-kbuild@...r.kernel.org"
	<linux-kbuild@...r.kernel.org>,
        "x86@...nel.org" <x86@...nel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
        "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
        "linux-trace-kernel@...r.kernel.org" <linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 0/5] kallsyms: Emit symbol for holes in text and fix
 weak function issue

On Tue, 2024-07-23 at 14:32 +0800, Zheng Yejian wrote:
> Background of this patch set can be found in v1:
> 
> https://lore.kernel.org/all/20240613133711.2867745-1-zhengyejian1@huawei.com/
>  
> 
> Here add a reproduction to show the impact to livepatch:
> 1. Add following hack to make livepatch-sample.ko do patch on
> do_one_initcall()
>    which has an overriden weak function behind in vmlinux, then print
> the
>    actually used __fentry__ location:
> 

Hi all, what is the status of this patch series? I'd really like to see
it or some other fix to this issue merged. The underlying bug is a
significant one that can cause ftrace/livepatch/BPF fentry to fail
silently. I've noticed this bug in another context[1] and realized
they're the same issue.

I'm happy to help with this patch series to address any issues as
needed.

[1]
https://lore.kernel.org/bpf/7136605d24de9b1fc62d02a355ef11c950a94153.camel@crowdstrike.com/T/#mb7e6f84ac90fa78989e9e2c3cd8d29f65a78845b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ