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

[email protected] Tue, 04 Aug 2026 07:30:09 +0000
Newsgroups org.kernel.vger.bpf,dev.linux.lists.fsverity,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <178582860939.3014158.15212060647956229102.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to bpf/bpf.git (master)
by Kumar Kartikeya Dwivedi <[email protected]>:

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