{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7bdee41575919773818e525ea19e54eb817770af"
            },
            {
              "fixed": "4277759906b44d923a38c8f59f5576501b187b0d"
            },
            {
              "fixed": "c10c9c48b2903f41ed4c532043b0576e86228236"
            },
            {
              "fixed": "dbf779db927414f5b37c1f666013e9b48a88cfde"
            },
            {
              "fixed": "26682f5efc276e3ad96d102019472bfbf03833b2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.8.0"
            },
            {
              "fixed": "6.12.94"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.36"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53210.json"
  },
  "details": "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.",
  "id": "CVE-2026-53210",
  "modified": "2026-07-08T05:37:15.392157040Z",
  "published": "2026-06-25T08:39:15.569Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53210.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53210"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "tee: shm: fix shm leak in register_shm_helper()"
}