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)
Mon, Oct 5, 1:22 AM
Unknown Object (File)
Mon, Oct 5, 12:51 AM
Unknown Object (File)
Tue, Sep 22, 8:51 PM
Unknown Object (File)
Tue, Sep 22, 8:50 PM
Unknown Object (File)
Tue, Sep 22, 5:36 PM
Unknown Object (File)
Aug 26 2026, 6:57 AM
Unknown Object (File)
Aug 22 2026, 10:33 AM
Unknown Object (File)
Aug 21 2026, 4:00 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

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