Gentoo Archives: gentoo-hardened

From: Jeff Rooney <jtrooney@×××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Glibc detected invalid pointer
Date: Fri, 16 Oct 2009 20:50:59
Message-Id: e9109f2e0910161350w28ebade9ha0a36306f99d8a34@mail.gmail.com
1 Whenever I run tripwire in a check mode I get the following output:
2
3 *** glibc detected *** tripwire: free(): invalid pointer: 0x00007fffffffd5d8 ***
4 ======= Backtrace: =========
5 /lib/libc.so.6[0x7f64eb0008ac]
6 /lib/libc.so.6(cfree+0x86)[0x7f64eb002506]
7 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6(_ZdlPv+0x1d)[0x7f64eb83e3ad]
8 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x22)[0x7f64eb817c52]
9 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6(_ZNSsD1Ev+0x7c)[0x7f64eb81803c]
10 tripwire[0x7f64ec111a03]
11 tripwire(main+0xb39)[0x7f64ec0f32a9]
12 /lib/libc.so.6(__libc_start_main+0xf6)[0x7f64eafb05c6]
13 tripwire[0x7f64ec0dfcc9]
14 ======= Memory map: ========
15 7f64e4000000-7f64e4021000 rw-p 7f64e4000000 00:00 0
16 7f64e4021000-7f64e8000000 ---p 7f64e4021000 00:00 0
17 7f64ea558000-7f64ea563000 r-xp 00000000 08:03 4237597
18 /lib64/libnss_files-2.9.so
19 7f64ea563000-7f64ea762000 ---p 0000b000 08:03 4237597
20 /lib64/libnss_files-2.9.so
21 7f64ea762000-7f64ea763000 r--p 0000a000 08:03 4237597
22 /lib64/libnss_files-2.9.so
23 7f64ea763000-7f64ea764000 rw-p 0000b000 08:03 4237597
24 /lib64/libnss_files-2.9.so
25 7f64ea764000-7f64ea76e000 r-xp 00000000 08:03 4237633
26 /lib64/libnss_nis-2.9.so
27 7f64ea76e000-7f64ea96d000 ---p 0000a000 08:03 4237633
28 /lib64/libnss_nis-2.9.so
29 7f64ea96d000-7f64ea96e000 r--p 00009000 08:03 4237633
30 /lib64/libnss_nis-2.9.so
31 7f64ea96e000-7f64ea96f000 rw-p 0000a000 08:03 4237633
32 /lib64/libnss_nis-2.9.so
33 7f64ea96f000-7f64ea983000 r-xp 00000000 08:03 4237639
34 /lib64/libnsl-2.9.so
35 7f64ea983000-7f64eab82000 ---p 00014000 08:03 4237639
36 /lib64/libnsl-2.9.so
37 7f64eab82000-7f64eab83000 r--p 00013000 08:03 4237639
38 /lib64/libnsl-2.9.so
39 7f64eab83000-7f64eab84000 rw-p 00014000 08:03 4237639
40 /lib64/libnsl-2.9.so
41 7f64eab84000-7f64eab86000 rw-p 7f64eab84000 00:00 0
42 7f64eab86000-7f64eab8d000 r-xp 00000000 08:03 4237643
43 /lib64/libnss_compat-2.9.so
44 7f64eab8d000-7f64ead8c000 ---p 00007000 08:03 4237643
45 /lib64/libnss_compat-2.9.so
46 7f64ead8c000-7f64ead8d000 r--p 00006000 08:03 4237643
47 /lib64/libnss_compat-2.9.so
48 7f64ead8d000-7f64ead8e000 rw-p 00007000 08:03 4237643
49 /lib64/libnss_compat-2.9.so
50 7f64ead8e000-7f64ead90000 r-xp 00000000 08:03 4237636
51 /lib64/libdl-2.9.so
52 7f64ead90000-7f64eaf90000 ---p 00002000 08:03 4237636
53 /lib64/libdl-2.9.so
54 7f64eaf90000-7f64eaf91000 r--p 00002000 08:03 4237636
55 /lib64/libdl-2.9.so
56 7f64eaf91000-7f64eaf92000 rw-p 00003000 08:03 4237636
57 /lib64/libdl-2.9.so
58 7f64eaf92000-7f64eb0d2000 r-xp 00000000 08:03 4237598
59 /lib64/libc-2.9.so
60 7f64eb0d2000-7f64eb2d2000 ---p 00140000 08:03 4237598
61 /lib64/libc-2.9.so
62 7f64eb2d2000-7f64eb2d6000 r--p 00140000 08:03 4237598
63 /lib64/libc-2.9.so
64 7f64eb2d6000-7f64eb2d7000 rw-p 00144000 08:03 4237598
65 /lib64/libc-2.9.so
66 7f64eb2d7000-7f64eb2dc000 rw-p 7f64eb2d7000 00:00 0
67 7f64eb2dc000-7f64eb2e7000 r-xp 00000000 08:03 4237419
68 /lib64/libgcc_s.so.1
69 7f64eb2e7000-7f64eb4e6000 ---p 0000b000 08:03 4237419
70 /lib64/libgcc_s.so.1
71 7f64eb4e6000-7f64eb4e7000 r--p 0000a000 08:03 4237419
72 /lib64/libgcc_s.so.1
73 7f64eb4e7000-7f64eb4e8000 rw-p 0000b000 08:03 4237419
74 /lib64/libgcc_s.so.1
75 7f64eb4e8000-7f64eb56d000 r-xp 00000000 08:03 4237634
76 /lib64/libm-2.9.so
77 7f64eb56d000-7f64eb76d000 ---p 00085000 08:03 4237634
78 /lib64/libm-2.9.so
79 7f64eb76d000-7f64eb76e000 r--p 00085000 08:03 4237634
80 /lib64/libm-2.9.so
81 7f64eb76e000-7f64eb76f000 rw-p 00086000 08:03 4237634
82 /lib64/libm-2.9.so
83 7f64eb76f000-7f64eb8af000 r-xp 00000000 08:07 778854
84 /usr/lib64/gcc/x86_64-pc-l .6.0.3
85 7f64eb8af000-7f64ebaae000 ---p 00140000 08:07 778854
86 /usr/lib64/gcc/x86_64-pc-l .6.0.3
87 7f64ebaae000-7f64ebab1000 r--p 0013f000 08:07 778854
88 /usr/lib64/gcc/x86_64-pc-l .6.0.3
89 7f64ebab1000-7f64ebab7000 rw-p 00142000 08:07 778854
90 /usr/lib64/gcc/x86_64-pc-l .6.0.3
91 7f64ebab7000-7f64ebaca000 rw-p 7f64ebab7000 00:00 0
92 7f64ebaca000-7f64ebc67000 r-xp 00000000 08:07 50831649
93 /usr/lib64/libcrypto.so.0.
94 7f64ebc67000-7f64ebe66000 ---p 0019d000 08:07 50831649
95 /usr/lib64/libcrypto.so.0.
96 7f64ebe66000-7f64ebe74000 r--p 0019c000 08:07 50831649
97 /usr/lib64/libcrypto.so.0.
98 7f64ebe74000-7f64ebe8c000 rw-p 001aa000 08:07 50831649
99 /usr/lib64/libcrypto.so.0.
100 7f64ebe8c000-7f64ebe90000 rw-p 7f64ebe8c000 00:00 0
101 7f64ebe90000-7f64ebeac000 r-xp 00000000 08:03 4237596
102 /lib64/ld-2.9.so
103 7f64ec03a000-7f64ec0a0000 rw-p 7f64ec03a000 00:00 0
104 7f64ec0a6000-7f64ec0aa000 rw-p 7f64ec0a6000 00:00 0
105 7f64ec0aa000-7f64ec0ab000 r-xp 7f64ec0aa000 00:00 0 [vdso]
106 7f64ec0ab000-7f64ec0ac000 r--p 0001b000 08:03 4237596
107 /lib64/ld-2.9.so
108 7f64ec0ac000-7f64ec0ad000 rw-p 0001c000 08:03 4237596
109 /lib64/ld-2.9.so
110 7f64ec0ad000-7f64ec282000 r-xp 00000000 08:07 777645
111 /usr/sbin/tripwire
112 7f64ec481000-7f64ec484000 r--p 001d4000 08:07 777645
113 /usr/sbin/tripwire
114 7f64ec484000-7f64ec496000 rw-p 001d7000 08:07 777645
115 /usr/sbin/tripwire
116 7f64ec496000-7f64ed50b000 rw-p 7f64ec496000 00:00 0 [heap]
117 7ffffffe9000-7ffffffff000 rw-p 7ffffffe9000 00:00 0 [stack]
118 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
119 [vsyscall]
120 Software interrupt forced exit: Abort
121
122
123 I'm running 2.6.28-hardened-r9 with grsec enabled on gcc 3.4.6-r2
124 glibc 2.9_p20081201-r2, any suggestions?
125
126 --
127 Jeff

Replies

Subject Author
Re: [gentoo-hardened] Glibc detected invalid pointer pageexec@××××××××.hu