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
F132032990: D19898.diff
Mon, Oct 13, 2:51 AM
Unknown Object (File)
Thu, Oct 9, 6:22 PM
Unknown Object (File)
Thu, Oct 2, 2:31 AM
Unknown Object (File)
Fri, Sep 26, 1:35 AM
Unknown Object (File)
Sun, Sep 14, 1:04 AM
Unknown Object (File)
Sep 12 2025, 2:13 PM
Unknown Object (File)
Sep 9 2025, 6:14 PM
Unknown Object (File)
Sep 3 2025, 12:57 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