[Bug 7292] New: ipsec-tools-0.8.2: racoon segfaults on x86_64 arch

bugzilla at busybox.net bugzilla at busybox.net
Mon Aug 4 22:11:25 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=7292

           Summary: ipsec-tools-0.8.2: racoon segfaults on x86_64 arch
           Product: uClibc
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: cdf123 at cdf123.net
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


All other applications work fine, and I have a "2014-5" release running almost
identical config on x86 that works fine.  It seems to die right after getting
timezone info.  I've tried using the built-in time options in make menuconfig,
manually setting, and even removing timezone config files (/etc/TZ and
/etc/localtime).  It's always immediately after checking these files that the
segfault occurs.

== Output of "strace racoon -d -d -d" ==
...
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 16) = 0
(a whole bunch of "brk(0x0x67d000)" to "brk(0x694000)")
brk(0x694000)                           = 0x694000
time([1407189506])                      = 1407189506
open("/etc/TZ", O_RDONLY)               = 4
read(4, "# America/Chicago\nCST6CDT,M3.2.0"..., 68) = 41
close(4)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++
Segmentation fault


== dmesg | tail ==
racoon[1588]: segfault at 0 ip 0000031fd77062d7 sp 000003ffd71c0be8 error 4 in
libuClibc-0.9.34-git.so[31fd76dd000+52000]
grsec: From 192.168.100.2: Segmentation fault occurred at            (nil) in
/usr/sbin/racoon[racoon:1588] uid/euid:0/0 gid/egid:0/0, parent
/bin/bash[sh:1564] uid/euid:0/0 gid/egid:0/0
grsec: From 192.168.100.2: denied resource overstep by requesting 4096 for
RLIMIT_CORE against limit 0 for /usr/sbin/racoon[racoon:1588] uid/euid:0/0
gid/egid:0/0, parent /bin/bash[sh:1564] uid/euid:0/0 gid/egid:0/0


I've tried rebuilding with 0.9.32.x, 0.9.33.x, and "daily snapshot", all three
have the same segfault.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list