CVE-2025-21671Published Jan 31, 2025 · Jan 31Updated Oct 28
zram: fix potential UAF of zram table
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
≥ 6.6.68 · < 6.6.74≥ 6.12.7 · < 6.12.11| No fix yet |
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.
From the CVE record · Linux
A failed zram metadata allocation can leave a freed table accessible. If a user resets the failed, uninitialized device, the kernel may access that table, causing a use-after-free. The input does not specify whether authentication is required.
Engineers running Linux kernels with zram should check their deployments; affected versions are not specified.