Re: CVE-2023-52521: bpf: Annotate bpf_long_memcpy with data_race

From: Michal Hocko
Date: Tue Mar 05 2024 - 11:54:54 EST


On Sat 02-03-24 22:53:05, Greg KH wrote:
> Description
> ===========
>
> In the Linux kernel, the following vulnerability has been resolved:
>
> bpf: Annotate bpf_long_memcpy with data_race
>
> syzbot reported a data race splat between two processes trying to
> update the same BPF map value via syscall on different CPUs:
>
> BUG: KCSAN: data-race in bpf_percpu_array_update / bpf_percpu_array_update

I would like to dispute this CVE. It adds data_race annotation which
doesn't have any impact on the code generation.
--
Michal Hocko
SUSE Labs