Re: [PATCH v3] bpf: Annotate bpf_obj_memcpy with data_race
| Newsgroups | org.kernel.vger.bpf,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178751400564.2127284.2628420937760907856.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>: On Sat, 22 Aug 2026 14:55:33 +0800 you wrote: > From: Quanye Yang <[email protected]> > > syzbot reported KCSAN write-write races when two tasks concurrently > update the same map value. Both accesses reach the ordinary memcpy() > paths in bpf_obj_memcpy() through copy_map_value(). > > Unlocked in-place updates of published map values are intentionally not > serialized and may produce torn values. Callers requiring consistency > must provide synchronization appropriate for the map type. > bpf_long_memcpy() already annotates the same behavior for long-aligned > copies. > > [...] Here is the summary with links: - [v3] bpf: Annotate bpf_obj_memcpy with data_race https://git.kernel.org/bpf/bpf-next/c/5e289c5a4a52 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html