Linux Kernel Zram Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the zram component of the Linux kernel. This issue arises because, if the zram_meta_alloc function fails early, the allocated zram->table is freed but not set to NULL. As a result, there is a potential for the zram_meta_free function to access the table, particularly if the user resets a device that has failed and remains uninitialized.

Impact

Exploitation of this vulnerability could lead to a use-after-free condition, which may be exploited to cause memory corruption or execute arbitrary code.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.