Skip to main content
Mallory
CriticalVulnerability

CVE-2025-40176: Use-after-free in Linux kernel TLS asynchronous decryption

Published Nov 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.
CVSS9.8Critical · v3.1
EPSS0.89%57th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-40176CWE-416

CVE-2025-40176 is a memory-lifetime vulnerability in the Linux kernel TLS asynchronous decryption implementation. The tls_strp_msg_hold function clones the input socket buffer (skb) to retain references to memory used by decryption. If clone allocation fails, asynchronous decryption can continue without those references, resulting in use-after-free of the skb or writes into userspace memory after recv() has returned. The fix waits for all pending decryption requests when tls_strp_msg_hold fails.

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 vulnerability can cause socket-buffer use-after-free and delayed writes into userspace buffers after the receiving call has completed, potentially resulting in memory corruption, crashes, denial of service, or application data corruption. Reliable arbitrary code execution, privilege escalation, and information disclosure are not established by the available vulnerability-specific details.

Mitigation

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

No vulnerability-specific workaround is documented. Until patching, restrict untrusted local access and reduce exposure of services using the affected kernel TLS functionality where feasible; these measures are defense in depth, not substitutes for the kernel fix.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the fix that waits for all pending asynchronous decryptions when tls_strp_msg_hold fails, then reboot into the updated kernel. Fixed builds include RHEL 9.4 kernel 5.14.0-427.106.1.el9_4, RHEL 9.6 kernel 5.14.0-570.77.1.el9_6, RHEL 10.0 kernel 6.12.0-55.54.1.el10_0, SLES 15 SP6 kernel-default 6.4.0-150600.23.81.3, and SLES 15 SP7 kernel-default 6.4.0-150700.53.25.1. Use the corresponding fixed package or a later supported update for the exact distribution, kernel flavor, and support stream.

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-40176 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2025-40176 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-40176?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-40176.
Is there a patch for CVE-2025-40176?
Install a vendor-supported kernel update containing the fix that waits for all pending asynchronous decryptions when tls_strp_msg_hold fails, then reboot into the updated kernel. Fixed builds include RHEL 9.4 kernel 5.14.0-427.106.1.el9_4, RHEL 9.6 kernel 5.14.0-570.77.1.el9_6, RHEL 10.0 kernel 6.12.0-55.54.1.el10_0, SLES 15 SP6 kernel-default 6.4.0-150600.23.81.3, and SLES 15 SP7 kernel-default 6.4.0-150700.53.25.1.
What products are affected by CVE-2025-40176?
Linux Kernel.
How severe is CVE-2025-40176?
CVE-2025-40176 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.89% (57th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

28 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/csql-kernel-6_1, sys-kernel/tpusev-kernel-6... | Tenable®A Linux kernel TLS asynchronous-decryption vulnerability arising when tls_strp_msg_hold fails to allocate a clone of the input socket buffer. Continuing asynchronous decryption can cause use-after-free and writes into userspace memory after recv() returns. The fix waits for pending decryption requests when allocation fails. The plugin reports a CVSS v3 base score of 9.8, while vendor severity is LOW.Read more ↗tenable cloud security pluginsNews · Oct 3, 2026Google: sys-kernel/csql-kernel-6_12, sys-kernel/csql-kernel-6_... | Tenable®A Linux kernel TLS vulnerability involving asynchronous decryption when tls_strp_msg_hold fails to allocate a clone of the input socket buffer. Continuing decryption can cause use-after-free or writes to userspace memory after recv() returns. The fix waits for pending decryption requests on allocation failure. The advisory assigns a CVSS v3 base score of 9.8, although vendor severity is LOW, and recommends updating sys-kernel/csql-kernel-6_12 and related packages to version 19216.104.3 or later.Read more ↗redhat accessNews · Jan 19, 2026RHSA-2026:0747 - Security Advisory - Red Hat Customer PortalLinux kernel TLS handling flaw addressed by waiting for pending asynchronous decryptions when tls_strp_msg_hold fails.Read more ↗redhat accessNews · Jan 14, 2026RHSA-2026:0534 - Security Advisory - Red Hat Customer PortalA Linux kernel TLS vulnerability related to pending asynchronous decryptions when tls_strp_msg_hold fails.Read more ↗
+5 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 activity3Community discussion across Reddit, Mastodon, and other social sources.