Re: [syzbot] KASAN: slab-out-of-bounds Write in bpf_prog_test_run_xdp

From: Alexei Starovoitov
Date: Thu Feb 03 2022 - 20:48:28 EST


On Thu, Feb 3, 2022 at 10:11 AM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote:
>
> > Lorenzo, please take a look. I suspect it's xdp frags related.
>
> Hi Alexei,
>
> do you think it is worth to add a test for this condition in
> test_xdp_update_frags()?

you mean instead of 9000 and implicit PAGE_SIZE splitting
allocate explicit PAGE_SIZE * MAX_SKB_FRAGS ?
Yeah. Would be nice.