{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "486fd58af7ac1098b68370b1d4d9f94a2a1c7124"
            },
            {
              "fixed": "5cec3e60e9f2d1324179df3aa91656f90095cf8f"
            },
            {
              "fixed": "dea8f13c3dfad8b990f8ea96c997aabeebbc1d22"
            },
            {
              "fixed": "dde75313eed0b014c437f48dd75c0308b592cbf9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "6e20720b12299595154857fa98222729f0d5823c"
            },
            {
              "last_affected": "c4e5683c3031a33dc46954e99d37cbd2f706cdb6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.6.57"
            },
            {
              "fixed": "6.7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.11.4"
            },
            {
              "fixed": "6.12"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.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-89717.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nzram: set default primary compressor in zram_destroy_comps()\n\nPatch series \"zram: fix zram issues reported by sashiko\".\n\nSashiko drove by and reported [1] a couple of zram issues:\na possible BUG_ON() in zlib code due to missing winbits range\nvalidation and one possible NULL-ptr dereference in zcomp.\nBoth are low risk yet still worth fixing.\n\n\nThis patch (of 2):\n\nzram_destroy_comps() resets all compressors and leaves them set to NULL,\nincluding the primary one, which is invalid device state, as now\ncomp_algorithm_show()-\u003estrcmp() can be called on a NULL compressor.  Set\ndefault primary compressor in zram_destroy_comps().",
  "id": "CVE-2026-89717",
  "modified": "2026-09-13T03:30:54.436336940Z",
  "published": "2026-09-11T19:46:30.698Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5cec3e60e9f2d1324179df3aa91656f90095cf8f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dde75313eed0b014c437f48dd75c0308b592cbf9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dea8f13c3dfad8b990f8ea96c997aabeebbc1d22"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89717.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89717"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "zram: set default primary compressor in zram_destroy_comps()"
}