CVE-2022-50008
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-50008) was identified in the Linux kernel related to kprobes functionality. The issue was discovered in the __disable_kprobe() function where incorrect assumptions could lead to attempting to disarm an already disarmed kprobe, triggering a WARN_ONCE() condition (NVD).

Technical details

The vulnerability stems from an incorrect assumption in __disable_kprobe() where it attempts to disarm an already disarmed kprobe. When kprobes_all_disarmed is set to false but the kprobe remains disabled, __disable_kprobe() incorrectly calls disarm_kprobe() for the disabled kprobe. This triggers a WARN_ONCE() in __disarm_kprobe_ftrace() and can lead to missing cleanups, leaving the aggregated kprobe in the hash table, which creates an infinite loop in the kprobe list structure (NVD, Wiz).

Impact

The vulnerability can result in infinite loops when executing certain commands like 'cat /sys/kernel/debug/kprobes/list', leading to RCU stalls or soft lockups. Additionally, when running tools like execsnoop, the issue can cause system warnings and potential memory corruption due to improper cleanup of kprobe structures (NVD, Wiz).

Mitigation and workarounds

The fix involves ensuring that disarm_kprobe() is not called for disabled kprobes. This prevents the incorrect attempt to disarm already disarmed kprobes and avoids the subsequent issues with cleanup and infinite loops (Wiz).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management