CVE-2026-89716: zram: validate deflate params
In the Linux kernel, the following vulnerability has been resolved:
zram: validate deflate params
We must validate user-supplied deflate winbits before we pass it to zlibdeflateworkspacesize(), which triggers BUGON() if winbits value is outside of valid ranges.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
Validate user-supplied zram deflate winbits before passing it to zlib_deflate_workspacesize(), rejecting values outside the valid ranges to prevent BUG_ON().
Event History
Frequently Asked Questions
What condition is required to trigger the kernel failure?
An attacker or local user must be able to supply a deflate winbits value to zram that falls outside the valid range. The invalid value reaches zlib_deflate_workspacesize(), which triggers a BUG_ON().
What is the likely impact of successful exploitation?
The described behavior triggers a kernel BUG_ON(), which can cause a system crash or denial of service.
How can I determine whether a system is affected?
Review the Linux kernel version and applied stable patches against the referenced fixes. Systems that allow user-supplied zram deflate parameters and do not include the validation change may be affected.