[Bug 8641] New: busybox can't be used with ASAN enabled
bugzilla at busybox.net
bugzilla at busybox.net
Wed Feb 3 03:58:13 UTC 2016
https://bugs.busybox.net/show_bug.cgi?id=8641
Bug ID: 8641
Summary: busybox can't be used with ASAN enabled
Product: Busybox
Version: 1.22.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: fernando at null-life.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
I'm trying to compile busybox with AdressSanitizer enabled in order to fuzz it,
however after compiling it can't start and it complains about a posible stack
buffer overflow. I'm using Kali Linux and got the source from apt-get source.
root at kali:~/busybox-1.22.0# ./busybox_unstripped
=================================================================
==20849==ERROR: AddressSanitizer: stack-buffer-overflow on address 0xbffff374
at pc 0x0807cdd9 bp 0xbffff2bc sp 0xbffff2b0
WRITE of size 4 at 0xbffff374 thread T0
#0 0x807cdd8 in get_terminal_width_height libbb/xfuncs.c:269
Address 0xbffff374 is located in stack of thread T0==20849==AddressSanitizer
CHECK failed: ../../../../src/libsanitizer/asan/asan_thread.cc:231 "((ptr[0] ==
kCurrentStackFrameMagic)) != (0)" (0x0, 0x0)
#0 0xb7b064ec (/usr/lib/i386-linux-gnu/libasan.so.2+0x9a4ec)
#1 0xb7b0b3b9 in __sanitizer::CheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long)
(/usr/lib/i386-linux-gnu/libasan.so.2+0x9f3b9)
#2 0xb7b09195 (/usr/lib/i386-linux-gnu/libasan.so.2+0x9d195)
#3 0xb7b034a6 (/usr/lib/i386-linux-gnu/libasan.so.2+0x974a6)
#4 0xb7b03a89 (/usr/lib/i386-linux-gnu/libasan.so.2+0x97a89)
#5 0xb7b053c7 in __asan_report_error
(/usr/lib/i386-linux-gnu/libasan.so.2+0x993c7)
#6 0xb7b06b95 in __asan_report_store4
(/usr/lib/i386-linux-gnu/libasan.so.2+0x9ab95)
#7 0x807cdd8 in get_terminal_width_height libbb/xfuncs.c:269
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list