From: patchwork-bot+netdevbpf@kernel.org
To: Chris Mason <mason@kernel.org>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org, kpsingh@kernel.org, matt@bobrowski.net,
eddyz87@gmail.com, memxor@gmail.com, martin.lau@linux.dev,
song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org,
emil@etsalapatis.com, ihor.solodrai@linux.dev,
john.fastabend@gmail.com, paul@paul-moore.com, jmorris@namei.org,
serge@hallyn.com, yatsenko@meta.com, mykyta.yatsenko5@gmail.com,
linux-security-module@vger.kernel.org
Subject: Re: [PATCH bpf] bpf: Destroy inode storage after an RCU grace period
Date: Sat, 05 Dec 2026 04:50:07 +0000 [thread overview]
Message-ID: <179644620716.2070826.6320701718425445802.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261203163706.50213-1-mason@kernel.org>
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Thu, 3 Dec 2026 11:37:06 -0500 you wrote:
> BPF inode storage hits a use-after-free on the inode if an RCU path walk
> creates an element after security_inode_free().
>
> bpf_local_storage_destroy() expects that BPF programs and syscalls can no
> longer add or delete elements. But bpf_inode_storage_free() calls it from
> security_inode_free(), and an RCU path walk can still run a BPF LSM
> program on that inode until a grace period has passed:
>
> [...]
Here is the summary with links:
- [bpf] bpf: Destroy inode storage after an RCU grace period
https://git.kernel.org/bpf/bpf/c/f6f85b59efbd
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-12-05 4:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 16:37 [PATCH bpf] bpf: Destroy inode storage after an RCU grace period Chris Mason
2026-12-03 17:25 ` sashiko-bot
2026-12-03 18:40 ` Mykyta Yatsenko
2026-12-05 4: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=179644620716.2070826.6320701718425445802.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=emil@etsalapatis.com \
--cc=ihor.solodrai@linux.dev \
--cc=jmorris@namei.org \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=mason@kernel.org \
--cc=matt@bobrowski.net \
--cc=memxor@gmail.com \
--cc=mykyta.yatsenko5@gmail.com \
--cc=paul@paul-moore.com \
--cc=serge@hallyn.com \
--cc=song@kernel.org \
--cc=yatsenko@meta.com \
--cc=yonghong.song@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox