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)
Fri, Mar 27, 6:13 AM
Unknown Object (File)
Thu, Mar 26, 10:16 PM
Unknown Object (File)
Tue, Mar 24, 5:03 AM
Unknown Object (File)
Mon, Mar 23, 10:07 PM
Unknown Object (File)
Thu, Mar 19, 10:28 AM
Unknown Object (File)
Thu, Mar 19, 3:03 AM
Unknown Object (File)
Wed, Mar 18, 8:45 PM
Unknown Object (File)
Dec 28 2025, 4:42 AM
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