CVE-2025-21671

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

04 Feb 2025, 15:36

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-416
References () https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402 - () https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402 - Patch
References () https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef - () https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef - Patch
References () https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7 - () https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7 - Patch
References () https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95 - () https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: zram: se corrige el UAF potencial de la tabla zram. Si zram_meta_alloc falla antes, libera la tabla zram-> asignada sin configurarla como NULL. Esto potencialmente hará que zram_meta_free acceda a la tabla si el usuario reinicia un dispositivo fallido y no inicializado.
First Time Linux linux Kernel
Linux

31 Jan 2025, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-31 12:15

Updated : 2025-02-10 18:15


NVD link : CVE-2025-21671

Mitre link : CVE-2025-21671

CVE.ORG link : CVE-2025-21671


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free