Skip to main content

Linux Kernel CVE-2026-31533

| EUVDEUVD-2026-25249 CRITICAL
Use After Free (CWE-416)
2026-04-23 Linux GHSA-r7wv-m72q-8qj8
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Local access to kTLS host
  2. Delivery
    Open TLS socket, flood sendmsg
  3. Exploit
    Force crypto -EBUSY plus wait error
  4. Install
    Double cleanup corrupts encrypt_pending
  5. C2
    Free tls_rec with callback pending
  6. Execute
    Callback fires on freed record
  7. Impact
    Kernel memory corruption / privesc

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to actually be using kernel TLS (kTLS): the attacker must hold a kTLS-enabled socket (TLS_TX/TLS_RX configured via setsockopt on an AF_INET/AF_INET6 TCP socket) and generate encryption traffic. The specific trigger is crypto_aead_encrypt() returning -EBUSY, meaning the crypto/cryptd backlog must be under pressure, and tls_encrypt_async_wait() must then return an error so the synchronous cleanup runs a second time - a race against the async tls_encrypt_done() callback. Limiting factors: kTLS must be compiled in and in use (not the default on most endpoints), the attacker needs local ability to create sockets and sustain crypto backlog, and success depends on winning a timing-sensitive race rather than a single deterministic request, which substantially lowers realistic exploitability despite the 9.8 CVSS.

Impact

The signals conflict sharply. The NVD CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.8) overstates real-world risk: it is auto-generated for kernel CVEs and treats any kernel memory-corruption bug as network/critical, but the described trigger is a local kTLS sendmsg workload that must push the crypto layer into the -EBUSY backlog state and then lose a cleanup race - a probabilistic, timing-dependent condition, not a deterministic remote exploit. EPSS agrees at just 0.01% (3rd percentile). It is not on CISA KEV, so exploitation status is 'no public exploit identified at time of analysis.' Realistically this is a meaningful bug for a determined local attacker on a system actively using kTLS (uncommon on most endpoints) but a low priority for the typical fleet; verify with vendor because CVSS AV:N contradicts the local, race-dependent nature implied by the description. Broadly available vendor fixes make patching the pragmatic response despite the low likelihood.

Exploit ScenarioDerived

A local user on a host running services that use kernel TLS opens a kTLS socket and drives a heavy sendmsg workload to push the kernel crypto layer into the -EBUSY backlog state, then times a follow-up sendmsg to free the tls_rec while an async cryptd callback is still pending. When the callback fires on the freed record, the resulting use-after-free corrupts kernel memory, enabling a crash (DoS) or, with heap grooming, potential local privilege escalation. No public proof-of-concept has been identified at time of analysis.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Use-after-free in the Linux kernel's kernel TLS (net/tls) data path lets a local attacker corrupt kernel memory by racing the -EBUSY crypto-backlog error path of tls_do_encryption(). When crypto_aead_encrypt() returns -EBUSY, both the async tls_encrypt_done() callback and the synchronous error path clean up encrypt_pending and the scatterlist, double-decrementing a sentinel so a later sendmsg frees an in-flight tls_rec while a cryptd callback is still pending. Despite an NVD CVSS of 9.8, EPSS is 0.01% and there is no public exploit identified at time of analysis, reflecting the narrow race conditions required.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, or 7.0 as appropriate to your branch, or apply your distribution's update (Ubuntu USN-8277-1/8278-1/8279-1/8280-1; Siemens SSA-019113 / SSA-082556). The upstream fix skips the synchronous cleanup when the -EBUSY async wait returns an error and is available as stable commits (e.g. https://git.kernel.org/stable/c/414fc5e5a5aff776c150f1b86770e0a25a35df3a). If immediate patching is not possible and kTLS is not required, a targeted compensating control is to disable kernel TLS offload so the vulnerable net/tls path is never exercised - for example unload and blacklist the tls module (rmmod tls, then add it to the modprobe blacklist) and stop applications from using TLS_TX/TLS_RX ktls setsockopt; the trade-off is loss of in-kernel TLS acceleration, forcing affected services back to userspace TLS. Restricting untrusted local users on kTLS-using hosts also reduces the race window.

Affected VersionsENISA

Linux 8590541473188741055d27b955db0777569438e3 <5d70eb25b41e9b010828cd12818b06a0c3b04412
Linux patch: 6.19.13
Linux patch: 6.1.169
Linux 13eca403876bbea3716e82cdfe6f1e6febb38754 <0e43e0a3c94044acc74b8e0927c27972eb5a59e8
Linux ab6397f072e5097f267abf5cb08a8004e6b17694
Linux 3ade391adc584f17b5570fd205de3ad029090368 <414fc5e5a5aff776c150f1b86770e0a25a35df3a
Linux cd1bbca03f3c1d845ce274c0d0a66de8e5929f72 <02f3ecadb23558bbe068e6504118f1b712d4ece0
Linux patch: 6.6.135
Linux patch: 0
Linux 8590541473188741055d27b955db0777569438e3 <2694d408b0e595024e0fc1d64ff9db0358580f74
Linux patch: 7.0
Linux 8590541473188741055d27b955db0777569438e3 <a9b8b18364fffce4c451e6f6fd218fa4ab646705
Linux 8590541473188741055d27b955db0777569438e3 <aa9facde6c5005205874c37db3fd25799d741baf
Linux patch: 6.18.23
Linux 6.8
Linux patch: 6.12.82
Linux patch: 5.15.203

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in kernel TLS (kTLS), the in-kernel TLS record layer that encrypts/decrypts socket data via the kernel crypto (AEAD/cryptd) subsystem. It is a CWE-416 use-after-free introduced by commit 859054147318 ('net: tls: handle backlogging of crypto requests'), which added handling for crypto_aead_encrypt() returning -EBUSY (request queued to the cryptd backlog). Because both the asynchronous completion callback tls_encrypt_done() and the synchronous error path in tls_do_encryption() restore the scatterlist entry (sge->offset/sge->length) and decrement ctx->encrypt_pending, the encrypt_pending sentinel (initialized to 1) is corrupted, causing tls_encrypt_async_wait() to permanently skip waiting for pending callbacks and leaving a freed tls_rec reachable by a still-pending cryptd callback. The affected CPE is cpe:2.3:a:linux:linux (the mainline kernel).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Trigger needs a local user with a kTLS socket (PR:L, AV:L) winning a timing race in the crypto backlog path (AC:H); a kernel UAF yields high C/I/A.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL
Red Hat 5.5 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 29, 2026 - 14:51 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 23, 2026 - 19:01 EUVD
CVE Published
Apr 23, 2026 - 15:11 nvd
CRITICAL 9.8

DescriptionCVE.org

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

net/tls: fix use-after-free in -EBUSY error path of tls_do_encryption

The -EBUSY handling in tls_do_encryption(), introduced by commit 859054147318 ("net: tls: handle backlogging of crypto requests"), has a use-after-free due to double cleanup of encrypt_pending and the scatterlist entry.

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. That callback unconditionally restores the scatterlist entry (sge->offset, sge->length) and decrements ctx->encrypt_pending. 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.

The double-decrement corrupts the encrypt_pending sentinel (initialized to 1), making tls_encrypt_async_wait() permanently skip the wait for pending async callbacks. A subsequent sendmsg can then free the tls_rec via bpf_exec_tx_verdict() while a cryptd callback is still pending, resulting in a use-after-free when the callback fires on the freed record.

Fix this by skipping the synchronous cleanup when the -EBUSY async wait returns an error, since the callback has already handled encrypt_pending and sge restoration.

Executive ViewAI

Why It Matters

CVE-2026-31533 is a use-after-free in the Linux kernel's TLS cryptographic subsystem allowing local users to corrupt kernel memory and potentially destabilize systems. With no public exploit identified at time of analysis, EPSS of 0.01%, and patch available per vendor advisory, this represents a medium-priority remediation for systems with multiple local user accounts or privileged access.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
4.0/10
Composite threat intelligence
EPSS Score
0.0%
Top 97% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of production systems worldwide
Threat Intel
2
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy