{"id":"CVE-2025-21671","summary":"zram: fix potential UAF of zram table","details":"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-\u003etable without\nsetting it NULL.  Which will potentially cause zram_meta_free to access\nthe table if user reset an failed and uninitialized device.","modified":"2026-03-20T12:37:39.230754Z","published":"2025-01-31T11:25:34.546Z","related":["ALSA-2025:20095","ALSA-2025:20518","SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21671.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402"},{"type":"WEB","url":"https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21671.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21671"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ac3b5366b9b7c9d97b606532ceab43d2329a22f3"},{"fixed":"fe3de867f94819ba0f28e035c0b0182150147d95"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0b5b0b65561b34e6e360de317e4bcd031bfabf42"},{"fixed":"571d3f6045cd3a6d9f6aec33b678f3ffe97582ef"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6fb92e9a52e3feae309a213950f21dfcd1eb0b40"},{"fixed":"902ef8f16d5ca77edc77c30656be54186c1e99b7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"74363ec674cb172d8856de25776c8f3103f05e2f"},{"fixed":"212fe1c0df4a150fb6298db2cfff267ceaba5402"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21671.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}