# CVE-2026-46089: zram: do not forget to endio for partial discard requests

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-27T12:58:32.606Z
- Modified: 2026-11-06T17:17:36.793Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

zram: do not forget to endio for partial discard requests

As reported by Qu Wenruo and Avinesh Kumar, the following

 getconf PAGESIZE
 65536
 blkdiscard -p 4k /dev/zram0

takes literally forever to complete.  zram doesn't support partial
discards and just returns immediately w/o doing any discard work in such
cases.  The problem is that we forget to endio on our way out, so
blkdiscard sleeps forever in submit_bio_wait().  Fix this by jumping to
end_bio label, which does bio_endio().

(As written by CVE List.)

## Affected

- Linux Linux: from 0120dd6e4e202e19a0e011e486fb2da40a5ea279 before 2d1f18efccdb8b29552399d024c36b705447e975; from 0120dd6e4e202e19a0e011e486fb2da40a5ea279 before 35d3300f6357cfaa72db2721dc2b345b19bac5df; from 0120dd6e4e202e19a0e011e486fb2da40a5ea279 before a02363f71a79b755daa78a70d6b217f9c13c8c85; from 0120dd6e4e202e19a0e011e486fb2da40a5ea279 before 68ce397e8236088fc53b9532d383a722288c8194; from 0120dd6e4e202e19a0e011e486fb2da40a5ea279 before e3668b371329ea036ff022ce8ecc82f8befcf003; 6.4 (not affected: before 6.4; from 6.6.140 up to 6.6.*; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.4 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/2d1f18efccdb8b29552399d024c36b705447e975> (patch)
- <https://git.kernel.org/stable/c/35d3300f6357cfaa72db2721dc2b345b19bac5df> (patch)
- <https://git.kernel.org/stable/c/a02363f71a79b755daa78a70d6b217f9c13c8c85> (patch)
- <https://git.kernel.org/stable/c/68ce397e8236088fc53b9532d383a722288c8194> (patch)
- <https://git.kernel.org/stable/c/e3668b371329ea036ff022ce8ecc82f8befcf003> (patch)

## Sources

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

---

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