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
F133555740: D47453.id.diff
Sun, Oct 26, 3:30 PM
F133486152: D47453.id146067.diff
Sun, Oct 26, 3:46 AM
Unknown Object (File)
Sat, Oct 25, 8:05 PM
Unknown Object (File)
Thu, Oct 23, 9:43 AM
Unknown Object (File)
Mon, Oct 20, 1:55 AM
Unknown Object (File)
Mon, Oct 20, 1:55 AM
Unknown Object (File)
Sun, Oct 19, 12:38 PM
Unknown Object (File)
Sun, Oct 19, 11:38 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.