lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <166212721597.8214.1758586217041951809.git-patchwork-notify@kernel.org> Date: Fri, 02 Sep 2022 14:00:15 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Ian Rogers <irogers@...gle.com> Cc: bjorn@...nel.org, magnus.karlsson@...el.com, maciej.fijalkowski@...el.com, jonathan.lemon@...il.com, ast@...nel.org, daniel@...earbox.net, andrii@...nel.org, martin.lau@...ux.dev, song@...nel.org, yhs@...com, john.fastabend@...il.com, kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com, jolsa@...nel.org, mykolal@...com, shuah@...nel.org, netdev@...r.kernel.org, bpf@...r.kernel.org, linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v1] selftests/xsk: Avoid use-after-free on ctx Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@...earbox.net>: On Thu, 1 Sep 2022 13:26:45 -0700 you wrote: > The put lowers the reference count to 0 and frees ctx, reading it > afterwards is invalid. Move the put after the uses and determine the > last use by the reference count being 1. > > Fixes: 39e940d4abfa ("selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0") > Signed-off-by: Ian Rogers <irogers@...gle.com> > > [...] Here is the summary with links: - [v1] selftests/xsk: Avoid use-after-free on ctx https://git.kernel.org/bpf/bpf-next/c/af515a5587b8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists