From: Eric Dumazet <eduma...@google.com> Date: Sat, 27 Jun 2020 13:31:50 -0700
> syzbot was to trigger a bug by tricking AF_LLC with > non sensible addr->sllc_arphrd > > It seems clear LLC requires an Ethernet device. > > Back in commit abf9d537fea2 ("llc: add support for SO_BINDTODEVICE") > Octavian Purdila added possibility for application to use a zero > value for sllc_arphrd, convert it to ARPHRD_ETHER to not cause > regressions on existing applications. ... > Fixes: abf9d537fea2 ("llc: add support for SO_BINDTODEVICE") > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied and queued up for -stable, thanks Eric.