# CVE-2026-89719: zram: fix out-of-bounds access in read_block_state()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-11T19:46:32.185Z
- Modified: 2026-10-30T13:20:27.580Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before fee53224c8261541cf310b57ac7c77a80e144483; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before 26a55336be91004dbd438f3b89b0c31617459976; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before a189cae92e97d90a9553740f5558d6f74446d3d1; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before f5e9f3a75efc774f17ab3f33826630d7fe30c7ea; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before 6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before 5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3; from c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 before 391f057f44a51cc9418da5cba78b014324174264; 4.18 (not affected: before 4.18; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fee53224c8261541cf310b57ac7c77a80e144483>
- <https://git.kernel.org/stable/c/26a55336be91004dbd438f3b89b0c31617459976>
- <https://git.kernel.org/stable/c/a189cae92e97d90a9553740f5558d6f74446d3d1>
- <https://git.kernel.org/stable/c/f5e9f3a75efc774f17ab3f33826630d7fe30c7ea>
- <https://git.kernel.org/stable/c/6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b>
- <https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d>
- <https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3>
- <https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264>

## Sources

- CVE List: [CVE-2026-89719](https://www.cve.org/CVERecord?id=CVE-2026-89719), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89719](https://nvd.nist.gov/vuln/detail/CVE-2026-89719), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89719 · Whole record: https://cve.day/CVE-2026-89719.json · Rebuilt by cve.day 2026-11-25T22:59:38.125Z
