CVE-2026-53210

tee: shm: fix shm leak in register_shm_helper()

MEDIUM
5.5
CVSS Score
Published: June 25, 2026 at 08:39 AM UTC
Updated: July 2, 2026 at 09:08 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.366.19 ≤ v < 7.0.136.8 ≤ v < 6.12.946.8 ≤ v < 6.18.366.8 ≤ v < 7.0.136.8 ≤ v < 7.17.1 rc17.1 rc27.1 rc37.1 rc47.1 rc57.1 rc67bdee41575919773818e525ea19e54eb817770af
Vendor states this is fixed in 26682f5efc276e3ad96d102019472bfbf03833b2 (fixed)
Vendor states this is fixed in 4277759906b44d923a38c8f59f5576501b187b0d (fixed)
Vendor states this is fixed in c10c9c48b2903f41ed4c532043b0576e86228236 (fixed)
Vendor states this is fixed in dbf779db927414f5b37c1f666013e9b48a88cfde (fixed)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 7.0.13 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card