Skip to main content

Linux Kernel CVE-2025-40176

CRITICAL
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send TLS records to kTLS socket
  2. Delivery
    Induce host memory pressure
  3. Exploit
    skb clone allocation fails in tls_strp_msg_hold
  4. Execution
    Async decrypt hits freed/returned buffer
  5. Persist
    Use-after-free or userspace write
  6. Impact
    Memory disclosure or host crash

Vulnerability Assessment

Exploitation Conditions

Requires the target to be running an application that uses kernel TLS (kTLS ULP) with asynchronous record decryption enabled - this is NOT a default kernel/socket configuration and must be explicitly opted into by the application or crypto offload setup. The bug additionally requires the tls_strp_msg_hold() skb-clone (an atomic GFP allocation) to FAIL, which realistically only occurs under memory pressure and is not directly attacker-controlled. Limiting factors: no exploitation is possible on kernels or workloads that do not use kTLS async decrypt; the allocation-failure dependence means the condition is a race/opportunistic window rather than a deterministic trigger, so the AC:L in the supplied CVSS vector understates the true difficulty. No authentication is inherently required to send the TLS traffic, but successful memory corruption depends on precise timing.

Impact

The signals conflict sharply. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H = 9.8) treats this as a trivial remote-unauthenticated RCE-class flaw, but the description makes clear that exploitation depends on (a) the target application actually enabling kTLS with async decryption - not a default configuration - and (b) an atomic skb-clone allocation failing, which normally only happens under memory pressure and is not directly attacker-controlled. That makes real attack complexity high, so the AC:L in the input is almost certainly overstated; a more honest base score is in the ~8 range and real-world exploitability is considerably lower. Corroborating this, EPSS is only 0.03% (10th percentile), there is no CISA KEV listing, and no public exploit code has been identified. SSVC-style reading: exploitation = none observed, automatable = no (relies on a race plus allocation failure), technical impact = total (memory corruption). Net: a legitimate memory-safety bug worth patching in normal kernel hygiene, but not an emergency for most fleets - the headline 9.8 overstates practical risk.

Exploit ScenarioDerived

An attacker sends a stream of TLS records to a service that terminates TLS in-kernel with async decryption while simultaneously driving the host toward memory exhaustion; when the atomic skb-clone allocation for tls_strp_msg_hold fails at just the right moment, the async decrypt completes against freed or already-returned buffers, corrupting kernel memory or writing plaintext into a userspace region no longer owned by the receiver. Successful exploitation could crash the host (DoS) or, in a best case for the attacker, leak or overwrite memory. No public proof-of-concept has been identified, and the reliance on a race plus allocation failure makes weaponization difficult.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Memory-safety fault in the Linux kernel's kTLS (kernel TLS) receive path allows use-after-free on socket buffers and stray writes into userspace memory after recv() has returned when async record decryption is used and an atomic skb clone allocation fails. Affected systems are those whose applications enable in-kernel TLS with asynchronous decryption; an attacker able to induce memory pressure while TLS records are inflight can corrupt kernel/user memory or leak data. Tagged as Information Disclosure, EPSS is negligible (0.03%), no public exploit is identified, and the issue is fixed upstream and shipped by distributions (Ubuntu USN-8125-1/USN-8126-1).

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: tls: wait for pending async decryptions if tls_strp_msg_hold fails Async decryption calls tls_strp_msg_hold to create a clone of.

RemediationAI

Upstream fix available (multiple stable commits); update to the patched kernel build for your branch as the primary remediation - Ubuntu users should apply the kernels in USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and reboot, and other distributions should pull the corresponding backport of git.kernel.org commits 39dec4ea3daf/4fc109d0ab19/9f83fd0c179e/b8a6ff84abbc/c61d4368197d. Because no isolated fix version tag is provided in the input, cite your distribution's exact patched package rather than an upstream version number. If immediate patching is not possible, the practical compensating control is to avoid kernel-TLS async decryption for exposed services - disable kTLS offload in the affected application (fall back to userspace TLS in the library, e.g. OpenSSL without KTLS) so the vulnerable async-hold path is never exercised; the trade-off is loss of the kTLS performance/zero-copy benefit. Reducing memory pressure and OOM conditions on TLS-terminating hosts lowers the chance of the triggering allocation failure but is a mitigation, not a fix.

Affected ProductsAI

The affected product is the mainline and stable Linux kernel's TLS subsystem (kTLS). Exact vulnerable version ranges are not enumerated in the provided data; the fix is distributed across multiple stable-tree commits (git.kernel.org commits 39dec4ea3daf, 4fc109d0ab19, 9f83fd0c179e, b8a6ff84abbc, and c61d4368197d), indicating backports to several supported stable branches. No CPE strings were provided in the input, so precise per-version applicability should be confirmed against each branch. Distribution-level exposure is confirmed for Ubuntu, which addressed it in advisories USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1). Only kernels built with TLS ULP support and workloads that actually use kernel TLS with async decryption are exposed in practice.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the kernel's TLS ULP (upstream tls subsystem), specifically the async decrypt path. When a socket uses kTLS with asynchronous crypto offload, tls_strp_msg_hold() clones the input skb to hold references to the buffers backing an in-flight decryption request so they survive until the async operation completes. That clone is an atomic-context allocation and can fail under memory pressure. Before the fix the code proceeded with async decryption anyway, so the referenced skb could be freed and reused (use-after-free), and the decrypt completion could write plaintext into a userspace buffer whose recv() call had already returned. The root cause is an unchecked/mishandled allocation-failure path leading to a lifetime/ownership bug - effectively CWE-416 (Use After Free) combined with CWE-787 (out-of-bounds/stale write); NVD lists CWE as N/A. The fix instead waits for all pending async decryptions to drain when the hold clone cannot be allocated.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Triggering data arrives over the network (AV:N) but success needs kTLS async config plus an atomic allocation failure race, forcing AC:H; UAF/stray-write gives full C/I/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.3 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 30, 2026 - 06:52 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
9.8 (CRITICAL)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

tls: wait for pending async decryptions if tls_strp_msg_hold fails

Async decryption calls tls_strp_msg_hold to create a clone of the input skb to hold references to the memory it uses. If we fail to allocate that clone, proceeding with async decryption can lead to various issues (UAF on the skb, writing into userspace memory after the recv() call has returned).

In this case, wait for all pending decryption requests.

Executive ViewAI

Why It Matters

A critical memory-safety vulnerability in Linux kernel TLS can allow attackers to corrupt system memory or leak encrypted data on systems using asynchronous record decryption. This directly threatens the confidentiality and integrity of encrypted communications and system stability for any organization relying on in-kernel TLS. Patches are available and must be deployed immediately.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere, though kTLS async path is a narrower subset
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.82 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.55 Affected

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2025:23241 ADVISORY https://access.redhat.com/errata/RHSA-2026:0453 ADVISORY https://access.redhat.com/errata/RHSA-2026:0457 ADVISORY https://access.redhat.com/errata/RHSA-2026:0489 ADVISORY https://access.redhat.com/errata/RHSA-2026:0534 ADVISORY https://access.redhat.com/errata/RHSA-2026:0535 ADVISORY https://access.redhat.com/errata/RHSA-2026:0747 ADVISORY https://ubuntu.com/security/notices/USN-8125-1 ADVISORY https://ubuntu.com/security/notices/USN-8126-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20012/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20021/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20562/ REF https://git.kernel.org/stable/c/39dec4ea3daf77f684308576baf483b55ca7f160 REF https://git.kernel.org/stable/c/4fc109d0ab196bd943b7451276690fb6bb48c2e0 REF https://git.kernel.org/stable/c/9f83fd0c179e0f458e824e417f9d5ad53443f685 REF https://git.kernel.org/stable/c/b8a6ff84abbcbbc445463de58704686011edc8e1 REF https://git.kernel.org/stable/c/c61d4368197d65c4809d9271f3b85325a600586a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy