# CVE-2026-53210: tee: shm: fix shm leak in register\_shm\_helper()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-25 · Modified: 2026-06-25
- Aliases: UBUNTU-CVE-2026-53210, DEBIAN-CVE-2026-53210, CGA-25v3-chv2-r459, CGA-38h8-j227-66x4, CGA-694c-6xvp-9q2q, CGA-6hwv-c6cf-gcjq, CGA-6vpr-g4v8-2qg7, CGA-7vwf-r23c-7rjj, CGA-8hgj-6qh3-7q64, CGA-9m8f-66rw-qp64, CGA-fchf-8pqh-969m, CGA-grmx-3ww7-jrv4, CGA-mr9j-q8xh-rrgq, CGA-p936-pfjh-cv5p, CGA-qrm7-q9cq-cx6h
- Record: https://cvemate.com/vulnerability/CVE-2026-53210 · JSON: https://cvemate.com/vulnerability/CVE-2026-53210/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.122%, percentile 2.138%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 158)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.38-r0
- debian linux (Debian): \< 6.12.94-1 \| \< 7.0.13-1
- ubuntu linux (Ubuntu): \< 6.8.0-146.146 \| All versions (No fix recorded) \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1066.69 \| All versions (No fix recorded) \| \< 7.0.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 28)

- <https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d>
- <https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236>
- <https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde>
- <https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2>
- <https://ubuntu.com/security/CVE-2026-53210>
- <https://www.cve.org/CVERecord?id=CVE-2026-53210>
- <https://git.kernel.org/linus/26682f5efc276e3ad96d102019472bfbf03833b2>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://ubuntu.com/security/notices/USN-8903-1>
- <https://ubuntu.com/security/notices/USN-8905-1>

---

Data as of 2026-12-05T05:33:45.942Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
