
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-41004 affects the Linux kernel's tracing subsystem, specifically related to event generation tests. The vulnerability was discovered in July 2024 and involves an issue where kprobes and synth event generation test modules could leave events locked in the kernel when built as built-in modules rather than loadable modules (Kernel Git).
The vulnerability occurs when kprobes and synth event generation test modules are built as built-in modules instead of loadable modules. These modules add events and lock (get a reference) event file references in the module init function, and are designed to unlock and delete them in the module exit function. When built into the kernel rather than as loadable modules, these events remain permanently locked and cannot be removed, leading to kprobe event self-test failures and ftracetest failures (Kernel Git).
The vulnerability can cause system instability through kprobe event self-test failures and ftracetest failures. When the affected test modules are built into the kernel, it results in permanently locked events that cannot be properly cleaned up, potentially affecting system tracing functionality (Kernel Git).
The issue is primarily a system stability concern rather than a security vulnerability, as it affects test modules and requires specific kernel build configurations. The vulnerability is triggered during system initialization when the affected test modules are built into the kernel rather than as loadable modules (Kernel Git).
The vulnerability has been patched by modifying the kernel configuration to ensure these test modules are only built as loadable modules. The fix involves adding a dependency in the Kconfig file that forces these test modules to be built as modules by adding '&& m' to their configuration options (Kernel Git). The fix has been incorporated into various Linux distributions, including Debian and Ubuntu (Debian LTS, Ubuntu Security).
Fix availability across major Linux distributions and their releases.
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."