Skip to main content

Linux Kernel EUVDEUVD-2026-39301

| CVE-2026-53210 MEDIUM
Memory Leak (CWE-401)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-wfx4-v2wf-4gmp
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local user shell access
  2. Delivery
    Confirm /dev/tee* device accessibility
  3. Exploit
    Open TEE device and call TEE_IOC_SHM_REGISTER with length=0
  4. Execution
    Each call leaks kernel shm allocation
  5. Persist
    Repeat to exhaust kernel memory
  6. Impact
    Trigger OOM / system availability loss

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires: (1) local authenticated access to the target system; (2) permission to open and ioctl the TEE device node (/dev/tee0 or equivalent - typically restricted to a tee group or root on most distributions); (3) the kernel must have the TEE driver compiled and loaded (CONFIG_TEE=y/m); and (4) TEE-capable hardware must be present (primarily ARM TrustZone SoCs - uncommon on standard x86 servers or desktop Linux systems). The specific trigger is submitting struct tee_ioctl_shm_register_data with length=0 to the TEE_IOC_SHM_REGISTER ioctl. Limiting factors: most enterprise Linux deployments (x86 servers, cloud VMs) lack TEE hardware entirely and are not affected; even on ARM systems the /dev/tee* device is typically restricted to privileged service accounts, raising the effective bar above a generic low-privilege user.

Impact

Real-world risk is moderate-to-low despite the Availability:High CVSS impact rating. CVSS 3.1 scores this at 5.5 (Medium) with AV:L/AC:L/PR:L/UI:N/S:U, correctly reflecting that exploitation requires local access and low privileges - an attacker cannot exploit this remotely. EPSS at 0.18% (7th percentile) aligns with the expectation of minimal exploitation activity; this is a niche kernel subsystem defect unlikely to attract commodity exploitation tooling. There is no CISA KEV listing and no public proof-of-concept identified. The practical threat model is a local unprivileged user who has access to a /dev/tee* device node repeatedly calling the ioctl to slowly exhaust kernel memory, ultimately triggering OOM conditions or system instability - this is a denial-of-service scenario, not a code execution or data exfiltration risk. On most Linux server deployments, TEE hardware (ARM TrustZone) is absent, further constraining the exploitable population. The signals are consistent: this is a genuine but low-urgency maintenance fix.

Exploit ScenarioDerived

A local user with shell access to a Linux system running TEE-capable hardware (e.g., an ARM SoC with TrustZone) opens /dev/tee0 and repeatedly invokes the TEE_IOC_SHM_REGISTER ioctl with a tee_ioctl_shm_register_data structure where length is set to zero. Each call leaks a kernel shm allocation without triggering the free path, and after sufficient iterations the kernel OOM killer fires or system performance degrades significantly. No exploit code has been observed publicly.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 02, 2026

Memory leak in the Linux kernel TEE subsystem's register_shm_helper() function allows a local low-privileged user to exhaust kernel memory and degrade system availability. Triggering the leak requires calling the TEE_IOC_SHM_REGISTER ioctl with a length of zero, causing the function to allocate shared memory and then skip its deallocation when iov_iter_npages() returns 0. No public exploit has been identified at time of analysis, and EPSS sits at the 7th percentile, indicating very low real-world exploitation probability.

RemediationAI

Upgrade to a patched Linux kernel version: 6.12.94 or later on the 6.12 stable branch, 6.18.36 or later on the 6.18 stable branch, 7.0.13 or later on the 7.0 stable branch, or the 7.1 release. Upstream fix commits are available at https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2, https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d, https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236, and https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde, covering the respective stable branches. As a compensating control on systems where patching is not immediately possible, restrict access to the TEE device nodes (/dev/tee* and /dev/teepriv*) to only trusted service accounts using udev rules or filesystem permissions; this prevents unprivileged users from invoking the vulnerable ioctl entirely. Note that restricting the device node may break legitimate TEE-dependent workloads such as OP-TEE clients or secure key storage applications.

Affected VersionsENISA

Linux patch: 6.18.36
Linux patch: 7.1
Linux patch: 7.0.13
Linux patch: 6.12.94
Linux patch: 0
Linux 7bdee41575919773818e525ea19e54eb817770af <dbf779db927414f5b37c1f666013e9b48a88cfde
Linux 6.8
Linux 7bdee41575919773818e525ea19e54eb817770af <c10c9c48b2903f41ed4c532043b0576e86228236
Linux 7bdee41575919773818e525ea19e54eb817770af <26682f5efc276e3ad96d102019472bfbf03833b2
Linux 7bdee41575919773818e525ea19e54eb817770af <4277759906b44d923a38c8f59f5576501b187b0d

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 Linux kernel TEE (Trusted Execution Environment) subsystem provides a kernel driver interface for user-space applications to communicate with hardware-backed secure enclaves such as ARM TrustZone. The affected code path, register_shm_helper() in drivers/tee/tee_shm.c, allocates a shm object prior to calling iov_iter_npages() to determine the number of pages for the shared memory region. When a caller submits a tee_ioctl_shm_register_data structure with length=0 via the TEE_IOC_SHM_REGISTER ioctl, iov_iter_npages() legitimately returns 0, and the error path jumps to err_ctx_put rather than err_free_shm, orphaning the allocated shm object. This is a classic CWE-401 (Missing Release of Memory after Effective Lifetime) defect. CPE data confirms the affected product is cpe:2.3:o:linux:linux_kernel across multiple stable branches, with the introducing commit identified as 7bdee41575919773818e525ea19e54eb817770af.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local ioctl access with low privileges sufficient to trigger leak; no confidentiality or integrity impact, only memory exhaustion availability loss.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 02, 2026 - 21:07 NVD
5.5 (MEDIUM)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 nvd
MEDIUM 5.5

DescriptionNVD

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

tee: shm: fix shm leak in register_shm_helper()

register_shm_helper() allocates shm before calling iov_iter_npages(). If iov_iter_npages() returns 0, the function jumps to err_ctx_put and leaks shm.

This can be triggered by TEE_IOC_SHM_REGISTER with struct tee_ioctl_shm_register_data where length is 0.

Jump to err_free_shm instead.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs majority of servers, containers, and embedded devices globally
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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