Re: [RFC PATCH v3] bpf: introduce TAINT_UNSAFE_BPF for mutating helpers

From: Aaron Tomlin

Date: Sun May 03 2026 - 16:14:43 EST


On Sun, May 03, 2026 at 09:51:49PM +0200, Alexei Starovoitov wrote:
[ ... ]
> > + /*
> > + * Flag the program if it attempts to use mutating helpers.
> > + * The actual taint is deferred until successful verification.
> > + */
> > + if (func_id == BPF_FUNC_probe_write_user ||
> > + func_id == BPF_FUNC_override_return)
> > + env->prog->aux->taints_kernel = true;
>
> Nack.
>
> Please stop this spam.
> We're not doing it. These helpers have been around for a long time.
> There was no need to taint then. There is no need to taint now.

Hi Alexei,

Fair enough. I will drop the entire series. Please ignore the v4.

Thank you for your time.


Kind regards,
--
Aaron Tomlin

Attachment: signature.asc
Description: PGP signature