{"id":"CVE-2026-89719","published":"2026-09-11T19:46:32Z","modified":"2026-10-30T12:32:51Z","title":"zram: fix out-of-bounds access in read_block_state()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix out-of-bounds access in read_block_state()\n\nread_block_state() calculates nr_pages before taking dev_lock.  If the\ndevice is reset and reinitialized with a smaller disksize before lock\nacquisition, nr_pages still describes the old table.  The subsequent loop\ncan then call slot_lock() past the end of the newly allocated table.\n\nRead disksize after acquiring dev_lock and checking that the device is\ninitialized.  The read lock then keeps the table and its bound stable for\nthe duration of the scan.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.07364,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fee53224c8261541cf310b57ac7c77a80e144483","tags":[]},{"url":"https://git.kernel.org/stable/c/26a55336be91004dbd438f3b89b0c31617459976","tags":[]},{"url":"https://git.kernel.org/stable/c/a189cae92e97d90a9553740f5558d6f74446d3d1","tags":[]},{"url":"https://git.kernel.org/stable/c/f5e9f3a75efc774f17ab3f33826630d7fe30c7ea","tags":[]},{"url":"https://git.kernel.org/stable/c/6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b","tags":[]},{"url":"https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d","tags":[]},{"url":"https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3","tags":[]},{"url":"https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.47}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < fee53224c8261541cf310b57ac7c77a80e144483",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < 26a55336be91004dbd438f3b89b0c31617459976",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < a189cae92e97d90a9553740f5558d6f74446d3d1",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < f5e9f3a75efc774f17ab3f33826630d7fe30c7ea",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < 6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < 5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3",">= c0265342bff4fcaa2cdf13f4596244c18d4a7ae5, < 391f057f44a51cc9418da5cba78b014324174264"]},{"vendor":"Linux","product":"Linux","versions":["4.18"]}],"euvd":{"id":"EUVD-2026-76631","exploited":false,"provenance":"source"}}