Re: [PATCH bpf-next 1/2] bpf: align syscall writeback behavior with caller-declared size

From: Leon Hwang

Date: Thu May 28 2026 - 01:43:46 EST


On 25/5/26 15:21, Yuyang Huang wrote:
[...]
>
> Feel free to let us know your thoughts.
>
I believe this is a user space issue instead of a kernel bug.

I tried to use mmap() memory as uattr that got -EFAULT instead of crash.

[................] /* mmap() memory */
^ tail 40B as uattr
^ 56B offset for copy_to_user()

Thanks,
Leon