CVEvulnerability
CVE-2026-53210
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-06-25
- Last modified
- 2026-07-02
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 6.8 < 6.12.94)
• linux linux kernel (>= 6.13 < 6.18.36)
• linux linux kernel (>= 6.19 < 7.0.13)
• linux linux kernel 7.1
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2 Patch
- https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d Patch
- https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236 Patch
- https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde Patch