Page MenuHomeFreeBSD

Don't allow the user to set RTF_RNH_LOCKED
ClosedPublic

Authored by tuexen on Apr 13 2019, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 16, 9:15 PM
Unknown Object (File)
Fri, Oct 16, 9:02 PM
Unknown Object (File)
Fri, Oct 16, 4:34 PM
Unknown Object (File)
Mon, Oct 12, 11:57 AM
Unknown Object (File)
Sun, Oct 11, 4:54 AM
Unknown Object (File)
Sat, Oct 10, 6:07 AM
Unknown Object (File)
Sun, Sep 27, 8:41 AM
Unknown Object (File)
Aug 30 2026, 12:28 AM
Subscribers

Details

Summary

When sending a routing message, don't allow the user to set the RTF_RNH_LOCKED in rtm_flags, since this flag is used only internally.

This issue was reported by syzbot.

Test Plan

Ensure reproducer does not trigger a panic on a GENERIC kernel.

Diff Detail

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