Skip to main content
Mallory
HighVulnerability

CVE-2025-21858: Use-after-free in Linux kernel Geneve geneve_find_dev()

Published Mar 12, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.32%18th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-21858CWE-416 · Use After Free

CVE-2025-21858 is a use-after-free vulnerability in the Linux kernel's Geneve networking implementation. During configuration, geneve_configure() links a Geneve device into the device list associated with its backend UDP socket's network namespace. This namespace can differ from the device's own namespace when IFLA_NET_NS_PID, IFLA_NET_NS_FD, or IFLA_TARGET_NETNSID is used. Teardown of the device's namespace unregisters and frees the device without removing its entry from the backend namespace's Geneve list. Creating another Geneve device in the surviving namespace can subsequently dereference the stale entry in geneve_find_dev(), accessing freed kernel memory.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The demonstrated fault is an invalid two-byte read from freed kernel slab memory, potentially causing a kernel crash and system-wide denial of service. CVSS assessments rate potential confidentiality, integrity, and availability impacts as high, but arbitrary code execution, privilege escalation, and attacker-controlled information disclosure have not been established by the documented diagnostic.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific temporary workaround is documented. Pending patching, restrict untrusted local access and network-administration privileges that permit Geneve device configuration and network namespace manipulation. For affected Siemens systems, restrict interactive shell access to trusted personnel and run applications only from trusted sources. These controls reduce exposure but do not correct the stale device-list linkage.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the fix that changes geneve_destroy_tunnels() to call geneve_dellink(), ensuring that devices are removed from the Geneve list during teardown. Identified fixed packages include Echo Linux linux 6.1.133-1 or later, RHEL 8.10 kernel 4.18.0-553.132.1.el8_10, and RHEL 8.10 kernel-rt 4.18.0-553.132.1.rt7.473.el8_10. Other distributions and embedded products require their applicable vendor updates; these package versions are not universal upstream version thresholds. Reboot into the updated kernel for the fix to take effect. No fixed Siemens SIMATIC S7-1500 TM MFP product release is identified.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-21858 exploited in the wild?
As of Oct 26, 2026, Mallory has no reports of CVE-2025-21858 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-21858?
As of Oct 26, 2026, Mallory has found no public exploit for CVE-2025-21858.
Is there a patch for CVE-2025-21858?
Install a vendor-supported kernel update containing the fix that changes geneve_destroy_tunnels() to call geneve_dellink(), ensuring that devices are removed from the Geneve list during teardown. Identified fixed packages include Echo Linux linux 6.1.133-1 or later, RHEL 8.10 kernel 4.18.0-553.132.1.el8_10, and RHEL 8.10 kernel-rt 4.18.0-553.132.1.rt7.473.el8_10.
What products are affected by CVE-2025-21858?
Linux Kernel.
How severe is CVE-2025-21858?
CVE-2025-21858 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Oct 26, 2026.
Activity feed

Recent activity

19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Oct 3, 2026Google: sys-kernel/lakitu-kernel-6_1, sys-kernel/lakitu-kernel... | Tenable®A use-after-free vulnerability in the Linux kernel's Geneve networking implementation. When a Geneve device and its backend UDP socket belong to different network namespaces, device teardown can leave a stale entry in the backend namespace's device list. Creating another Geneve device can then access freed memory. The reference assigns CVSS v3 severity 7.8 (High), with a local attack vector and low privileges required. The fix calls geneve_dellink() during tunnel destruction to remove the stale list entry.Read more ↗tenable cloud security pluginsNews · Oct 2, 2026Echo: linux: security update to 6.1.133-1 | Tenable®A use-after-free vulnerability in the Linux kernel's Geneve networking implementation. When a Geneve device's network namespace is dismantled, the freed device can remain linked to the backend UDP socket namespace. Creating another Geneve device in that namespace can then access freed memory. The reference assigns CVSS v3 severity High (7.8), with a local attack vector and low privileges required. The fix calls geneve_dellink() during tunnel destruction; the prescribed remediation is to update Echo linux packages to version 6.1.133-1 or later.Read more ↗tenable nessus pluginsNews · Oct 1, 2026Rocky Linux 8 [CIQ] Security Update: bpftool / kernel / kernel... | Tenable®A Linux kernel Geneve networking use-after-free vulnerability in geneve_find_dev().Read more ↗tenable cloud security pluginsNews · Oct 1, 2026Google: sys-kernel/lakitu-kernel-6_1: security update to 18244... | Tenable®A Linux-kernel Geneve networking use-after-free vulnerability in geneve_find_dev() that can lead to high-impact local compromise conditions. The affected Google COS sys-kernel/lakitu-kernel-6_1 package is remediated in version 18244.291.73 or later.Read more ↗
+10 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.