{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c0265342bff4fcaa2cdf13f4596244c18d4a7ae5"
            },
            {
              "fixed": "e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d"
            },
            {
              "fixed": "5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3"
            },
            {
              "fixed": "391f057f44a51cc9418da5cba78b014324174264"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.18.0"
            },
            {
              "fixed": "6.18.51"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89719.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix out-of-bounds access in read_block_state()\n\nread_block_state() calculates nr_pages before taking dev_lock.  If the\ndevice is reset and reinitialized with a smaller disksize before lock\nacquisition, nr_pages still describes the old table.  The subsequent loop\ncan then call slot_lock() past the end of the newly allocated table.\n\nRead disksize after acquiring dev_lock and checking that the device is\ninitialized.  The read lock then keeps the table and its bound stable for\nthe duration of the scan.",
  "id": "CVE-2026-89719",
  "modified": "2026-09-13T03:30:33.768183343Z",
  "published": "2026-09-11T19:46:32.185Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89719.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89719"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "zram: fix out-of-bounds access in read_block_state()"
}