Tenstorrent tt-metal: path traversal via the weight_map argument when loading transformer checkpoints
Impact
In tt-metal up to 0.80.0, load_hf_state_dict_filtered in models/tt_transformers/tt/load_checkpoints.py uses the weight_map entries from a checkpoint without constraining them to the checkpoint directory, so a crafted weight map can make the loader open files elsewhere on the filesystem. On a host driving Tenstorrent accelerators, the process doing model loading usually has access to the device and to whatever credentials the serving or training job holds, so a checkpoint pulled from an untrusted source gets a read path outside its own directory. The record describes path traversal with low confidentiality, integrity and availability impact and requires user interaction, which fits the case where an operator or job loads a supplied checkpoint. Nothing in the record claims code execution.
Who can reach it
Anyone who can get a crafted checkpoint, including its weight_map, in front of a tt-metal model load - a tenant submitting a model, or a job fetching one from a public hub. No authentication to the host is needed beyond whatever is required to supply the checkpoint.
What to do
Upgrade tt-metal to 0.81.0-dev20261016 or later, which contains commit 4851ccf347f6903c3d819eed60705600386e52c3, and restart the jobs or serving processes that use it. Until then, only load checkpoints from sources you control and validate weight_map paths before handing them to the loader.
References
Related entries
- GPU Display Driver: Physical memory accessCVE-2023-0194 · GPU Display DriverLow
- GPU Display Driver: Physical memory disclosureCVE-2023-0195 · GPU Display DriverLow
- Linux kernel amdgpu power management (SMU/powerplay) (drm/amdgpu/powerplay/psm): A memory or reference-count leakCVE-2022-50617 · Linux kernel amdgpu power management (SMU/powerplay) (drm/amdgpu/powerplay/psm)Unscored
- Linux kernel amdgpu kernel driver core (drm/amdgpu): A memory or reference-count leak in the amdgpu kernel driver coreCVE-2022-50718 · Linux kernel amdgpu kernel driver core (drm/amdgpu)Unscored
- Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu): A memory or reference-count leakCVE-2022-50760 · Linux kernel amdgpu firmware, ACPI and IP-block initialisation (drm/amdgpu)Unscored
- Linux kernel amdgpu power management (SMU/powerplay) (amdgpu/pm): An out-of-bounds access in the amdgpu powerCVE-2022-50781 · Linux kernel amdgpu power management (SMU/powerplay) (amdgpu/pm)Unscored
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.