CVE-2026-89718
Description
A flaw was found in the zram component of the Linux kernel. This vulnerability occurs because the writeback_store() function calculates table scan bounds before acquiring a necessary lock. If the zram device is reinitialized with a smaller disk size during this window, the function may attempt to access memory outside the allocated table, leading to an out-of-bounds access. This can result in system instability or a denial of service.
Statement
A flaw was found in the Linux kernel's zram compressed block device driver. The writeback_store() function computes its table scan bounds from zram->disksize before acquiring the device lock (dev_lock), so if the zram device is reset and reinitialized with a smaller disksize while writeback_store() waits for the lock, it scans the new, smaller table using the stale, larger bound, resulting in an out-of-bounds access to kernel memory. A local attacker with access to the zram control interfaces who can reset and reconfigure a zram device while writeback is triggered could exploit this race condition to crash the kernel, causing a denial of service; confidentiality and integrity are not directly impacted (Red Hat CVSS 3.1 score 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The kernel and kernel-rt packages in Red Hat Enterprise Linux 9 and 10, Red Hat In-Vehicle OS 2, and OpenShift Container Platform releases that ship the RHEL 9-based Red Hat Enterprise Linux CoreOS kernel (4.13 and later) are affected. Because this flaw is rated moderate severity with a CVSS score below the threshold used to file fixes, the fix is deferred and no updated packages are currently planned, leaving a residual risk of local denial of service through a kernel crash on affected systems. Red Hat Enterprise Linux 6, 7, and 8 (including kernel-rt) and OpenShift Container Platform 4.12, which ships the RHEL 8-based CoreOS kernel, are not affected because the vulnerable code is not present in those kernels.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Integrity,Availability,Confidentiality
Technical Impact: DoS: Crash, Exit, or Restart; Execute Unauthorized Code or Commands; Read Memory; Modify Memory
If the incorrect calculation is used in the context of memory allocation, then the software may create a buffer that is smaller or larger than expected. If the allocated buffer is smaller than expected, this could lead to an out-of-bounds read or write (CWE-119), possibly causing a crash, allowing arbitrary code execution, or exposing sensitive data.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.