CVE 7.5 HIGH

tls: Purge async_hold in tls_decrypt_async_wait()_CVE-2026-23414

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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

tls: Purge async_hold in tls_decrypt_async_wait()

The async_hold queue pins encrypted input skbs while
the AEAD engine references their scatterlist data. Once
tls_decrypt_async_wait() returns, every AEAD operation
has completed and the engine no longer references those
skbs, so they can be freed unconditionally.

A subsequent patch adds batch async decryption to
tls_sw_read_sock(), introducing a new call site that
must drain pending AEAD operations and release held
skbs. Move __skb_queue_purge(&ctx->async_hold) into
tls_decrypt_async_wait() so the purge is centralized
and every caller -- recvmsg's drain path, the -EBUSY
fallback in tls_do_decryption(), and the new read_sock
batch path -- releases held skbs on synchronization
without each site managing the purge independently.

This fixes a leak when tls_strp_msg_hold() fails part-way through,
after having added some cloned skbs to the async_hold
queue. tls_decrypt_sg() will then call tls_decrypt_async_wait() to
process all pending decrypts, and drop back to synchronous mode, but
tls_sw_recvmsg() only flushes the async_hold queue when one record has
been processed in "fully-async" mode, which may not be the case here.

[[email protected]: added leak comment]

Basic Information

ID CVE-2026-23414
Source Linux
Published Apr 2, 2026 at 11:40
Modified Apr 27, 2026 at 14:02

Affected Product

Vendor Linux
Product Linux
Version 9f83fd0c179e0f458e824e417f9d5ad53443f685
Affected Versions Linux Linux 9f83fd0c179e0f458e824e417f9d5ad53443f685
Linux Linux c61d4368197d65c4809d9271f3b85325a600586a
Linux Linux 39dec4ea3daf77f684308576baf483b55ca7f160
Linux Linux b8a6ff84abbcbbc445463de58704686011edc8e1
Linux Linux b8a6ff84abbcbbc445463de58704686011edc8e1
Linux Linux b8a6ff84abbcbbc445463de58704686011edc8e1
Linux Linux 4fc109d0ab196bd943b7451276690fb6bb48c2e0
Linux Linux 6.18

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.