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
F106152624: D47453.diff
Thu, Dec 26, 6:30 AM
Unknown Object (File)
Sun, Dec 8, 11:48 PM
Unknown Object (File)
Nov 14 2024, 7:43 PM
Unknown Object (File)
Nov 12 2024, 4:12 PM
Unknown Object (File)
Nov 12 2024, 10:58 AM
Unknown Object (File)
Nov 11 2024, 6:03 AM
Unknown Object (File)
Nov 10 2024, 9:47 PM
Unknown Object (File)
Nov 10 2024, 5:21 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.