CVE-2026-46089

zram: do not forget to endio for partial discard requests

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0120dd6e4e202e19a0e011e486fb2da40a5ea279 to before 2d1f18efccdb8b29552399d024c36b705447e975Affected
  • 0120dd6e4e202e19a0e011e486fb2da40a5ea279 to before 35d3300f6357cfaa72db2721dc2b345b19bac5dfAffected
  • 0120dd6e4e202e19a0e011e486fb2da40a5ea279 to before a02363f71a79b755daa78a70d6b217f9c13c8c85Affected
  • 0120dd6e4e202e19a0e011e486fb2da40a5ea279 to before 68ce397e8236088fc53b9532d383a722288c8194Affected
  • 0120dd6e4e202e19a0e011e486fb2da40a5ea279 to before e3668b371329ea036ff022ce8ecc82f8befcf003Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.