tls: wait for pending async decryptions if tls_strp_msg_hold fails
Published Nov 12, 2025
9.8
CRITICALCVSS 3.1
EPSS 0.43%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.0StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.0
- Version 6.1.158StatusunaffectedConstraints<=6.1.*
- Version 6.12.55StatusunaffectedConstraints<=6.12.*
- Version 6.17.5StatusunaffectedConstraints<=6.17.*
- Version 6.18StatusunaffectedConstraints<=*
- Version 6.6.114StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel-0:6.12.0-124.27.1.el10_1
Fixed · RHSA-2026:0453
Red Hat Enterprise Linux 10.0 Extended Update Support
kernel-0:6.12.0-55.54.1.el10_0
Fixed · RHSA-2026:0747
Red Hat Enterprise Linux 9
kernel-0:5.14.0-611.16.1.el9_7
Fixed · RHSA-2025:23241
Red Hat Enterprise Linux 9
kernel-0:5.14.0-611.16.1.el9_7
Fixed · RHSA-2025:23241
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-0:5.14.0-284.152.1.el9_2
Fixed · RHSA-2026:0535
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-rt-0:5.14.0-284.152.1.rt14.437.el9_2
Fixed · RHSA-2026:0534
Red Hat Enterprise Linux 9.4 Extended Update Support
kernel-0:5.14.0-427.106.1.el9_4
Fixed · RHSA-2026:0489
Red Hat Enterprise Linux 9.6 Extended Update Support
kernel-0:5.14.0-570.77.1.el9_6
Fixed · RHSA-2026:0457
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-124.27.1.el10_1 | Fixed | RHSA-2026:0453 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | kernel-0:6.12.0-55.54.1.el10_0 | Fixed | RHSA-2026:0747 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.16.1.el9_7 | Fixed | RHSA-2025:23241 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.16.1.el9_7 | Fixed | RHSA-2025:23241 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-0:5.14.0-284.152.1.el9_2 | Fixed | RHSA-2026:0535 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-rt-0:5.14.0-284.152.1.rt14.437.el9_2 | Fixed | RHSA-2026:0534 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | kernel-0:5.14.0-427.106.1.el9_4 | Fixed | RHSA-2026:0489 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | kernel-0:5.14.0-570.77.1.el9_6 | Fixed | RHSA-2026:0457 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (10)
- https://access.redhat.com/security/cve/CVE-2025-40176 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2414524 Issue Tracking
- https://git.kernel.org/stable/c/39dec4ea3daf77f684308576baf483b55ca7f160
- https://git.kernel.org/stable/c/4fc109d0ab196bd943b7451276690fb6bb48c2e0
- https://git.kernel.org/stable/c/9f83fd0c179e0f458e824e417f9d5ad53443f685
- https://git.kernel.org/stable/c/b8a6ff84abbcbbc445463de58704686011edc8e1
- https://git.kernel.org/stable/c/c61d4368197d65c4809d9271f3b85325a600586a
- https://lore.kernel.org/linux-cve-announce/2025111255-CVE-2025-40176-f2e3@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-40176
- https://www.cve.org/CVERecord?id=CVE-2025-40176
Change history (0)
No recorded changes yet.