Fix CVE-2025-3730 for PyTorch 2.5.1 (rhbz#2360874)

Signed-off-by: Alexander F. Lent <lx@xanderlent.com>
This commit is contained in:
Alexander F. Lent 2025-12-25 00:53:04 -05:00
commit e9ec2c022e
2 changed files with 100 additions and 0 deletions

View file

@ -103,6 +103,10 @@ Patch101: 0001-cuda-hip-signatures.patch
# https://github.com/pytorch/pytorch/issues/145608
Patch102: 0001-torch-paper-over-c-assert.patch
# Fix CVE-2025-3730
# source: https://github.com/pytorch/pytorch/commit/01f226bfb8f2c343f5c614a6bbf685d91160f3af
Patch201: 01f226bfb8f2c343f5c614a6bbf685d91160f3af.patch
ExclusiveArch: x86_64 aarch64
%global toolchain gcc
%global _lto_cflags %nil