In the Linux kernel, the following vulnerability has been resolved: tls: rx: restore msg_iter before TLS 1.3 optimistic retry tls_decrypt_sg()… (CVE-2026-74611)
A vulnerability in the Linux kernel's TLS implementation was resolved involving improper handling of the msg_iter iterator during TLS 1.3 optimistic zero-copy decryption retries. The flaw could cause decrypted bytes to be written beyond the intended buffer length during recvmsg() calls when TLS_RX_EXPECT_NO_PAD is enabled. This issue was fixed by restoring the iterator position before retrying decryption without zero-copy and adding a self-test to verify correct behavior.
AI Analysis
Technical Summary
The Linux kernel's tls_decrypt_sg() function advances the msg_iter iterator when mapping user pages for the optimistic TLS 1.3 zero-copy path. If the decrypted record is not unpadded application data, tls_decrypt_sw() retries decryption into a kernel skb but leaves the iterator advanced. This leads to a subsequent copy operation overwriting decrypted bytes beyond the returned length in the caller's iovecs during recvmsg(). A TLS peer can trigger this behavior after the receiver enables TLS_RX_EXPECT_NO_PAD. The fix reverts the iterator by the number of bytes consumed before retrying without zero-copy and includes a self-test to ensure recvmsg() does not overwrite beyond the returned length.
Potential Impact
A TLS peer can trigger the vulnerability to cause recvmsg() to overwrite decrypted data beyond the expected buffer length, potentially leading to memory corruption or data integrity issues in the receiving process. No known exploits in the wild have been reported. The impact is limited to scenarios where TLS_RX_EXPECT_NO_PAD is enabled and the TLS 1.3 optimistic zero-copy path is used.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to restore the msg_iter iterator before retrying decryption without zero-copy, preventing overwrites beyond the returned length. Users should apply the official kernel update containing this fix. Since this is a kernel-level vulnerability, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed here; check the vendor or kernel mailing list advisories for the exact fixed versions and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: tls: rx: restore msg_iter before TLS 1.3 optimistic retry tls_decrypt_sg()… (CVE-2026-74611)
Description
A vulnerability in the Linux kernel's TLS implementation was resolved involving improper handling of the msg_iter iterator during TLS 1.3 optimistic zero-copy decryption retries. The flaw could cause decrypted bytes to be written beyond the intended buffer length during recvmsg() calls when TLS_RX_EXPECT_NO_PAD is enabled. This issue was fixed by restoring the iterator position before retrying decryption without zero-copy and adding a self-test to verify correct behavior.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's tls_decrypt_sg() function advances the msg_iter iterator when mapping user pages for the optimistic TLS 1.3 zero-copy path. If the decrypted record is not unpadded application data, tls_decrypt_sw() retries decryption into a kernel skb but leaves the iterator advanced. This leads to a subsequent copy operation overwriting decrypted bytes beyond the returned length in the caller's iovecs during recvmsg(). A TLS peer can trigger this behavior after the receiver enables TLS_RX_EXPECT_NO_PAD. The fix reverts the iterator by the number of bytes consumed before retrying without zero-copy and includes a self-test to ensure recvmsg() does not overwrite beyond the returned length.
Potential Impact
A TLS peer can trigger the vulnerability to cause recvmsg() to overwrite decrypted data beyond the expected buffer length, potentially leading to memory corruption or data integrity issues in the receiving process. No known exploits in the wild have been reported. The impact is limited to scenarios where TLS_RX_EXPECT_NO_PAD is enabled and the TLS 1.3 optimistic zero-copy path is used.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to restore the msg_iter iterator before retrying decryption without zero-copy, preventing overwrites beyond the returned length. Users should apply the official kernel update containing this fix. Since this is a kernel-level vulnerability, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed here; check the vendor or kernel mailing list advisories for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g4xp-j3j4-vmrq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74611"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f3acd9273b499bc886
Added to database: 08/22/2026, 22:51:31 UTC
Last enriched: 08/22/2026, 23:26:01 UTC
Last updated: 08/22/2026, 23:52:05 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.