CVE-2026-53210 tee: shm: fix shm leak in register_shm_helper()

Medium 5.5 Published Updated

A memory leak in the Linux kernel TEE driver allows local attackers to cause denial of service by triggering a specific shared memory registration error.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53210?

CVE-2026-53210 is a medium-severity denial of service vulnerability in Linux kernel, published on 25 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-401

Which versions are affected by CVE-2026-53210?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-53210?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-53210 being exploited?

There is no known exploitation of CVE-2026-53210 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-53210, DEBIAN-CVE-2026-53210, GHSA-wfx4-v2wf-4gmp, ROOT-OS-UBUNTU-2404-CVE-2026-53210, UBUNTU-CVE-2026-53210.

Is CVE-2026-53210 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free