What’s Vulnerable › Vulnerabilities
CVE-2026-53210: tee: shm: fix shm leak in register_shm_helper()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-07-02
- Weakness: CWE-401
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 products
- Linux kernel: from 6.8 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4, 7.1-rc5, 7.1-rc6 — fixed in 6.12.94, 6.18.36, 7.0.13
How to fix
Upgrade to a fixed version: Linux kernel 6.12.94, 6.18.36, 7.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2
- https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d
- https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236
- https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde
Get alerted when CVE-2026-53210 or the next vulnerability affects your stack