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
F153980359: D25887.id75172.diff
Sat, Apr 25, 5:58 AM
Unknown Object (File)
Fri, Apr 24, 6:32 AM
Unknown Object (File)
Tue, Apr 21, 6:53 PM
Unknown Object (File)
Tue, Apr 21, 2:14 PM
Unknown Object (File)
Tue, Apr 21, 11:26 AM
Unknown Object (File)
Wed, Apr 15, 12:41 PM
Unknown Object (File)
Mon, Apr 13, 3:33 AM
Unknown Object (File)
Sun, Apr 12, 1:06 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32652
Build 30104: arc lint + arc unit