PT-2025-49021 · Linux+3 · Linux Kernel+3

Published

2025-07-08

·

Updated

2026-05-07

·

CVE-2025-40215

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw related to the handling of ipcomp fallback tunnels and xfrm states. Specifically, the issue arises when deleting xfrm states, where the fallback state might not be deleted promptly if references to the user state still exist. This can lead to warnings within the xfrm state fini function and incomplete fixes related to asynchronous destruction of xfrm states during network exit. The problem is similar to a previously addressed issue in TCP related to deferred freeing of skbs and can also occur due to IP reassembly, where skbs with a security path remain on the reassembly queue. The fix involves deleting the fallback state immediately after the last user state depending on it has been deleted, ensuring timely deletion when the final reference is dropped. A separate lockdep class is required due to locking x->tunnel while x is locked.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Weakness Enumeration

Related Identifiers

AZL-71281
BDU:2026-01296
CVE-2025-40215
ECHO-096A-9D9F-FF68
OESA-2026-1341
OESA-2026-1759
OESA-2026-1760
OESA-2026-1761
OPENSUSE-SU-2026:20145-1
SUSE-SU-2026:0263-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0293-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:0316-1
SUSE-SU-2026:0317-1
SUSE-SU-2026:0350-1
SUSE-SU-2026:0352-1
SUSE-SU-2026:0369-1
SUSE-SU-2026:0411-1
SUSE-SU-2026:0617-1
SUSE-SU-2026:20207-1
SUSE-SU-2026:20220-1
SUSE-SU-2026:20228-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8028-1
USN-8028-2
USN-8028-3
USN-8028-4
USN-8028-5
USN-8028-6
USN-8028-7
USN-8028-8
USN-8031-1
USN-8031-2
USN-8031-3
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8052-1
USN-8052-2
USN-8070-1
USN-8070-2
USN-8070-3
USN-8074-1
USN-8074-2
USN-8098-1
USN-8098-10
USN-8098-2
USN-8098-3
USN-8098-4
USN-8098-5
USN-8098-6
USN-8098-7
USN-8098-8
USN-8098-9
USN-8107-1
USN-8112-1
USN-8112-2
USN-8112-3
USN-8112-4
USN-8112-5
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8201-1
USN-8224-1
USN-8243-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu