This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tools/22865] [objdump] Arbitrary memory write in default_syscall_abi of eblopenbackend.c.


https://sourceware.org/bugzilla/show_bug.cgi?id=22865

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Could you give a bit more information on how you build and run eu-objdump?

I am unable to replicate your results with the given poc.
It simply works as intended:

$ eu-objdump -d ./b
./b: elf64-elf_x86_64

Disassembly of section .fini:

aaaaaaaa:    48 83 ec 08              sub     $0x8,%rsp
aaaaaaae:    48 83 c4 08              add     $0x8,%rsp
aaaaaab2:    c3                       retq

Also it is somewhat surprising it crashes for you inside default_syscall_abi ()
because that doesn't seem to be called. Which indicates the error is somewhere
else.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]