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)
Aug 21 2025, 6:11 PM
Unknown Object (File)
Aug 17 2025, 5:59 PM
Unknown Object (File)
Aug 10 2025, 2:14 AM
Unknown Object (File)
Aug 8 2025, 7:25 PM
Unknown Object (File)
Jul 25 2025, 11:24 PM
Unknown Object (File)
Jul 25 2025, 6:37 AM
Unknown Object (File)
Jul 25 2025, 12:34 AM
Unknown Object (File)
Jul 23 2025, 12:22 PM
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.