CVE-2026-46089: zram: do not forget to endio for partial discard requests
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 submitbiowait(). Fix this by jumping to endbio label, which does bioendio().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.141.1-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46089?
CVE-2026-46089 has a severity rating of 15, indicating a critical impact.
How do I fix CVE-2026-46089?
To fix CVE-2026-46089, update the Linux kernel to the latest version that addresses this vulnerability.
What causes the issue in CVE-2026-46089?
The issue in CVE-2026-46089 is caused by zram not properly handling partial discard requests, leading to performance issues.
What systems are affected by CVE-2026-46089?
CVE-2026-46089 affects systems running the Linux kernel with zram support.
Who reported CVE-2026-46089?
CVE-2026-46089 was reported by Qu Wenruo and Avinesh Kumar.