What’s Vulnerable › Vulnerabilities

CVE-2025-21671: zram: fix potential UAF of zram table

Description

In the Linux kernel, the following vulnerability has been resolved: zram: fix potential UAF of zram table If zram_meta_alloc failed early, it frees allocated zram->table without setting it NULL. Which will potentially cause zram_meta_free to access the table if user reset an failed and uninitialized device.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.127, 6.12.11, 6.6.74. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21671 or the next vulnerability affects your stack