CVE-2022-49802
Linux Kernel vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability (CVE-2022-49802) was discovered in the Linux kernel's ftrace functionality. The vulnerability was disclosed on May 1, 2025, affecting the ftrace_add_mod() function where the ftrace_mod structure, allocated by kzalloc(), has uninitialized list members that can lead to a null pointer dereference when kstrdup() fails for ftrace_mod->{func|module} members (NVD, Wiz).

Technical details

The vulnerability occurs when the ftrace_mod structure is allocated using kzalloc(), resulting in NULL values for both prev and next members of ftrace_mode->list. When kstrdup() fails for ftrace_mod->{func|module}, the code execution moves to the @out_free tag and calls free_ftrace_mod() to destroy @ftrace_mod. Subsequently, list_del() attempts to write to prev->next and next->prev, leading to a null pointer dereference. This manifests as a kernel panic with the message 'BUG: kernel NULL pointer dereference, address: 0000000000000008' (NVD).

Impact

When triggered, this vulnerability results in a kernel panic, causing system instability and potential denial of service. The issue affects the Linux kernel's ftrace functionality, which is a core kernel feature used for function tracing and debugging (Wiz).

Mitigation and workarounds

The vulnerability has been fixed by properly initializing the list members using INIT_LIST_HEAD() to initialize the list member before any potential failure points. System administrators should apply the appropriate kernel updates that include this fix (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-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 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