{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "84597a44a9d86ac949900441cea7da0af0f2f473"
            },
            {
              "fixed": "f41a224b3c9d66c7b59afc7cae02a8b214f3c684"
            },
            {
              "fixed": "c66f5c6ccfa832d28b44a66c01e3468c246adac4"
            },
            {
              "fixed": "41a18e6c6e2c4a912494a035c17ecfe79c68b9e6"
            },
            {
              "fixed": "bbc154a7da4e075aef720ef051aff6094400eb66"
            },
            {
              "fixed": "c4cba6670fa199415689f67108e96b0ba469d767"
            },
            {
              "fixed": "fc512700f1413fed652dac22fa1c4e837210b9c0"
            },
            {
              "fixed": "251b44b424920df9204e88a81fb3f78fa48ddd99"
            },
            {
              "fixed": "18d80c77b4c7dd20699e81cedfbbff4e9d198f28"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.7.0"
            },
            {
              "fixed": "5.10.273"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.224"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.191"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.161"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.115"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.59"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99135.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-integrity: fix infinite loop on discard with large tag size\n\nWhen integrity_metadata handles a discard, it fills a buffer with\nDISCARD_FILLER and writes it over the tags, max_blocks blocks at a\ntime. If the kmalloc fails, the buffer is the on-stack array\nchecksums_onstack and max_size is set to HASH_MAX_DIGESTSIZE. So if the\ntag size is larger than HASH_MAX_DIGESTSIZE, max_blocks is zero, bi_size\nis never decremented and the loop never terminates.\n\nFix this by using sizeof(checksums_onstack) as max_size. The array has\nMAX_TAG_SIZE bytes since commit b93b6643e9b5 (\"dm integrity: fix a\ncrash with unusually large tag size\"), so max_blocks is at least 1.",
  "id": "CVE-2026-99135",
  "modified": "2026-11-01T02:30:35.043580184Z",
  "published": "2026-10-28T10:34:47.902Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18d80c77b4c7dd20699e81cedfbbff4e9d198f28"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/251b44b424920df9204e88a81fb3f78fa48ddd99"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/41a18e6c6e2c4a912494a035c17ecfe79c68b9e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bbc154a7da4e075aef720ef051aff6094400eb66"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4cba6670fa199415689f67108e96b0ba469d767"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c66f5c6ccfa832d28b44a66c01e3468c246adac4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f41a224b3c9d66c7b59afc7cae02a8b214f3c684"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fc512700f1413fed652dac22fa1c4e837210b9c0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99135.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99135"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "dm-integrity: fix infinite loop on discard with large tag size"
}