Paper/Archive/CVE-2025-40176

CVE-2025-40176

Linux Linux — tls: wait for pending async decryptions if tls_strp_msg_hold fails

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 – < 9f83fd0c179e0f458e824e417f9d5ad53443f6859f83fd0c179e0f458e824e417f9d5ad53443f685CNA
Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 – < c61d4368197d65c4809d9271f3b85325a600586ac61d4368197d65c4809d9271f3b85325a600586aCNA
Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 – < 39dec4ea3daf77f684308576baf483b55ca7f16039dec4ea3daf77f684308576baf483b55ca7f160CNA
Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 – < 4fc109d0ab196bd943b7451276690fb6bb48c2e04fc109d0ab196bd943b7451276690fb6bb48c2e0CNA
Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 – < b8a6ff84abbcbbc445463de58704686011edc8e1b8a6ff84abbcbbc445463de58704686011edc8e1CNA
Linux6.06.1.158CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/9f83fd0c179e0f458e824e417f9d5ad53443f685refgit.kernel.org/stable/c/c61d4368197d65c4809d9271f3b85325a600586arefgit.kernel.org/stable/c/39dec4ea3daf77f684308576baf483b55ca7f160refgit.kernel.org/stable/c/4fc109d0ab196bd943b7451276690fb6bb48c2e0refgit.kernel.org/stable/c/b8a6ff84abbcbbc445463de58704686011edc8e1