Re: [PATCH bpf v3] bpf: Fix potential UAF when reading bpf link info
| Newsgroups | org.kernel.vger.bpf,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178545120615.19459.9646361737147779776.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>: On Tue, 28 Jul 2026 02:54:57 +0000 you wrote: > From: Pu Lehui <[email protected]> > > In bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link->prog is > accessed without holding any locks. If the prog is concurrently replaced > via bpf_link_update, the old prog can be freed, leading to a potential > UAF issue. > > [...] Here is the summary with links: - [bpf,v3] bpf: Fix potential UAF when reading bpf link info https://git.kernel.org/bpf/bpf-next/c/863f3ddd0b8a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html