# CVE-2026-89717: zram: set default primary compressor in zram\_destroy\_comps()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-11T19:46:30.698Z
- **Modified:** 2026-10-21T13:20:22.557Z

## Who should check

- Anyone running Linux \>= 6e20720b12299595154857fa98222729f0d5823c, \< a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 4bf3328eeec9afc2a55632ff47fc18101ea62d73; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 5cec3e60e9f2d1324179df3aa91656f90095cf8f; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dea8f13c3dfad8b990f8ea96c997aabeebbc1d22; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dde75313eed0b014c437f48dd75c0308b592cbf9; c4e5683c3031a33dc46954e99d37cbd2f706cdb6; \>= 6.6.57, \< 6.6.160; \>= 6.11.4, \< 6.12
- Anyone running Linux 6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

zram: set default primary compressor in zram\_destroy\_comps()

Patch series "zram: fix zram issues reported by sashiko".

Sashiko drove by and reported \[1\] a couple of zram issues:
a possible BUG\_ON() in zlib code due to missing winbits range
validation and one possible NULL-ptr dereference in zcomp.
Both are low risk yet still worth fixing.


This patch (of 2):

zram\_destroy\_comps() resets all compressors and leaves them set to NULL,
including the primary one, which is invalid device state, as now
comp\_algorithm\_show()-\>strcmp() can be called on a NULL compressor.  Set
default primary compressor in zram\_destroy\_comps().

## Affected and fixed versions

- Linux: \>= 6e20720b12299595154857fa98222729f0d5823c, \< a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 4bf3328eeec9afc2a55632ff47fc18101ea62d73; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 5cec3e60e9f2d1324179df3aa91656f90095cf8f; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dea8f13c3dfad8b990f8ea96c997aabeebbc1d22; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dde75313eed0b014c437f48dd75c0308b592cbf9; c4e5683c3031a33dc46954e99d37cbd2f706cdb6; \>= 6.6.57, \< 6.6.160; \>= 6.11.4, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89717. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89717.md
Affected: Linux >= 6e20720b12299595154857fa98222729f0d5823c, < a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5; >= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, < 4bf3328eeec9afc2a55632ff47fc18101ea62d73; >= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, < 5cec3e60e9f2d1324179df3aa91656f90095cf8f; >= 486fd58af7ac1098b68370b…
Fixed in: Linux 4bf3328eeec9afc2a55632ff47fc18101ea62d73, Linux 5cec3e60e9f2d1324179df3aa91656f90095cf8f, Linux 6.6.160, Linux 6.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89717 being exploited?

There is no confirmed exploitation: CVE-2026-89717 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89717?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89717?

Linux \>= 6e20720b12299595154857fa98222729f0d5823c, \< a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 4bf3328eeec9afc2a55632ff47fc18101ea62d73; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< 5cec3e60e9f2d1324179df3aa91656f90095cf8f; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dea8f13c3dfad8b990f8ea96c997aabeebbc1d22; \>= 486fd58af7ac1098b68370b1d4d9f94a2a1c7124, \< dde75313eed0b014c437f48dd75c0308b592cbf9; c4e5683c3031a33dc46954e99d37cbd2f706cdb6; \>= 6.6.57, \< 6.6.160; \>= 6.11.4, \< 6.12; Linux 6.12.

### Is there a fix for CVE-2026-89717?

Yes. Fixed in Linux 4bf3328eeec9afc2a55632ff47fc18101ea62d73, Linux 5cec3e60e9f2d1324179df3aa91656f90095cf8f, Linux 6.6.160, Linux 6.12. Upgrade Linux to 6.12 or later.

### How do I check if I'm affected by CVE-2026-89717?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a5fda7def04d98ab7c5cbb2394714fb1f8c56cb5>
- other: <https://git.kernel.org/stable/c/4bf3328eeec9afc2a55632ff47fc18101ea62d73>
- other: <https://git.kernel.org/stable/c/5cec3e60e9f2d1324179df3aa91656f90095cf8f>
- other: <https://git.kernel.org/stable/c/dea8f13c3dfad8b990f8ea96c997aabeebbc1d22>
- other: <https://git.kernel.org/stable/c/dde75313eed0b014c437f48dd75c0308b592cbf9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89717>

HTML: <https://flawdb.com/CVE-2026-89717> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89717>
