Re: validate addresses in routing message

2019-08-29 Thread Alexander Bluhm
On Thu, Aug 29, 2019 at 05:31:04PM +0200, Claudio Jeker wrote: > I don't think this is the right way to do this. The consumer of rtinfo > need to check the values based on their needs. Ideally we add some helpers > to make that easier. I think it is close to impossible to properly > validate the so

Re: validate addresses in routing message

2019-08-29 Thread Claudio Jeker
On Wed, Aug 28, 2019 at 11:58:36PM +0200, Alexander Bluhm wrote: > Hi, > > The kernel may crash as there is not enough input validation in > routing messages. > > https://syzkaller.appspot.com/bug?id=e2076a6518b49730aefe64acf0a266f8e79685a5 > > Here the name of a routing label is not NUL termina

validate addresses in routing message

2019-08-28 Thread Alexander Bluhm
Hi, The kernel may crash as there is not enough input validation in routing messages. https://syzkaller.appspot.com/bug?id=e2076a6518b49730aefe64acf0a266f8e79685a5 Here the name of a routing label is not NUL terminated, but there are more things that can go wrong. So I added some checks for inc