All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf v3 0/3] Fixes for bpf link update
@ 2026-07-20  3:30 Pu Lehui
  2026-07-20  3:30 ` [PATCH bpf v3 1/3] bpf: Fix potential UAF when reading bpf link info Pu Lehui
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pu Lehui @ 2026-07-20  3:30 UTC (permalink / raw)
  To: bpf, linux-kernel
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
	Yonghong Song, Song Liu, Jiri Olsa, Emil Tsalapatis, Pu Lehui,
	Pu Lehui

From: Pu Lehui <pulehui@huawei.com>

patch 1: fix for UAF issue when reading bpf link info.
patch 2: fix for storage not restored when update_effective_progs failed.
patch 3: Fix storage null-ptr-deref after replacing prog in cgrp_bpf.

v3:
- Add new fix for UAF issue when reading bpf link info. (Sashiko)
- Add new fix for storage not restored when update_effective_progs
  failed. (Sashiko)

v2:
https://lore.kernel.org/bpf/20260717073343.958862-1-pulehui@huaweicloud.com
- Fix invalid access for in-place update when storage changed. (Sashiko)

v1:
https://lore.kernel.org/bpf/20260714014659.401063-1-pulehui@huaweicloud.com

Pu Lehui (3):
  bpf: Fix potential UAF when reading bpf link info
  bpf, cgroup: Fix storage not restored when update_effective_progs
    failed
  bpf, cgroup: Fix storage null-ptr-deref after replacing prog

 kernel/bpf/cgroup.c  | 40 +++++++++++++++++++++++++++++++++++++++-
 kernel/bpf/syscall.c | 27 +++++++++++++++++++++++----
 2 files changed, 62 insertions(+), 5 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-07-20 12:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20  3:30 [PATCH bpf v3 0/3] Fixes for bpf link update Pu Lehui
2026-07-20  3:30 ` [PATCH bpf v3 1/3] bpf: Fix potential UAF when reading bpf link info Pu Lehui
2026-07-20  3:50   ` sashiko-bot
2026-07-20 12:13     ` Pu Lehui
2026-07-20  4:04   ` bot+bpf-ci
2026-07-20 12:17     ` Pu Lehui
2026-07-20  3:30 ` [PATCH bpf v3 2/3] bpf, cgroup: Fix storage not restored when update_effective_progs failed Pu Lehui
2026-07-20  3:41   ` sashiko-bot
2026-07-20 12:06     ` Pu Lehui
2026-07-20  3:30 ` [PATCH bpf v3 3/3] bpf, cgroup: Fix storage null-ptr-deref after replacing prog Pu Lehui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.