Skip to content

Non Existent Buffer in Intermediate Tensor Leads to a Crash #3076

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

Open
hadi81 opened this issue Apr 1, 2025 · 0 comments
Open

Non Existent Buffer in Intermediate Tensor Leads to a Crash #3076

hadi81 opened this issue Apr 1, 2025 · 0 comments

Comments

@hadi81
Copy link

hadi81 commented Apr 1, 2025

If there is some non existent buffer index in intermediate tensor table, this will result in a crash. I have attached the backtrace, model file to replicate the crash and decompiled json file.

This is related to memory corruption and arbitrary code execution. There shoud be checks before consuming this model file. Other SDKs are able to handle this and successfully report the error instead of crashing.

non_existent_buffer_in_intermediate_tensor.zip

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