CVE-2025-39965
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
13/10/2025
Last modified:
03/02/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
xfrm: xfrm_alloc_spi shouldn&#39;t use 0 as SPI<br />
<br />
x->id.spi == 0 means "no SPI assigned", but since commit<br />
94f39804d891 ("xfrm: Duplicate SPI Handling"), we now create states<br />
and add them to the byspi list with this value.<br />
<br />
__xfrm_state_delete doesn&#39;t remove those states from the byspi list,<br />
since they shouldn&#39;t be there, and this shows up as a UAF the next<br />
time we go through the byspi list.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6.103 (including) | 6.6.109 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12.43 (including) | 6.12.50 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.15.11 (including) | 6.16 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16.2 (including) | 6.16.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



