If the destination address has an embedded scope ID, make sure that it
corresponds to a valid ifnet before proceeding. Otherwise a sendto()
with a bogus link-local address can trigger a NULL pointer dereference.
Reported by: syzkaller
Differential D25887
ip6_output(): Check the return value of in6_getlinkifnet(). markj on Jul 30 2020, 12:46 AM. Authored by Tags None Referenced Files
Details If the destination address has an embedded scope ID, make sure that it Reported by: syzkaller
Diff Detail
|