Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291224 - double free detected with apache2 on hardened
Summary: double free detected with apache2 on hardened
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 19:47 UTC by Emmanuel Andry
Modified: 2011-08-31 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Apache2 error log (error_log.tar.gz,1.16 MB, application/octet-stream)
2009-10-30 19:49 UTC, Emmanuel Andry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Andry 2009-10-30 19:47:23 UTC
# emerge --info apache2
Portage 2.1.7.1 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.29-hardened i686)
=================================================================                          
                        System Settings                                                    
=================================================================                          
System uname: Linux-2.6.29-hardened-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-gentoo-2.0.1   
Timestamp of tree: Fri, 30 Oct 2009 19:00:01 +0000                                         
app-shells/bash:     4.0_p35                                                               
dev-lang/python:     2.6.4, 3.1.1-r1                                                       
sys-apps/baselayout: 2.0.1                                                                 
sys-apps/openrc:     0.5.2-r1                                                              
sys-apps/sandbox:    2.2                                                                   
sys-devel/autoconf:  2.63-r1                                                               
sys-devel/automake:  1.10.2, 1.11                                                          
sys-devel/binutils:  2.20                                                                  
sys-devel/gcc-config: 1.4.1                                                                
sys-devel/libtool:   2.2.6a                                                                
virtual/os-headers:  2.6.30-r1                                                             
ACCEPT_KEYWORDS="x86 ~x86"                                                                 
CBUILD="i686-pc-linux-gnu"                                                                 
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"                    
CHOST="i686-pc-linux-gnu"                                                                  
CONFIG_PROTECT="/etc"                                                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                 
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"                                  
DISTDIR="/usr/portage/distfiles"                                                                           
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                       
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "                                                   
LDFLAGS="-Wl,-O1"                                                                                          
LINGUAS="fr"                                                                                               
MAKEOPTS="-j3"                                                                                             
PKGDIR="/usr/portage/packages"                                                                             
PORTAGE_CONFIGROOT="/"                                                                                     
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                        
PORTAGE_TMPDIR="/var/tmp"                                                                                  
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi ads apache2 audit bash-completion berkdb bzip2 cgi chdir cli contentcache cracklib crypt ctype cups curl dri expat filter ftp gd gdbm gmp gpm graphite hardened iconv imap innodb ipv6 isdnlog ithreads json kerberos latin1 ldap memlimit modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pic posix pppd python readline reflection session spl ssl suhosin svg symlink sysfs tcpd threads unicode urandom x86 xml xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1      emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 imstt intel        mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage         siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always
Comment 1 Emmanuel Andry 2009-10-30 19:49:30 UTC
Created attachment 208775 [details]
Apache2 error log
Comment 2 Emmanuel Andry 2010-02-18 10:33:17 UTC
Still happening, even with latest updates :

# emerge --info apache2
Portage 2.1.7.17 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.29-hardened i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.29-hardened-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 18 Feb 2010 09:30:01 +0000
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi ads apache2 audit bash-completion bcmath berkdb bzip2 calendar cgi chdir cli colordiff contentcache cracklib crypt ctype cups curl cxx dri expat extensions filter ftp gd gdbm gmp gpm graphite hardened iconv idn imap innodb ipv6 ithreads json kerberos latin1 ldap lsb memlimit mhash mktemp mmx modules mudflap mysql ncurses network-cron nls nptl nptlonly openmp openssl pam pcre perl php pic posix pppd python readline reflection session snmp soap sockets spl sse sse2 ssl suhosin svg symlink sysfs tcpd threads unicode urandom x86 xml xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 	maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware 	voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Emmanuel Andry 2011-05-15 15:26:31 UTC
This bug didn't show up for a while. Maybe can this ticket be closed ?
Comment 4 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-08-31 16:55:30 UTC
I'm closing the bug as you requested, if you find it spurts again please open it again (if you can provide a bt from gdb when this happens it would be even better).