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
F163098030: D47453.diff
Mon, Jul 20, 1:47 AM
Unknown Object (File)
Sat, Jul 18, 11:56 PM
Unknown Object (File)
Fri, Jul 17, 4:56 PM
Unknown Object (File)
Jun 17 2026, 12:48 AM
Unknown Object (File)
Jun 5 2026, 2:02 AM
Unknown Object (File)
May 14 2026, 8:33 PM
Unknown Object (File)
May 14 2026, 5:15 PM
Unknown Object (File)
May 12 2026, 3:40 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.