On Sat, 20 Dec 2025 19:18:37 +0100 Maurice Hieronymus <[email protected]> wrote:
> modbuildid is never set when kallsyms_lookup_buildid is returning via > successful ftrace_mod_address_lookup. > > This leads to an uninitialized pointer dereference on x86 when > CONFIG_STACKTRACE_BUILD_ID=y inside __sprint_symbol. > Nothing should be getting a buildid from the ftrace kallsyms lookup. This code is used to find the names of init functions of modules after those init functions have been freed. Nothing but ftrace should be looking for these addresses, and ftrace doesn't care about buildids. -- Steve
