Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-53222

published

zram: fix NULL pointer in comp_algorithm_show()

Published
27 Dec 2024, 13:50:12 UTC
Updated
11 May 2026, 20:53:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < c7ee791e538537b281f60945298796f0a3971bbd · 7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < 843d366ff19708668d95cda16bb8aba109a93dba · 7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < f364cdeb38938f9d03061682b8ff3779dd1730e5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.84 through 6.6.* (unaffected · semver) · 6.12.2 through 6.12.* (unaffected · semver) · 6.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
AlmaLinux 10 kernel-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 libperf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 python3-perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rtla Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rv Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: zram: fix NULL pointer in comp_algorithm_show() LTP reported a NULL pointer dereference as followed: CPU: 7 UID: 0 PID: 5995 Comm: cat Kdump: loaded Not tainted 6.12.0-rc6+ #3 Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __pi_strcmp+0x24/0x140 lr : zcomp_available_show+0x60/0x100 [zram] sp : ffff800088b93b90 x29: ffff800088b93b90 x28: 0000000000000001 x27: 0000000000400cc0 x26: 0000000000000ffe x25: ffff80007b3e2388 x24: 0000000000000000 x23: ffff80007b3e2390 x22: ffff0004041a9000 x21: ffff80007b3e2900 x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: ffff80007b3e2900 x9 : ffff80007b3cb280 x8 : 0101010101010101 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000040 x4 : 0000000000000000 x3 : 00656c722d6f7a6c x2 : 0000000000000000 x1 : ffff80007b3e2900 x0 : 0000000000000000 Call trace: __pi_strcmp+0x24/0x140 comp_algorithm_show+0x40/0x70 [zram] dev_attr_show+0x28/0x80 sysfs_kf_seq_show+0x90/0x140 kernfs_seq_show+0x34/0x48 seq_read_iter+0x1d4/0x4e8 kernfs_fop_read_iter+0x40/0x58 new_sync_read+0x9c/0x168 vfs_read+0x1a8/0x1f8 ksys_read+0x74/0x108 __arm64_sys_read+0x24/0x38 invoke_syscall+0x50/0x120 el0_svc_common.constprop.0+0xc8/0xf0 do_el0_svc+0x24/0x38 el0_svc+0x38/0x138 el0t_64_sync_handler+0xc0/0xc8 el0t_64_sync+0x188/0x190 The zram->comp_algs[ZRAM_PRIMARY_COMP] can be NULL in zram_add() if comp_algorithm_set() has not been called. User can access the zram device by sysfs after device_add_disk(), so there is a time window to trigger the NULL pointer dereference. Move it ahead device_add_disk() to make sure when user can access the zram device, it is ready. comp_algorithm_set() is protected by zram->init_lock in other places and no such problem.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

31

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < c7ee791e538537b281f60945298796f0a3971bbd (affected · git)7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < 843d366ff19708668d95cda16bb8aba109a93dba (affected · git)7ac07a26dea79c3892436bce41cce03dcbd3c4c7 to < f364cdeb38938f9d03061682b8ff3779dd1730e5 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.84 through 6.6.* (unaffected · semver)6.12.2 through 6.12.* (unaffected · semver)6.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

zram: fix NULL pointer in comp_algorithm_show()

Provenance

Schema
5.2
Searchable
yes
Content hash
4c3b1226c632ba9c6c0433048fb32eb1077b0ac92d97495e1e90f5ec6917e864
Ingested
23 Sep 2026, 08:30:55 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected