{"id":"CVE-2025-21671","published":"2025-01-31T11:25:34Z","modified":"2026-05-11T21:04:11Z","title":"zram: fix potential UAF of zram table","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00216,"percentile":0.12285,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95","tags":[]},{"url":"https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef","tags":[]},{"url":"https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7","tags":[]},{"url":"https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.46},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ac3b5366b9b7c9d97b606532ceab43d2329a22f3, < fe3de867f94819ba0f28e035c0b0182150147d95",">= 0b5b0b65561b34e6e360de317e4bcd031bfabf42, < 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef",">= 6fb92e9a52e3feae309a213950f21dfcd1eb0b40, < 902ef8f16d5ca77edc77c30656be54186c1e99b7",">= 74363ec674cb172d8856de25776c8f3103f05e2f, < 212fe1c0df4a150fb6298db2cfff267ceaba5402"]},{"vendor":"Linux","product":"Linux","versions":[">= 6.1.122, < 6.1.127",">= 6.6.68, < 6.6.74",">= 6.12.7, < 6.12.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-10T17:11:50.678589Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-2620","exploited":false,"provenance":"source"}}