Thread (17 messages) flat view 17 messages, 3 authors, 2d ago

Re: [PATCH bpf-next v6 2/5] bpf: Add ksock kfuncs

From: Song Liu <song@kernel.org>
Date: 2026-08-12 16:19:48
Also in: bpf

On Wed, Aug 12, 2026 at 8:43 AM Mahe Tardy [off-list ref] wrote:
[...]
In bpf_ksock_create(), we copy the arg values to avoid TOCTOU races
since the kfunc can sleep and the arg values could be stored in a map
that could be re-written by BPF progs or even userspace programs if the
map is mmaped.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Signed-off-by: Mahe Tardy <redacted>
Acked-by: Song Liu <song@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help