Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40215

7.8 · HIGH
Published Dec 4, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40215 is a high-severity vulnerability. It was published on December 4, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

xfrm: delete x->tunnel as we delete x

The ipcomp fallback tunnels currently get deleted (from the various

lists and hashtables) as the last user state that needed that fallback

is destroyed (not deleted). If a reference to that user state still

exists, the fallback state will remain on the hashtables/lists,

triggering the WARN in xfrm_state_fini. Because of those remaining

references, the fix in commit f75a2804da39 ("xfrm: destroy xfrm_state

synchronously on net exit path") is not complete.

We recently fixed one such situation in TCP due to defered freeing of

skbs (commit 9b6412e6979f ("tcp: drop secpath at the same time as we

currently drop dst")). This can also happen due to IP reassembly: skbs

with a secpath remain on the reassembly queue until netns

destruction. If we can't guarantee that the queues are flushed by the

time xfrm_state_fini runs, there may still be references to a (user)

xfrm_state, preventing the

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40215?

CVE-2025-40215 is a high-severity vulnerability. It was published on December 4, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40215?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40215?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40215?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40215 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.