Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV by invalid memory access in mjs.c:11477 #297

Open
LowryLan opened this issue Oct 29, 2024 · 0 comments
Open

SIGSEGV by invalid memory access in mjs.c:11477 #297

LowryLan opened this issue Oct 29, 2024 · 0 comments

Comments

@LowryLan
Copy link

Invalid memory access in mjs.c: 114877

Environment

Ubuntu20.04

Steps to reproduce

  1. version
    9eae0e6
  2. compile mjs with ASAN
gcc -DMJS_MAIN mjs.c -fsanitize=address -ldl -g -o mjs-bin
  1. command for reproducing the error
./mjs-bin -f poc

Download poc:
invalid-memory-access-mjs11477.zip

ASAN report

AddressSanitizer:DEADLYSIGNAL
=================================================================
==246910==ERROR: AddressSanitizer: SEGV on unknown address 0xffffffffffffff8d (pc 0x5555554860ef bp 0x00000000001d sp 0x7fffffffd268 T0)
==246910==The signal is caused by a WRITE memory access.
    #0 0x5555554860ef  (/home/lowry/Documents/HTFuzz/program/mjs/code/mjs-bin+0x860ef)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/home/lowry/Documents/HTFuzz/program/mjs/code/mjs-bin+0x860ef) 
==246910==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant