[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200520.210012.1620040824637283139.davem@davemloft.net>
Date: Wed, 20 May 2020 21:00:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
syzkaller@...glegroups.com
Subject: Re: [PATCH net] ax24: fix setsockopt(SO_BINDTODEVICE)
From: Eric Dumazet <edumazet@...gle.com>
Date: Tue, 19 May 2020 18:24:43 -0700
> syzbot was able to trigger this trace [1], probably by using
> a zero optlen.
>
> While we are at it, cap optlen to IFNAMSIZ - 1 instead of IFNAMSIZ.
>
> [1]
...
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable with s/ax24/ax25/, thanks.
Powered by blists - more mailing lists