Triggering qemu buffer overflow when building/testing strace

Yun-Chih Chen b03902074 at ntu.edu.tw
Fri Jul 8 14:55:14 UTC 2016


Triggering qemu buffer overflow on chroot + qemu-mips-static:
Same thing happens on armel.

root at ubuntu:~/strace# make -k check VERBOSE=1 &> make_check.log
*** buffer overflow detected ***: /usr/bin/qemu-mipsel-static terminated
======= Backtrace: =========
[0x6013c22b]
[0x601828a2]
[0x6018245e]
[0x60182837]
[0x60071611]
[0x6006b739]
[0x6005a628]
[0x6001426f]
[0x6012143c]
[0x600147c7]
======= Memory map: ========
*** buffer overflow detected ***: /usr/bin/qemu-mipsel-static terminated
======= Backtrace: =========
[0x6013c22b]
[0x601828a2]
[0x6018245e]
[0x60182837]
[0x60071de1]
[0x6005a628]
[0x6001426f]
[0x6012143c]
[0x600147c7]
======= Memory map: ========


Qemu host environment:
qemu-user-static: 2.0.0
host OS: Ubuntu 14.04
host OS kernel: 4.2.0-27

Inside qemu:
debootstrap to debian sid
gcc version: 5.4
libc6-dev: 2.23-1
linux-libc-dev: 4.6.3-1

Instructions:
./configure --enable-maintainer-mode
make
make check VERBOSE=1
( halted at rt_sigsuspend )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_check.log
Type: text/x-log
Size: 217078 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160708/e3ae259c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 75178 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160708/e3ae259c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 20377 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160708/e3ae259c/attachment-0002.bin>


More information about the Strace-devel mailing list