PT-2025-25934 · Linux+2 · Linux Kernel+2

Published

2022-08-20

·

Updated

2025-07-28

·

CVE-2022-50008

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 5.19.0+
Description A vulnerability in the Linux kernel has been identified, where the assumption in disable kprobe() is incorrect, leading to an attempt to disarm an already disarmed kprobe and triggering a WARN ONCE() warning. This issue can be reproduced by writing 0 to /sys/kernel/debug/kprobes/enabled, running execsnoop, and then writing 1 to /sys/kernel/debug/kprobes/enabled. The vulnerability can cause an infinite loop, resulting in RCU stall or soft lockup, when commands like cat /sys/kernel/debug/kprobes/list or /usr/share/bcc/tools/execsnoop are executed.
Recommendations To resolve the issue, ensure that disarm kprobe() is not called for disabled kprobes. For Linux kernel versions prior to 5.19.0+, update to a newer version that includes the fix for this issue. As a temporary workaround, consider disabling the disable kprobe() function until a patch is available. Restrict access to the /sys/kernel/debug/kprobes/enabled file to minimize the risk of exploitation. Avoid using the kprobes feature in the affected Linux kernel versions until the issue is resolved.

Exploit

Fix

Infinite Loop

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

Weakness Enumeration

Related Identifiers

BDU:2026-04559
CVE-2022-50008
SUSE-SU-2025:02264-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02334-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025_02334-1
SUSE-SU-2025_02537-1

Affected Products

Astra Linux
Linux Kernel
Suse