
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."