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)
Thu, Apr 18, 8:21 AM
Unknown Object (File)
Jan 14 2024, 6:33 PM
Unknown Object (File)
Dec 20 2023, 8:12 AM
Unknown Object (File)
Nov 24 2023, 9:23 AM
Unknown Object (File)
Aug 25 2023, 11:42 AM
Unknown Object (File)
Jul 5 2023, 11:50 AM
Unknown Object (File)
Jul 5 2023, 11:49 AM
Unknown Object (File)
Jul 5 2023, 11:47 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