PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31533 Linux CVE debrief

A use-after-free vulnerability was discovered in the Linux kernel's TLS encryption handling. The vulnerability occurs when the -EBUSY error path in tls_do_encryption() is triggered, leading to double cleanup of encrypt_pending and the scatterlist entry. This can cause a use-after-free when a cryptd callback is still pending, resulting in a potential system crash or code execution.

Vendor
Linux
Product
Unknown
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

System administrators and security teams responsible for Linux kernel-based systems, especially those using TLS encryption, should be aware of this vulnerability and take immediate action to patch affected systems.

Technical summary

The vulnerability is caused by a use-after-free in the -EBUSY error path of tls_do_encryption(). When crypto_aead_encrypt() returns -EBUSY, the request is enqueued to the cryptd backlog and the async callback tls_encrypt_done() will be invoked upon completion. However, if tls_encrypt_async_wait() returns an error, the synchronous error path in tls_do_encryption() performs the same cleanup again, double-decrementing encrypt_pending and double-restoring the scatterlist. This can lead to a use-after-free when a subsequent sendmsg frees the tls_rec via bpf_exec_tx_verdict() while a cryptd callback is still pending.

Defensive priority

High

Recommended defensive actions

  • Apply the official patches provided by the Linux kernel maintainers.
  • Ensure that all Linux kernel-based systems are running with the latest kernel version.
  • Monitor system logs for potential exploitation attempts.
  • Implement additional security controls, such as network segmentation and access controls, to limit the attack surface.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability was introduced by commit 859054147318 (net: tls: handle backlogging of crypto requests). The fix involves skipping the synchronous cleanup when the -EBUSY async wait returns an error.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31533 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31533

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31533 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31533

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/02f3ecadb23558bbe068e6504118f1b712d4ece0

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0e43e0a3c94044acc74b8e0927c27972eb5a59e8

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2694d408b0e595024e0fc1d64ff9db0358580f74

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/414fc5e5a5aff776c150f1b86770e0a25a35df3a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5d70eb25b41e9b010828cd12818b06a0c3b04412

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a9b8b18364fffce4c451e6f6fd218fa4ab646705

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/aa9facde6c5005205874c37db3fd25799d741baf

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.