{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53210","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-06-09T07:44:35.391Z","datePublished":"2026-06-25T08:39:15.569Z","dateUpdated":"2026-06-25T08:39:15.569Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-06-25T08:39:15.569Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntee: shm: fix shm leak in register_shm_helper()\n\nregister_shm_helper() allocates shm before calling\niov_iter_npages(). If iov_iter_npages() returns 0, the function\njumps to err_ctx_put and leaks shm.\n\nThis can be triggered by TEE_IOC_SHM_REGISTER with\nstruct tee_ioctl_shm_register_data where length is 0.\n\nJump to err_free_shm instead."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tee/tee_shm.c"],"versions":[{"version":"7bdee41575919773818e525ea19e54eb817770af","lessThan":"4277759906b44d923a38c8f59f5576501b187b0d","status":"affected","versionType":"git"},{"version":"7bdee41575919773818e525ea19e54eb817770af","lessThan":"c10c9c48b2903f41ed4c532043b0576e86228236","status":"affected","versionType":"git"},{"version":"7bdee41575919773818e525ea19e54eb817770af","lessThan":"dbf779db927414f5b37c1f666013e9b48a88cfde","status":"affected","versionType":"git"},{"version":"7bdee41575919773818e525ea19e54eb817770af","lessThan":"26682f5efc276e3ad96d102019472bfbf03833b2","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tee/tee_shm.c"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.94","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.36","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.13","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d"},{"url":"https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236"},{"url":"https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde"},{"url":"https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2"}],"title":"tee: shm: fix shm leak in register_shm_helper()","x_generator":{"engine":"bippy-1.2.0"}}}}