Re: [PATCH] fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions

From: patchwork-bot+netdevbpf

Date: Tue Aug 04 2026 - 03:36:24 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>:

On Fri, 31 Jul 2026 00:39:25 +0000 you wrote:
> The BPF verifier and the dynptr abstraction ensure that the memory space
> referenced by a dynptr remains valid. They do not, however, provide any
> guarantee that the contents of the memory are stable. kfuncs are
> expected to remain memory-safe even if concurrent modifications occur.
>
> bpf_get_fsverity_digest() didn't follow that: it could crash if
> arg->digest_size was concurrently modified.
>
> [...]

Here is the summary with links:
- fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions
https://git.kernel.org/bpf/bpf/c/3e8ec7c03872

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html