Page MenuHomeFreeBSD

ntpd: Fix crash when bringing up net interface fails
AcceptedPublic

Authored by rcm on Nov 4 2024, 4:09 PM.
Tags
None
Referenced Files
F150765097: D47436.id145991.diff
Fri, Apr 3, 10:02 PM
Unknown Object (File)
Wed, Apr 1, 3:04 PM
Unknown Object (File)
Fri, Mar 13, 12:54 AM
Unknown Object (File)
Mar 1 2026, 4:52 AM
Unknown Object (File)
Feb 23 2026, 2:56 PM
Unknown Object (File)
Jan 31 2026, 6:01 AM
Unknown Object (File)
Jan 31 2026, 6:01 AM
Unknown Object (File)
Jan 31 2026, 2:51 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rcm requested review of this revision.Nov 4 2024, 4:09 PM

lgtm

Can you also submit a revision for the ntp port, please?

This revision is now accepted and ready to land.Nov 4 2024, 6:27 PM