CVE-2022-49796
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49796 is a vulnerability discovered in the Linux kernel's tracing subsystem, specifically affecting the kprobe functionality. The vulnerability was disclosed on May 1, 2025, and involves a potential null pointer dereference in the kprobe_event_gen_test_exit() function (NVD).

Technical details

The vulnerability occurs when test_gen_kprobe_cmd() fails after kprobe_event_gen_cmd_end(), triggering a goto delete operation that calls kprobe_event_delete() and releases the corresponding resource. The issue arises because the trace_array in gen_kretprobe_test continues to point to the invalid resource, potentially leading to a null pointer dereference. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5, indicating moderate severity (Red Hat, Wiz).

Impact

The vulnerability can result in a kernel NULL pointer dereference at address 0x70, which may lead to system crashes or denial of service conditions. This is particularly evident in the bug trace showing the crash in the _ftrace_set_clr_event_nolock function (NVD).

Mitigation and workarounds

The fix involves setting gen_kretprobe_test to NULL after calling kprobe_event_delete() to prevent the null pointer dereference. Red Hat Enterprise Linux 9 has deferred the fix for both kernel and kernel-rt packages (Red Hat).

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