You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==14486== Memcheck, a memory error detector
==14486== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14486== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14486== Command: ./iwasm XYZ/wasm-micro-runtime/core/iwasm/products/linux/debug/triage/0x555555563ec8/PoC.wasm
==14486==
==14486== Invalid read of size 8
==14486== at 0x117E37: wasm_interp_call_func_bytecode (wasm_interp.c:1226)
==14486== by 0x11C6FC: wasm_interp_call_wasm (wasm_interp.c:2158)
==14486== by 0x10D446: wasm_runtime_call_wasm (wasm_runtime.c:102)
==14486== by 0x10C841: wasm_application_execute_main (wasm_application.c:109)
==14486== by 0x10BAD7: app_instance_main (main.c:54)
==14486== by 0x10C0EA: main (main.c:217)
==14486== Address 0x18 is not stack'd, malloc'd or (recently) free'd
==14486==
==14486==
==14486== Process terminating with default action of signal 11 (SIGSEGV)
==14486== Access not within mapped region at address 0x18
==14486== at 0x117E37: wasm_interp_call_func_bytecode (wasm_interp.c:1226)
==14486== by 0x11C6FC: wasm_interp_call_wasm (wasm_interp.c:2158)
==14486== by 0x10D446: wasm_runtime_call_wasm (wasm_runtime.c:102)
==14486== by 0x10C841: wasm_application_execute_main (wasm_application.c:109)
==14486== by 0x10BAD7: app_instance_main (main.c:54)
==14486== by 0x10C0EA: main (main.c:217)
==14486== If you believe this happened as a result of a stack
==14486== overflow in your program's main thread (unlikely but
==14486== possible), you can try to increase the size of the
==14486== main thread stack using the --main-stacksize= flag.
==14486== The main thread stack size used in this run was 8388608.
==14486==
==14486== HEAP SUMMARY:
==14486== in use at exit: 0 bytes in 0 blocks
==14486== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==14486==
==14486== All heap blocks were freed -- no leaks are possible
==14486==
==14486== For counts of detected and suppressed errors, rerun with: -v
==14486== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[1] 14486 segmentation fault valgrind ./iwasm
The text was updated successfully, but these errors were encountered:
pventuzelo
changed the title
WASM_OP_I32_STORE16: wasm_interp_call_func_bytecode (wasm_interp.c:1226)
Heap out of bounds read - WASM_OP_I32_STORE16: wasm_interp_call_func_bytecode (wasm_interp.c:1226)
Jul 23, 2019
Environment
Vulnerability/issue
Heap out of bounds read in wasm_interp_call_func_bytecode (wasm_interp.c:1226)
case: WASM_OP_I32_STORE16
Steps to reproduce the behavior
Download:
PoC.zip
Run:
./iwasm PoC.wasm
Additional Informations
Crash
GDB
Valgrind
The text was updated successfully, but these errors were encountered: