From: patchwork-bot+netdevbpf@kernel.org
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
daniel@iogearbox.net, martin.lau@kernel.org, eddyz87@gmail.com,
yatsenko@meta.com, kkd@meta.com, kernel-team@meta.com
Subject: Re: [PATCH bpf v3 0/5] Close race in freeing special fields and map value
Date: Fri, 27 Feb 2026 23:50:12 +0000 [thread overview]
Message-ID: <177223621254.2804531.2076027770272153815.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260227224806.646888-1-memxor@gmail.com>
Hello:
This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Fri, 27 Feb 2026 14:48:00 -0800 you wrote:
> There exists a race across various map types where the freeing of
> special fields (tw, timer, wq, kptr, etc.) can be done eagerly when a
> logical delete operation is done on a map value, such that the program
> which continues to have access to such a map value can recreate the
> fields and cause them to leak.
>
> The set contains fixes for this case. It is a continuation of Mykyta's
> previous attempt in [0], but applies to all fields. A test is included
> which reproduces the bug reliably in absence of the fixes.
>
> [...]
Here is the summary with links:
- [bpf,v3,1/5] bpf: Register dtor for freeing special fields
https://git.kernel.org/bpf/bpf/c/1df97a7453ee
- [bpf,v3,2/5] bpf: Lose const-ness of map in map_check_btf()
https://git.kernel.org/bpf/bpf/c/ae51772b1e94
- [bpf,v3,3/5] bpf: Delay freeing fields in local storage
https://git.kernel.org/bpf/bpf/c/f41deee082dc
- [bpf,v3,4/5] bpf: Retire rcu_trace_implies_rcu_gp() from local storage
https://git.kernel.org/bpf/bpf/c/baa35b3cb6b6
- [bpf,v3,5/5] selftests/bpf: Add tests for special fields races
https://git.kernel.org/bpf/bpf/c/2939d7b3b0e5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-02-27 23:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 22:48 [PATCH bpf v3 0/5] Close race in freeing special fields and map value Kumar Kartikeya Dwivedi
2026-02-27 22:48 ` [PATCH bpf v3 1/5] bpf: Register dtor for freeing special fields Kumar Kartikeya Dwivedi
2026-02-27 22:48 ` [PATCH bpf v3 2/5] bpf: Lose const-ness of map in map_check_btf() Kumar Kartikeya Dwivedi
2026-02-27 22:48 ` [PATCH bpf v3 3/5] bpf: Delay freeing fields in local storage Kumar Kartikeya Dwivedi
2026-02-27 22:48 ` [PATCH bpf v3 4/5] bpf: Retire rcu_trace_implies_rcu_gp() from " Kumar Kartikeya Dwivedi
2026-02-27 22:48 ` [PATCH bpf v3 5/5] selftests/bpf: Add tests for special fields races Kumar Kartikeya Dwivedi
2026-02-27 23:50 ` patchwork-bot+netdevbpf [this message]
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=177223621254.2804531.2076027770272153815.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=kernel-team@meta.com \
--cc=kkd@meta.com \
--cc=martin.lau@kernel.org \
--cc=memxor@gmail.com \
--cc=yatsenko@meta.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox