CVE-2024-41004
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.99-1

Fixed

bullseye

linux-6.1: 6.1.119-1~deb11u1

Fixed

sid

linux: 6.9.7-1

Fixed

trixie

linux: 6.9.7-1

Fixed

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-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 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