tls: wait for pending async decryptions if tls_strp_msg_hold fails (Linux Linux)

CVE-2025-40176
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.49 % · percentile 42 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 84c61fe1a75b4255df1e1e7c054c9e6d048da417 < 9f83fd0c179e0f458e824e417f9d5ad53443f685 ; affected 84c61fe1a75b4255df1e1e7c054c9e6d048da417 < c61d4368197d65c4809d9271f3b85325a600586a ; affected 84c61fe1a75b4255df1e1e7c054c9e6d048da417 < 39dec4ea3daf77f684308576baf483b55ca7f160 ; affected 84c61fe1a75b4255df1e1e7c054c9e6d048da417 < 4fc109d0ab196bd943b7451276690fb6bb48c2e0 ; affected 84c61fe1a75b4255df1e1e7c054c9e6d048da417 < b8a6ff84abbcbbc445463de58704686011edc8e1
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.158 ≤ 6.1.* ; unaffected 6.6.114 ≤ 6.6.* ; unaffected 6.12.55 ≤ 6.12.* ; unaffected 6.17.5 ≤ 6.17.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD