Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40215

published high CVSS 3.1 · 7.8

xfrm: delete x->tunnel as we delete x

Published
04 Dec 2025, 12:38:32 UTC
Updated
05 Aug 2026, 12:08:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 1b28a7fae0128fa140a7dccd995182ff6cd1c67b · 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 4b2c17d0f9be8b58bb30468bc81a4b61c985b04e · 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 0da961fa46da1b37ef868d9b603bd202136f8f8e · 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < d0e0d1097118461463b76562c7ebaabaa5b90b13 · 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < dc3636912d41770466543623cb76e7b88fdb42c7 · 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < b441cf3f8c4b8576639d20c8eb4aa32917602ecd · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.29 (affected) · 0 to < 2.6.29 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.62 through 6.12.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-113 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1430 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1494 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-106.55.4.2.el10uek ELSA-2025-28066

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

100

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Triggering requires locally configuring an IPComp tunnel-mode SA via XFRM netlink and then tearing down the network namespace; a purely remote peer can pin the secpath reference but cannot create the SA or cause the netns teardown that frees the hash tables. AC:L - The attacker controls every element — SA creation, injecting the IPComp/fragmented packet that leaves an skb secpath reference outstanding, and the timing of namespace destruction — and the 30-second reassembly-queue window gives a large, reliable interval to groom the reclaimed kmalloc-64 bucket array and struct net. PR:L - XFRM state configuration is gated on netlink_net_capable(CAP_NET_ADMIN), which an unprivileged user obtains over their own namespace with `unshare -Urn`, and the ipcomp module autoloads via request_module() with no capability check. UI:N - The entire sequence — SA setup, packet injection, namespace exit — is performed by the attacker's own process with no action by any other user. S:U - The corrupted objects (xfrm hash tables, struct net, pernet data) and the vulnerable code are both kernel-resident, so impact stays within the kernel's security authority. C:H - The stale state is unlinked from already-freed memory, so its list/hlist traversal reads reclaimed slab contents and leaks kernel pointers into attacker-controllable objects, which is leverageable for arbitrary kernel memory disclosure. I:H - __xfrm_state_delete() performs list_del()/hlist_del_rcu() and net->xfrm.state_num-- on a freed struct net and a freed 64-byte bucket array, writing heap pointers at controlled offsets into reclaimed slab objects — a use-after-free write primitive usable for control-flow hijack. A:H - The bug immediately trips WARN_ON() in xfrm_state_fini() and xfrm6_tunnel_net_exit() (panic with panic_on_warn), and the subsequent use-after-free — including spin_lock() on freed memory — reliably produces oopses, lock corruption, or a full kernel panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 1b28a7fae0128fa140a7dccd995182ff6cd1c67b (affected · git)9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 4b2c17d0f9be8b58bb30468bc81a4b61c985b04e (affected · git)9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < 0da961fa46da1b37ef868d9b603bd202136f8f8e (affected · git)9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < d0e0d1097118461463b76562c7ebaabaa5b90b13 (affected · git)9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < dc3636912d41770466543623cb76e7b88fdb42c7 (affected · git)9d4139c76905833afcb77fe8ccc17f302a0eb9ab to < b441cf3f8c4b8576639d20c8eb4aa32917602ecd (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.29 (affected)0 to < 2.6.29 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.62 through 6.12.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

2

Linux · cna

xfrm: delete x->tunnel as we delete x

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
79425ab8cf795ee19433ebebe42651759ffe10e00f7037656104a5bed3910aec
Ingested
23 Sep 2026, 08:48:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected