{"id":"CVE-2026-46089","summary":"zram: do not forget to endio for partial discard requests","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: do not forget to endio for partial discard requests\n\nAs reported by Qu Wenruo and Avinesh Kumar, the following\n\n getconf PAGESIZE\n 65536\n blkdiscard -p 4k /dev/zram0\n\ntakes literally forever to complete.  zram doesn't support partial\ndiscards and just returns immediately w/o doing any discard work in such\ncases.  The problem is that we forget to endio on our way out, so\nblkdiscard sleeps forever in submit_bio_wait().  Fix this by jumping to\nend_bio label, which does bio_endio().","modified":"2026-06-27T11:55:45.852726046Z","published":"2026-05-27T12:58:32.606Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46089.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d1f18efccdb8b29552399d024c36b705447e975"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35d3300f6357cfaa72db2721dc2b345b19bac5df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68ce397e8236088fc53b9532d383a722288c8194"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a02363f71a79b755daa78a70d6b217f9c13c8c85"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3668b371329ea036ff022ce8ecc82f8befcf003"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46089.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46089"},{"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":"0120dd6e4e202e19a0e011e486fb2da40a5ea279"},{"fixed":"2d1f18efccdb8b29552399d024c36b705447e975"},{"fixed":"35d3300f6357cfaa72db2721dc2b345b19bac5df"},{"fixed":"a02363f71a79b755daa78a70d6b217f9c13c8c85"},{"fixed":"68ce397e8236088fc53b9532d383a722288c8194"},{"fixed":"e3668b371329ea036ff022ce8ecc82f8befcf003"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46089.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46089.json"}}],"schema_version":"1.7.5"}