[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQLqwumutNcGK92HpiOQL+kpCPc-jyPoii9OSVOXuyNBEQ@mail.gmail.com>
Date: Thu, 3 Feb 2022 17:47:55 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: syzbot <syzbot+6d70ca7438345077c549@...kaller.appspotmail.com>,
Toke Høiland-Jørgensen <toke@...hat.com>,
Andrii Nakryiko <andrii@...nel.org>,
Alexei Starovoitov <ast@...nel.org>, bpf <bpf@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"David S. Miller" <davem@...emloft.net>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>,
Martin KaFai Lau <kafai@...com>,
KP Singh <kpsingh@...nel.org>,
Jakub Kicinski <kuba@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Song Liu <songliubraving@...com>,
syzkaller-bugs <syzkaller-bugs@...glegroups.com>,
Yonghong Song <yhs@...com>
Subject: Re: [syzbot] KASAN: slab-out-of-bounds Write in bpf_prog_test_run_xdp
On Thu, Feb 3, 2022 at 10:11 AM Lorenzo Bianconi <lorenzo@...nel.org> 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.
Powered by blists - more mailing lists