Linux Kernel up to 6.6.108/6.12.49/6.16.9 SPI xfrm_alloc_spi state issue

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 6.6.108/6.12.49/6.16.9. Affected by this vulnerability is the function xfrm_alloc_spi of the component SPI Handler. Performing a manipulation results in state issue.
This vulnerability is cataloged as CVE-2025-39965. There is no exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 6.6.108/6.12.49/6.16.9. It has been classified as critical. This affects the function xfrm_alloc_spi of the component SPI Handler. The manipulation with an unknown input leads to a state issue vulnerability. CWE is classifying the issue as CWE-371. The impact remains unknown. The summary by CVE is:
In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_alloc_spi shouldn't use 0 as SPI x->id.spi == 0 means "no SPI assigned", but since commit 94f39804d891 ("xfrm: Duplicate SPI Handling"), we now create states and add them to the byspi list with this value. __xfrm_state_delete doesn't remove those states from the byspi list, since they shouldn't be there, and this shows up as a UAF the next time we go through the byspi list.
It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2025-39965 since 04/16/2025. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 02/27/2026).
The vulnerability scanner Nessus provides a plugin with the ID 271415 (Oracle Linux 10 / 9 : Unbreakable Enterprise kernel (ELSA-2025-20719)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.6.109, 6.12.50 or 6.16.10 eliminates this vulnerability. Applying the patch 0baf92d0b1590b903c1f4ead75e61715e50e8146/9fcedabaae0096f712bbb4ccca6a8538af1cd1c8/a78e55776522373c446f18d5002a8de4b09e6bf7/cd8ae32e4e4652db55bce6b9c79267d8946765a9 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (271415) and CERT Bund (WID-SEC-2025-2268). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Debian Linux
- Google Cloud Platform
- Amazon Linux 2
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- Open Source Linux Kernel
Product
Type
Vendor
Name
Version
- 6.6.108
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.12.24
- 6.12.25
- 6.12.26
- 6.12.27
- 6.12.28
- 6.12.29
- 6.12.30
- 6.12.31
- 6.12.32
- 6.12.33
- 6.12.34
- 6.12.35
- 6.12.36
- 6.12.37
- 6.12.38
- 6.12.39
- 6.12.40
- 6.12.41
- 6.12.42
- 6.12.43
- 6.12.44
- 6.12.45
- 6.12.46
- 6.12.47
- 6.12.48
- 6.12.49
- 6.16.0
- 6.16.1
- 6.16.2
- 6.16.3
- 6.16.4
- 6.16.5
- 6.16.6
- 6.16.7
- 6.16.8
- 6.16.9
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.4
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: State issueCWE: CWE-371
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 271415
Nessus Name: Oracle Linux 10 / 9 : Unbreakable Enterprise kernel (ELSA-2025-20719)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 6.6.109/6.12.50/6.16.10
Patch: 0baf92d0b1590b903c1f4ead75e61715e50e8146/9fcedabaae0096f712bbb4ccca6a8538af1cd1c8/a78e55776522373c446f18d5002a8de4b09e6bf7/cd8ae32e4e4652db55bce6b9c79267d8946765a9
Timeline
04/16/2025 CVE reserved10/13/2025 Advisory disclosed
10/13/2025 VulDB entry created
02/27/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2025-39965 (🔒)
GCVE (CVE): GCVE-0-2025-39965
GCVE (VulDB): GCVE-100-328119
CERT Bund: WID-SEC-2025-2268 - Linux Kernel: Mehrere Schwachstellen
Entry
Created: 10/13/2025 16:24Updated: 02/27/2026 02:04
Changes: 10/13/2025 16:24 (59), 10/15/2025 04:43 (7), 10/25/2025 13:33 (2), 11/21/2025 04:51 (1), 12/22/2025 04:02 (1), 02/03/2026 15:42 (11), 02/27/2026 02:04 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.