{"id":"CVE-2026-89717","aliases":["CVE-2026-89717"],"related":[],"kind":"vulnerability","state":"published","title":"zram: set default primary compressor in zram_destroy_comps()","summary":"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()->strcmp() can be called on a NULL compressor.  Set\ndefault primary compressor in zram_destroy_comps().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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()->strcmp() can be called on a NULL compressor.  Set\ndefault primary compressor in zram_destroy_comps().","source":"cvelist"}],"published":"2026-09-11T19:46:30.698Z","modified":"2026-10-21T13:20:22.557Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6e20720b12299595154857fa98222729f0d5823c","fixed":"a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5","status":"affected"},{"type":"git","introduced":"486fd58af7ac1098b68370b1d4d9f94a2a1c7124","fixed":"4bf3328eeec9afc2a55632ff47fc18101ea62d73","status":"affected"},{"type":"git","introduced":"486fd58af7ac1098b68370b1d4d9f94a2a1c7124","fixed":"5cec3e60e9f2d1324179df3aa91656f90095cf8f","status":"affected"},{"type":"git","introduced":"486fd58af7ac1098b68370b1d4d9f94a2a1c7124","fixed":"dea8f13c3dfad8b990f8ea96c997aabeebbc1d22","status":"affected"},{"type":"git","introduced":"486fd58af7ac1098b68370b1d4d9f94a2a1c7124","fixed":"dde75313eed0b014c437f48dd75c0308b592cbf9","status":"affected"},{"type":"git","version":"c4e5683c3031a33dc46954e99d37cbd2f706cdb6","status":"affected"},{"type":"semver","introduced":"6.6.57","fixed":"6.6.160","status":"affected"},{"type":"semver","introduced":"6.11.4","fixed":"6.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bf3328eeec9afc2a55632ff47fc18101ea62d73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cec3e60e9f2d1324179df3aa91656f90095cf8f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dea8f13c3dfad8b990f8ea96c997aabeebbc1d22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dde75313eed0b014c437f48dd75c0308b592cbf9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89717","url":"https://www.cve.org/CVERecord?id=CVE-2026-89717","licence":"CVE Terms of Use","modified":"2026-10-21T12:48:28.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89717","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89717","licence":"Public domain","modified":"2026-10-21T13:20:22.557Z"}],"updatedAt":"2026-11-25T22:59:38.124Z","epss":{"score":0.00168,"percentile":0.06485,"date":"2026-12-01T12:00:22.000Z"}}