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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: State issue
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 271415
Nessus Name: Oracle Linux 10 / 9 : Unbreakable Enterprise kernel (ELSA-2025-20719)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 6.6.109/6.12.50/6.16.10
Patch: 0baf92d0b1590b903c1f4ead75e61715e50e8146/9fcedabaae0096f712bbb4ccca6a8538af1cd1c8/a78e55776522373c446f18d5002a8de4b09e6bf7/cd8ae32e4e4652db55bce6b9c79267d8946765a9

Timelineinfo

04/16/2025 CVE reserved
10/13/2025 +180 days Advisory disclosed
10/13/2025 +0 days VulDB entry created
02/27/2026 +137 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: 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

Entryinfo

Created: 10/13/2025 16:24
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!