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)
Sep 10 2025, 8:58 PM
Unknown Object (File)
Sep 5 2025, 3:52 PM
Unknown Object (File)
Sep 4 2025, 11:46 AM
Unknown Object (File)
Aug 24 2025, 6:21 PM
Unknown Object (File)
Aug 23 2025, 12:20 AM
Unknown Object (File)
Aug 14 2025, 3:48 PM
Unknown Object (File)
Aug 14 2025, 2:39 AM
Unknown Object (File)
Aug 3 2025, 1:23 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

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