[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167529541722.452.2094492229750071530.git-patchwork-notify@kernel.org>
Date: Wed, 01 Feb 2023 23:50:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: bpf@...r.kernel.org, sdf@...gle.com, netdev@...r.kernel.org,
martin.lau@...nel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, martin.lau@...ux.dev, song@...nel.org,
yhs@...com, john.fastabend@...il.com, dsahern@...il.com,
willemb@...gle.com, void@...ifault.com, kuba@...nel.org,
xdp-hints@...-project.net
Subject: Re: [PATCH bpf-next V1] selftests/bpf: fix unmap bug in
prog_tests/xdp_metadata.c
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@...earbox.net>:
On Wed, 01 Feb 2023 19:12:54 +0100 you wrote:
> The function close_xsk() unmap via munmap() the wrong memory pointer.
>
> The call xsk_umem__delete(xsk->umem) have already freed xsk->umem.
> Thus the call to munmap(xsk->umem, UMEM_SIZE) will have unpredictable
> behavior that can lead to Segmentation fault elsewhere, as man page
> explain subsequent references to these pages will generate SIGSEGV.
>
> [...]
Here is the summary with links:
- [bpf-next,V1] selftests/bpf: fix unmap bug in prog_tests/xdp_metadata.c
https://git.kernel.org/bpf/bpf-next/c/f2922f77a6a6
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