Page MenuHomeFreeBSD

net/ntp: Fix crash when bringing up net interface fails
Needs ReviewPublic

Authored by rcm on Nov 5 2024, 6:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 8:33 PM
Unknown Object (File)
Thu, May 14, 5:15 PM
Unknown Object (File)
Tue, May 12, 3:40 PM
Unknown Object (File)
Tue, May 5, 3:11 AM
Unknown Object (File)
Tue, Apr 28, 11:25 AM
Unknown Object (File)
Mon, Apr 27, 9:22 AM
Unknown Object (File)
Apr 21 2026, 2:34 AM
Unknown Object (File)
Apr 15 2026, 5:11 AM
Subscribers
None

Details

Reviewers
cy
Summary

The latest vendor import of ntp-4.2.8p18 includes a bug that can cause a
segfault in an error message related to failing to bring up an endpoint
during interface setup. This occurs due to unhandled cases in the
error-handling path that reference uninitialized or freed fields in endpt,
leading to a crash under certain conditions.

PR: 281202
Obtained from: https://bugs.ntp.org/show_bug.cgi?id=3928
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rcm requested review of this revision.Nov 5 2024, 6:10 PM
rcm created this revision.