PyTorch segmentation fault in torch.ops.profiler._call_end_callbacks_on_jit_fut
A segmentation fault vulnerability was identified in PyTorch's profiler function torch.ops.profiler._call_end_callbacks_on_jit_fut when passed a tuple containing a None value. The issue affects PyTorch version 2.6.0 and was reported in a GitHub issue.
What happened
Passing a tuple with a None value to torch.ops.profiler._call_end_callbacks_on_jit_fut in PyTorch 2.6.0+cu124 causes a segmentation fault. The vulnerability is triggered by code such as torch.ops.profiler._call_end_callbacks_on_jit_fut(torch.tensor(0), None).
Classification
Sources and evidence
Sources not yet published
This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.