[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8734ked3op.fsf@toke.dk>
Date: Tue, 29 Oct 2024 22:01:10 +0100
From: Toke Høiland-Jørgensen <toke@...hat.com>
To: syzbot <syzbot+d121e098da06af416d23@...kaller.appspotmail.com>,
akpm@...ux-foundation.org, davem@...emloft.net, edumazet@...gle.com,
hawk@...nel.org, ilias.apalodimas@...aro.org, kuba@...nel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, netdev@...r.kernel.org,
pabeni@...hat.com, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [net?] BUG: Bad page state in bpf_test_run_xdp_live
#syz test
--- a/net/bpf/test_run.c
+++ b/net/bpf/test_run.c
@@ -246,6 +246,7 @@ static void reset_ctx(struct xdp_page_head *head)
head->ctx.data_meta = head->orig_ctx.data_meta;
head->ctx.data_end = head->orig_ctx.data_end;
xdp_update_frame_from_buff(&head->ctx, head->frame);
+ head->frame->mem = head->orig_ctx.rxq->mem;
}
static int xdp_recv_frames(struct xdp_frame **frames, int nframes,
Powered by blists - more mailing lists