7.5high
tls: Purge async_hold in tls_decrypt_async_wait()
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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. [pabeni@redhat.com: added leak comment]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9f83fd0c179e0f458e824e417f9d5ad53443f685 before ac435be7c7613eb13a5a8ceb5182e10b50c9ce87, from c61d4368197d65c4809d9271f3b85325a600586a before 2dcf324855c34e7f934ce978aa19b645a8f3ee71, from 39dec4ea3daf77f684308576baf483b55ca7f160 before 6dc11e0bd0a5466bcc76d275c09e5537bd0597dd, from b8a6ff84abbcbbc445463de58704686011edc8e1 before 9f557c7eae127b44d2e863917dc986a4b6cb1269, from b8a6ff84abbcbbc445463de58704686011edc8e1 before fd8037e1f18ca5336934d0e0e7e1a4fe097e749d, from b8a6ff84abbcbbc445463de58704686011edc8e1 before 84a8335d8300576f1b377ae24abca1d9f197807f, 4fc109d0ab196bd943b7451276690fb6bb48c2e0, from 6.1.158 before 6.1.168 and 4 more Not affected: before 6.18, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.* | CVE List |
| linux linux_kernel | from 6.1.158 before 6.1.168, from 6.6.114 before 6.6.131, from 6.12.55 before 6.12.80, from 6.17.5 before 6.18, from 6.18.1 before 6.18.21, from 6.19 before 6.19.11, 6.18, 7.0 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23414 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-23414 changed 2026-11-10 | Public domain |