[Nasm-bugs] [Bug 3392667] New: program loops in eval.c trigger stack-overflow

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed May 27 01:15:04 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392667

            Bug ID: 3392667
           Summary: program loops in eval.c trigger stack-overflow
           Product: NASM
           Version: 2.14.xx
          Hardware: PC
                OS: Linux
            Status: OPEN
          Severity: major
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: puppet at zju.edu.cn
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

version: nasm 2.14.03rc2

OS: Ubuntu 16.04 LTS

cmd: ./nasm -i bin ./POC -o /dev/null


ASAN log:

ASAN:SIGSEGV
=================================================================
==15317==ERROR: AddressSanitizer: stack-overflow on address 0x7fffff7fefdc (pc
0x000000450bcb bp 0x7fffff7ff010 sp 0x7fffff7fefd0 T0)
    #0 0x450bca in expr5 asm/eval.c:564
    #1 0x450ae5 in expr4 asm/eval.c:542
    #2 0x45093b in expr3 asm/eval.c:508
    #3 0x4507fb in expr2 asm/eval.c:482
    #4 0x4506bb in expr1 asm/eval.c:456
    #5 0x45057b in expr0 asm/eval.c:430
    #6 0x451ee9 in expr6 asm/eval.c:857
    #7 0x450bd7 in expr5 asm/eval.c:567
    #8 0x450ae5 in expr4 asm/eval.c:542
    #9 0x45093b in expr3 asm/eval.c:508
    #10 0x4507fb in expr2 asm/eval.c:482
    #11 0x4506bb in expr1 asm/eval.c:456
    #12 0x45057b in expr0 asm/eval.c:430
    #13 0x451ee9 in expr6 asm/eval.c:857
    #14 0x450bd7 in expr5 asm/eval.c:567
    #15 0x450ae5 in expr4 asm/eval.c:542
..........................
SUMMARY: AddressSanitizer: stack-overflow asm/eval.c:564 expr5
==15317==ABORTING

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list