CVE-2026-53210
JSON

5.5medium

tee: shm: fix shm leak in register_shm_helper()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 7bdee41575919773818e525ea19e54eb817770af before 4277759906b44d923a38c8f59f5576501b187b0d, from 7bdee41575919773818e525ea19e54eb817770af before c10c9c48b2903f41ed4c532043b0576e86228236, from 7bdee41575919773818e525ea19e54eb817770af before dbf779db927414f5b37c1f666013e9b48a88cfde, from 7bdee41575919773818e525ea19e54eb817770af before 26682f5efc276e3ad96d102019472bfbf03833b2, 6.8
Not affected: before 6.8, from 6.12.94 up to 6.12.*, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.8 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53210 changed 2026-06-25CVE Terms of Use
NVDCVE-2026-53210 changed 2026-07-02Public domain