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, Apr 18, 11:56 PM
Unknown Object (File)
Sat, Apr 12, 11:05 PM
Unknown Object (File)
Mar 14 2025, 9:10 PM
Unknown Object (File)
Mar 8 2025, 12:08 AM
Unknown Object (File)
Feb 7 2025, 6:55 PM
Unknown Object (File)
Jan 16 2025, 6:25 AM
Unknown Object (File)
Oct 2 2024, 12:14 PM
Unknown Object (File)
Sep 5 2024, 7:41 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