{"id":"CVE-2025-21671","aliases":["CVE-2025-21671"],"related":[],"kind":"vulnerability","state":"published","title":"zram: fix potential UAF of zram table","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix potential UAF of zram table\n\nIf zram_meta_alloc failed early, it frees allocated zram->table without\nsetting it NULL.  Which will potentially cause zram_meta_free to access\nthe table if user reset an failed and uninitialized device.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix potential UAF of zram table\n\nIf zram_meta_alloc failed early, it frees allocated zram->table without\nsetting it NULL.  Which will potentially cause zram_meta_free to access\nthe table if user reset an failed and uninitialized device.","source":"cvelist"},{"lang":"es","text":"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-&gt; 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.","source":"nvd"}],"published":"2025-01-31T11:25:34.546Z","modified":"2026-06-17T08:43:58.957Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"ac3b5366b9b7c9d97b606532ceab43d2329a22f3","fixed":"fe3de867f94819ba0f28e035c0b0182150147d95","status":"affected"},{"type":"git","introduced":"0b5b0b65561b34e6e360de317e4bcd031bfabf42","fixed":"571d3f6045cd3a6d9f6aec33b678f3ffe97582ef","status":"affected"},{"type":"git","introduced":"6fb92e9a52e3feae309a213950f21dfcd1eb0b40","fixed":"902ef8f16d5ca77edc77c30656be54186c1e99b7","status":"affected"},{"type":"git","introduced":"74363ec674cb172d8856de25776c8f3103f05e2f","fixed":"212fe1c0df4a150fb6298db2cfff267ceaba5402","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.1.122","fixed":"6.1.127","status":"affected"},{"type":"semver","introduced":"6.6.68","fixed":"6.6.74","status":"affected"},{"type":"semver","introduced":"6.12.7","fixed":"6.12.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.122","fixed":"6.1.127"},{"status":"affected","introduced":"6.6.68","fixed":"6.6.74"},{"status":"affected","introduced":"6.12.7","fixed":"6.12.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-10T17:11:50.678Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21671","url":"https://www.cve.org/CVERecord?id=CVE-2025-21671","licence":"CVE Terms of Use","modified":"2026-05-11T21:04:11.691Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21671","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21671","licence":"Public domain","modified":"2026-06-17T08:43:58.957Z"}],"updatedAt":"2026-11-25T22:58:53.712Z","epss":{"score":0.00216,"percentile":0.12803,"date":"2026-12-01T12:00:22.000Z"}}