From: patchwork-bot+netdevbpf@kernel.org
To: Guillaume GONNET <ggonnet.linux@gmail.com>
Cc: daniel@iogearbox.net, ast@kernel.org, bpf@vger.kernel.org,
john.fastabend@gmail.com, martin.lau@linux.dev
Subject: Re: [PATCH] bpf: fix TCX/netkit detach permissions when prog FD isn't given
Date: Mon, 26 Jan 2026 21:40:05 +0000 [thread overview]
Message-ID: <176946360561.187826.15424323975447947241.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260126173431.19825-1-ggonnet.linux@gmail.com>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:
On Mon, 26 Jan 2026 18:34:31 +0100 you wrote:
> This commit fixes a security issue where BPF_PROG_DETACH on TCX or netkit
> devices could be executed by any user when no program FD was provided,
> bypassing permission checks. The fix adds a capability check for
> CAP_NET_ADMIN or CAP_SYS_ADMIN in this case.
>
> Fixes: e420bed02507 ("bpf: Add fd-based tcx multi-prog infra with link support")
> Signed-off-by: Guillaume GONNET <ggonnet.linux@gmail.com>
>
> [...]
Here is the summary with links:
- bpf: fix TCX/netkit detach permissions when prog FD isn't given
https://git.kernel.org/bpf/bpf-next/c/95ffdbda5eec
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
next prev parent reply other threads:[~2026-01-26 21:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-24 21:43 [PATCH] bpf: fix TCX/netkit detach permissions when prog FD isn't given Guillaume GONNET
2026-01-24 22:06 ` bot+bpf-ci
2026-01-26 13:24 ` Daniel Borkmann
2026-01-26 17:03 ` Guillaume GONNET
2026-01-26 17:07 ` [PATCH bpf] " Guillaume GONNET
2026-01-26 17:23 ` bot+bpf-ci
2026-01-26 17:34 ` [PATCH] " Guillaume GONNET
2026-01-26 21:40 ` patchwork-bot+netdevbpf [this message]
2026-01-27 1:56 ` kernel test robot
[not found] ` <CAADnVQJNvx34irz6JYbmZvmaYU0AGRDcu8znsKjA_di798RisA@mail.gmail.com>
2026-01-27 2:29 ` Alexei Starovoitov
2026-01-27 8:26 ` [PATCH bpf v4] bpf: Fix tcx/netkit detach permissions when prog fd " Guillaume Gonnet
2026-01-27 13:10 ` Daniel Borkmann
2026-01-27 16:02 ` [PATCH bpf v5] " Guillaume Gonnet
2026-01-28 2:50 ` patchwork-bot+netdevbpf
2026-01-27 3:12 ` [PATCH] bpf: fix TCX/netkit detach permissions when prog FD " kernel test robot
2026-01-26 17:48 ` [PATCH bpf] " Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176946360561.187826.15424323975447947241.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=ggonnet.linux@gmail.com \
--cc=john.fastabend@gmail.com \
--cc=martin.lau@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.