{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "488ffbf181718b9ad8c1838cb249d60973e78eda"
            },
            {
              "fixed": "9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac"
            },
            {
              "fixed": "e4b7687784153481de45fd39fb97ba3919605c0c"
            },
            {
              "fixed": "40a13b49957937427bc23e78eb50679df4396a47"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.33"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53312.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/riscv: Remove overflows on the invalidation path\n\nSince RISC-V supports a sign extended page table it should support\na gather-\u003eend of ULONG_MAX, but if this happens it will infinite loop\nbecause of the overflow.\n\nAlso avoid overflow computing the length by moving the +1 to the other\nside of the \u003c",
  "id": "CVE-2026-53312",
  "modified": "2026-07-08T05:38:35.391376738Z",
  "published": "2026-06-26T19:41:05.688Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/40a13b49957937427bc23e78eb50679df4396a47"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9f0632b0d4246675fa221aa1a3bffadf9c6bd9ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4b7687784153481de45fd39fb97ba3919605c0c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53312"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "iommu/riscv: Remove overflows on the invalidation path"
}