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
F157082907: D19898.diff
Mon, May 18, 8:23 AM
F157082091: D19898.diff
Mon, May 18, 8:19 AM
Unknown Object (File)
Tue, May 12, 3:19 PM
Unknown Object (File)
Thu, May 7, 6:42 AM
Unknown Object (File)
Thu, Apr 30, 5:29 PM
Unknown Object (File)
Apr 15 2026, 6:36 AM
Unknown Object (File)
Apr 14 2026, 10:36 PM
Unknown Object (File)
Apr 13 2026, 11:56 PM
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