Re: [syzbot] [wireguard?] KASAN: slab-use-after-free Write in enqueue_timer

From: Jason A. Donenfeld
Date: Tue May 23 2023 - 12:48:06 EST


On Tue, May 23, 2023 at 6:46 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Tue, 23 May 2023 18:14:18 +0200 Jason A. Donenfeld wrote:
> > So, IOW, not a wireguard bug, right?
>
> What's slightly concerning is that there aren't any other timers
> leading to
>
> KASAN: slab-use-after-free Write in enqueue_timer
>
> :( If WG was just an innocent bystander there should be, right?

Well, WG does mod this timer for every single packet in its RX path.
So that's bound to turn things up I suppose.