CVE Database›Document archive›CVE-2024-35955

CVE-2024-35955

kernel: kprobes: Fix possible use-after-free issue on kprobe registration

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 20, 2024

Updated · November 21, 2025

Description

A vulnerability was found in the Linux kernel's kprobes functionality, where a use-after-free issue could occur during kprobe registration when unloading a module. The problem arises due to the module's state changing from MODULE_STATE_LIVE to MODULE_STATE_UNFORMED between two address checks (is_module_text_address() and __module_text_address()). This can result in a failed address check and the attempt to modify a non-existent module text address, leading to a use-after-free.

Statement

Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified