CVE-2025-40176

tls: wait for pending async decryptions if tls_strp_msg_hold fails

State
Published
Severity
9.8 Critical
Published
Nov 12, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to before 9f83fd0c179e0f458e824e417f9d5ad53443f685Affected
  • 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to before c61d4368197d65c4809d9271f3b85325a600586aAffected
  • 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to before 39dec4ea3daf77f684308576baf483b55ca7f160Affected
  • 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to before 4fc109d0ab196bd943b7451276690fb6bb48c2e0Affected
  • 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to before b8a6ff84abbcbbc445463de58704686011edc8e1Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.158 through 6.1.*Not affected
  • 6.6.114 through 6.6.*Not affected
  • 6.12.55 through 6.12.*Not affected
  • 6.17.5 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.