CVE-2025-21671

high

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.

References

https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95

https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7

https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef

https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402

Details

Source: Mitre, NVD

Published: 2025-01-31

Updated: 2025-02-04

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High