Re: [BUG] bpf: Tracing progs on the stack save subtree can result in OOM
From: Mahnur A
Date: Wed Jun 10 2026 - 18:29:41 EST
> It's a known design constraint.
> A bunch of things in the kernel need call_rcu().
> bpf is not immune to such requirements.
I'm sorry, perhaps I don't understand your answer.
I get that rcu has its usages and is required.
My concern is:
Should bpf tracing programs be allowed to attach
to stack walk/ unwinding functions?
When any memory debugging mechanism is enabled
it will trigger any bpf program attached anywhere here
to run and keep running an exponential amount of times.