BreachSpiderVerified, not vibes

CVE-2025-40215 in Class products

High 7.8

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 ex...

Affects 1 product from 5 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.2%
EPSS percentile9th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Class — —
Kernel — —
Last — —
Linux Linux 2.6.29
Timely — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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 timely deletion of the corresponding fallback state. Instead of chasing each instance of skbs holding a secpath one by one, this patch fixes the issue directly within xfrm, by deleting the fallback state as soon as the last user state depending on it has been deleted. Destruction will still happen when the final reference is dropped. A separate lockdep class for the fallback state is required since we're going to lock x->tunnel while x is locked.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40215
BreachSpider IDBS-2025-GLOBAL-258961-I
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-12-04
Last modified2026-10-19
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the Linux kernel's xfrm module could lead to WARN messages being triggered due to improperly managed fallback tunnels in the ipcomp component.

The issue arises when fallback tunnels are not properly deleted from lists and hashtables when the last user state is destroyed, potentially leaving references to these tunnels if other states still exist.

Questions

What is CVE-2025-40215?

A vulnerability in the Linux kernel's xfrm module could lead to WARN messages being triggered due to improperly managed fallback tunnels in the ipcomp component.

What is the CVSS score for CVE-2025-40215?

CVE-2025-40215 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-40215 actively exploited?

No confirmed active exploitation of CVE-2025-40215 as of 2026-10-25.

How do I remediate CVE-2025-40215?

Priority: MEDIUM.

What systems are affected by CVE-2025-40215?

CVE-2025-40215 affects Class; Kernel; Last; Linux Linux; Timely.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Class","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.