Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

In the Linux kernel, the following vulnerability has been resolved: tee: shm: fix shm leak in register_shm_helper() register_shm_helper() allocates… (CVE-2026-53210)

0
Medium
Published: 06/25/2026 (06/25/2026, 09:31:21 UTC)
Source: GCVE Database

Description

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.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:02:16 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-53210 involves a memory leak in the TEE subsystem's register_shm_helper() function. Specifically, the function allocates shared memory before calling iov_iter_npages(), which returns the number of pages for the memory operation. If iov_iter_npages() returns zero (indicating zero length), the function erroneously jumps to an error handling label err_ctx_put without freeing the allocated shared memory, causing a leak. This can be triggered by the TEE_IOC_SHM_REGISTER ioctl when the length field in tee_ioctl_shm_register_data is zero. The correct behavior is to jump to err_free_shm to free the allocated memory, which has been fixed in the kernel.

Potential Impact

The vulnerability results in a shared memory leak within the Linux kernel's TEE subsystem when processing zero-length shared memory registration requests. While it does not affect confidentiality or integrity, it impacts availability by potentially exhausting kernel memory resources over time. There are no known exploits in the wild. The CVSS 3.1 vector rates the impact as no confidentiality or integrity impact but high availability impact (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or vendor advisories are provided, users should monitor official Linux kernel security advisories for updates addressing this issue. Avoid sending zero-length shared memory registration requests to the TEE subsystem as a temporary mitigation if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-wfx4-v2wf-4gmp
Osv Schema Version
1.4.0
Aliases
["CVE-2026-53210"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a46eca927e9c7971943a6be

Added to database: 07/02/2026, 22:56:41 UTC

Last enriched: 07/02/2026, 23:02:16 UTC

Last updated: 07/31/2026, 19:24:50 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses