Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 377417

Summary: net-misc/ntp-4.2.6_p3 crash with ipv6
Product: Gentoo Linux Reporter: Alejandro Ojeda <opotonil>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alejandro Ojeda 2011-08-02 13:07:19 UTC
net-misc/ntp-4.2.6_p3 crash after configure IPv6 on system

Reproducible: Always

Steps to Reproduce:
1. Stop ntp "/etc/init.d/ntpd stop".
2. Configure static IPv6 on "/etc/conf.d/net" and restart network.
3. Start ntp "/etc/init.d/ntpd start" and check ntp status "/etc/init.d/ntpd status" it is crashed.
Actual Results:  
net-misc/ntp-4.2.6_p3 crash with IPv6 configured.

Expected Results:  
net-misc/ntp-4.2.6_p3 doesn't crash with IPv6 configured.

On logs I can see:
[414496.228869] ntpd[5936]: segfault at 8 ip 00000dddb9b4af91 sp 00007351740fce20 error 4 in ntpd[dddb9b2d000+91000] 
[414496.228890] grsec: From 192.168.255.5: Segmentation fault occurred at 0000000000000008 in /usr/sbin/ntpd[ntpd:5936] uid/euid:123/123 gid/egid:123/123, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 
[414496.228914] grsec: bruteforce prevention initiated against uid 123, banning for 15 minutes 

Initial post at forums:
http://forums.gentoo.org/viewtopic-t-888702.html
Comment 1 Alejandro Ojeda 2011-08-04 18:19:41 UTC
Ntp is working well, not is his fault. The problem is to use a vde bridge (vde_pcapplug), ntp work well without it.