---
id: CVE-2026-89719
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  zram: fix out-of-bounds access in read_block_state()

  read_block_state() calculates nr_pages before taking dev_lock
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  zram: fix out-of-bounds access in read_block_state()

  read_block_state() calculates nr_pages before taking dev_lock.  If the
  device is reset and reinitialized with a sm…
severity: medium
cvss: 4.1
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-805
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 <
    6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b
  - >-
    Linux >= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 <
    e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d
  - >-
    Linux >= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 <
    5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3
  - >-
    Linux >= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 <
    391f057f44a51cc9418da5cba78b014324174264
  - Linux 4.18
published: '2026-09-11'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T14:17:26.067'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89719'
references:
  - url: 'https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89719.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89719'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532158'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89719'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89719'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89719.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00209
epssPercentile: 0.09732
cvssSource: vendor
ingestedAt: '2026-09-14T11:11:19.885Z'
---

## Overview

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

zram: fix out-of-bounds access in read_block_state()

read_block_state() calculates nr_pages before taking dev_lock.  If the
device is reset and reinitialized with a smaller disksize before lock
acquisition, nr_pages still describes the old table.  The subsequent loop
can then call slot_lock() past the end of the newly allocated table.

Read disksize after acquiring dev_lock and checking that the device is
initialized.  The read lock then keeps the table and its bound stable for
the duration of the scan.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89719.json)
