Re: [PATCH v2] selftests/bpf: Fix kallsyms parsing with long Rust symbols

From: patchwork-bot+netdevbpf

Date: Thu Nov 26 2026 - 16:00:25 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 25 Nov 2026 08:03:18 -0300 you wrote:
> load_kallsyms_local_common() reads /proc/kallsyms with a 256-byte line
> buffer and stops parsing at the first line sscanf() cannot handle. Since
> commit b8a94bfb3395 ("kallsyms: increase maximum kernel symbol length to
> 512"), symbols may be up to 511 characters, and on CONFIG_RUST=y kernels
> some mangled Rust symbols (e.g. drm_panic_qr helpers) overflow the buffer.
> fgets() splits such a line, the remainder fails to parse and every symbol
> after it is silently dropped.
>
> [...]

Here is the summary with links:
- [v2] selftests/bpf: Fix kallsyms parsing with long Rust symbols
https://git.kernel.org/bpf/bpf-next/c/dc0049f3860a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html