{"id":"CVE-2026-89778","aliases":["CVE-2026-89778"],"related":[],"kind":"vulnerability","state":"published","title":"isofs: fix out-of-bounds page array access on empty zisofs block","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nisofs: fix out-of-bounds page array access on empty zisofs block\n\nzisofs_uncompress_block()'s empty-block fast path returns\npcount << PAGE_SHIFT, ignoring the incoming poffset, unlike the\ndecompression path which returns bytes produced relative to poffset.\nzisofs_fill_pages() uses that return to advance its page cursor, so when\nthe zisofs block size is below PAGE_SIZE and a sub-page block leaves\npoffset partway into a page, a following empty block over-counts and\nadvances pages[] one element past its end, after which\n\"if (poffset && *pages)\" reads pages[1] out of bounds.  rock.c only\nrejects a block-size shift > 17, so a crafted \"ZF\" Rock Ridge record can\nset it below PAGE_SHIFT; the bug is reached by an ordinary read() of a\ncompressed file on such a mounted ISO9660 image.\n\nReturn the byte count relative to poffset and zero only\n[poffset, PAGE_SIZE) of the first page, matching the decompression path.\nThe page-aligned case (poffset == 0) is unaffected.\n\n  BUG: KASAN: slab-out-of-bounds in zisofs_read_folio (fs/isofs/compress.c:290)\n  Read of size 8 at addr ffff88800f5eac48 by task exploit/142\n   zisofs_read_folio (fs/isofs/compress.c:290)\n   read_pages (mm/readahead.c:184)\n   ...\n   filemap_read (mm/filemap.c:2814)\n   vfs_read (fs/read_write.c:574)\n   __x64_sys_pread64 (fs/read_write.c:769)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  The buggy address is located 0 bytes to the right of the\n  allocated 8-byte region in the kmalloc-8 cache","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nisofs: fix out-of-bounds page array access on empty zisofs block\n\nzisofs_uncompress_block()'s empty-block fast path returns\npcount << PAGE_SHIFT, ignoring the incoming poffset, unlike the\ndecompression path which returns bytes produced relative to poffset.\nzisofs_fill_pages() uses that return to advance its page cursor, so when\nthe zisofs block size is below PAGE_SIZE and a sub-page block leaves\npoffset partway into a page, a following empty block over-counts and\nadvances pages[] one element past its end, after which\n\"if (poffset && *pages)\" reads pages[1] out of bounds.  rock.c only\nrejects a block-size shift > 17, so a crafted \"ZF\" Rock Ridge record can\nset it below PAGE_SHIFT; the bug is reached by an ordinary read() of a\ncompressed file on such a mounted ISO9660 image.\n\nReturn the byte count relative to poffset and zero only\n[poffset, PAGE_SIZE) of the first page, matching the decompression path.\nThe page-aligned case (poffset == 0) is unaffected.\n\n  BUG: KASAN: slab-out-of-bounds in zisofs_read_folio (fs/isofs/compress.c:290)\n  Read of size 8 at addr ffff88800f5eac48 by task exploit/142\n   zisofs_read_folio (fs/isofs/compress.c:290)\n   read_pages (mm/readahead.c:184)\n   ...\n   filemap_read (mm/filemap.c:2814)\n   vfs_read (fs/read_write.c:574)\n   __x64_sys_pread64 (fs/read_write.c:769)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  The buggy address is located 0 bytes to the right of the\n  allocated 8-byte region in the kmalloc-8 cache","source":"cvelist"}],"published":"2026-09-16T08:48:18.407Z","modified":"2026-10-19T09:18:21.100Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"8b994ac5778a725982fd6a8a3afcaa068d4a93e3","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"ad3249cdf9d4ba34bb8b1ff3956a4020fdfb5b0a","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"85904076cece72ee3194646ad7ac8e6659d999aa","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"f03425dcbe04aec3c27b9917e97d7d23a2908dda","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"cd616aa0449a772a6956abf03358f0ff31720580","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"9c6eace8d07e90f038c89eb3b756d65a7e259d48","status":"affected"},{"type":"git","introduced":"59bc055211b8d266ab6089158058bf8268e02006","fixed":"68d4d3e78150c7ed7d1195af63ad1e6ace30c661","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8b994ac5778a725982fd6a8a3afcaa068d4a93e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad3249cdf9d4ba34bb8b1ff3956a4020fdfb5b0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85904076cece72ee3194646ad7ac8e6659d999aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f03425dcbe04aec3c27b9917e97d7d23a2908dda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd616aa0449a772a6956abf03358f0ff31720580","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c6eace8d07e90f038c89eb3b756d65a7e259d48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68d4d3e78150c7ed7d1195af63ad1e6ace30c661","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89778","url":"https://www.cve.org/CVERecord?id=CVE-2026-89778","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:30.510Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89778","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89778","licence":"Public domain","modified":"2026-10-19T09:18:21.100Z"}],"updatedAt":"2026-11-25T22:59:38.922Z","epss":{"score":0.00697,"percentile":0.54319,"date":"2026-12-01T12:00:22.000Z"}}