{"id":"CVE-2026-89719","summary":"zram: fix out-of-bounds access in read_block_state()","details":"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.","modified":"2026-11-01T02:30:31.900118295Z","published":"2026-09-11T19:46:32.185Z","related":["openSUSE-SU-2026:11880-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89719.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/26a55336be91004dbd438f3b89b0c31617459976"},{"type":"WEB","url":"https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a189cae92e97d90a9553740f5558d6f74446d3d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5e9f3a75efc774f17ab3f33826630d7fe30c7ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fee53224c8261541cf310b57ac7c77a80e144483"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89719.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89719"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c0265342bff4fcaa2cdf13f4596244c18d4a7ae5"},{"fixed":"fee53224c8261541cf310b57ac7c77a80e144483"},{"fixed":"26a55336be91004dbd438f3b89b0c31617459976"},{"fixed":"a189cae92e97d90a9553740f5558d6f74446d3d1"},{"fixed":"f5e9f3a75efc774f17ab3f33826630d7fe30c7ea"},{"fixed":"6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b"},{"fixed":"e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d"},{"fixed":"5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3"},{"fixed":"391f057f44a51cc9418da5cba78b014324174264"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89719.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89719.json"}}],"schema_version":"1.9.2"}