Use of Uninitialized Memory Detected in bytecode_builtins_list_generator by MemorySanitizer #50171
Labels
v8 engine
Issues and PRs related to the V8 dependency.
wrong repo
Issues that should be opened in another repository.
Version
v20.6.1 (I was trying to build the last version)
Platform
x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Memory Sanitizer found the issue with AFL++.
Download and configure AFL++. You can use this script:
Then download
node
. After running./configure
andpython3 configure
run the following script. You will observe it.How often does it reproduce? Is there a required condition?
It was not my primary intention to find that issue. I wanted to fuzz
node
for deeper bugs. But it does not allow us to even build it.What is the expected behavior? Why is that the expected behavior?
All memory passed to the
writev
function (or any other function) should be properly initialized before use. When thebytecode_builtins_list_generator
binary is executed, it should perform its operations without accessing uninitialized memory, ensuring consistent and predictable behavior.What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: