PT-2025-41787

CVE-2025-39965

·

Published

2025-08-29

·

Updated

2026-10-19

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux Kernel (affected versions not specified)
Description The Linux kernel contains a flaw within the xfrm alloc spi() function in the net/xfrm/xfrm state.c module. Specifically, the function incorrectly handles Security Parameter Index (SPI) allocation, potentially leading to a use-after-free (UAF) condition. The issue arises because a commit introduced duplicate SPI handling, causing states to be added to the byspi list with a value of 0, which previously indicated no SPI was assigned. The xfrm state delete function does not remove these states from the byspi list, resulting in a UAF when the list is processed subsequently. This can lead to a denial-of-service condition.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
AZL-68457
CLSA-2025-1766599987
CLSA-2025-1766600619
CLSA-2025-1766617167
MGASA-2025-0309
MGASA-2025-0310
OPENSUSE-SU-2025:20091-1
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:21080-1
SUSE-SU-2025:21147-1
SUSE-SU-2025:21180-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4111-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4139-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4149-1
SUSE-SU-2025:4301-1
SUSE-SU-2025:4320-1
SUSE-SU-2026:20561-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8165-1
USN-8261-1
Found an issue in the description? Have something to add? Feel free to write us 👾