Re: [PATCH bpf-next 1/2] bpf: Fix WARNING in bpf_tracing_link_release
From: Leon Hwang
Date: Wed Jul 22 2026 - 10:53:52 EST
On 2026/7/22 19:19, Jiri Olsa wrote:
> On Tue, Jul 21, 2026 at 09:30:34PM +0800, Leon Hwang wrote:
>> The trampoline could be corrupted by the blindly
>> 'tr->flags = BPF_TRAMP_F_TAIL_CALL_CTX' in verifier.
>>
>> 1. A fexit attached to a tail_call_reachable prog.
>> 2. Another fexit loaded with the same tail_call_reachable prog target.
>> 3. Close the first fexit link.
>
> had to ask ai for more details on how the warning was trigered ;-)
> would be nice to have that info in the changelog
Ack.
Will add the change of tr->flags. So, the detach failure would be
obvious due to the incorrect tr->flags.
>
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Thanks for your review.
Leon
> [...]