PT-2024-35670 · Linux+5 · Linux Kernel+5

Published

2024-11-08

·

Updated

2025-11-11

·

CVE-2024-53222

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.12.0-rc6+
Description A NULL pointer dereference vulnerability has been resolved in the Linux kernel. The issue occurs in the zram component, specifically in the comp algorithm show() function. This vulnerability can be triggered when a user accesses the zram device through sysfs after device add disk() has been called, but before comp algorithm set() has been invoked. The zram->comp algs[ZRAM PRIMARY COMP] can be NULL in zram add() if comp algorithm set() has not been called, leading to a NULL pointer dereference.
The vulnerability was reported by LTP, which detected a NULL pointer dereference. The call trace includes functions such as pi strcmp(), comp algorithm show(), dev attr show(), and sysfs kf seq show().
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, update to a version later than 6.12.0-rc6+.
As a temporary workaround, consider restricting access to the zram device through sysfs until the update can be applied. This can help minimize the risk of exploitation.
Note: The exact version that includes the fix is not specified, so it is recommended to update to the latest available version of the Linux kernel.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025:20095
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2025-12647
AZL-55192
BDU:2025-07748
CVE-2024-53222
INFSA-2025_6966
OESA-2025-1110
OESA-2025-1111
OESA-2025-1113
OESA-2025-1114
OPENSUSE-SU-2025_0117-1
OPENSUSE-SU-2025_0153-1
OPENSUSE-SU-2025_0154-1
RHSA-2025:20095
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2025:0117-1
SUSE-SU-2025:0153-1
SUSE-SU-2025:0154-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu