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, Oct 17, 11:38 PM
Unknown Object (File)
Fri, Oct 17, 2:49 AM
Unknown Object (File)
Thu, Oct 16, 1:26 PM
Unknown Object (File)
Thu, Oct 16, 1:26 PM
Unknown Object (File)
Thu, Oct 16, 1:26 PM
Unknown Object (File)
Thu, Oct 16, 1:43 AM
Unknown Object (File)
Sep 10 2025, 8:58 PM
Unknown Object (File)
Sep 5 2025, 3:52 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