Page MenuHomeFreeBSD

ip6_output(): Check the return value of in6_getlinkifnet().
ClosedPublic

Authored by markj on Jul 30 2020, 12:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 6:57 AM
Unknown Object (File)
Sat, Aug 22, 10:33 AM
Unknown Object (File)
Fri, Aug 21, 4:00 PM
Unknown Object (File)
Fri, Aug 21, 3:42 PM
Unknown Object (File)
Fri, Aug 21, 12:23 PM
Unknown Object (File)
Fri, Aug 21, 12:20 PM
Unknown Object (File)
Thu, Aug 20, 10:47 PM
Unknown Object (File)
Thu, Aug 20, 7:17 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable