Re: [External] : udp_sbappend() with inpcb table mutex

2022-03-21 Thread Alexandr Nedvedicky
Hello, On Mon, Mar 21, 2022 at 04:53:12PM +0100, Alexander Bluhm wrote: > Hi, > > syzkaller and witness found a bug in my pcb table mutex commit. > > https://syzkaller.appspot.com/bug?id=90a4811c99d6a2df7b252971b754612ca632894d > > For multicast and broadcast packets udp_input() traverses the l

udp_sbappend() with inpcb table mutex

2022-03-21 Thread Alexander Bluhm
Hi, syzkaller and witness found a bug in my pcb table mutex commit. https://syzkaller.appspot.com/bug?id=90a4811c99d6a2df7b252971b754612ca632894d For multicast and broadcast packets udp_input() traverses the loop of all UDP PCBs. There it calls udp_sbappend() while holding the UDB table mutex.