CVE-2024-42239
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's BPF timer cancellation mechanism has been identified as CVE-2024-42239. The issue affects Linux kernel versions from 5.15 up to (excluding) 6.6.41 and from 6.7 up to (excluding) 6.9.10. The vulnerability was discovered in July 2024 and involves a potential deadlock situation in the bpf_timer_cancel functionality (NVD).

Technical details

The vulnerability occurs when two BPF timer callbacks attempt to cancel each other's timers simultaneously. Given a scenario where timer1 and timer2 callbacks are executing, if bpf_timer_cancel(timer2) and bpf_timer_cancel(timer1) are called, both cancellation calls would wait for the other callback to finish executing, introducing a lockup. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Kernel Patch).

Impact

The vulnerability can lead to a denial of service condition through a deadlock in the kernel's BPF timer subsystem. When exploited, it can cause system lockups due to timer callbacks becoming deadlocked while attempting to cancel each other (NVD).

Exploitability

The vulnerability requires local access and can be triggered when BPF timer callbacks attempt to cancel each other while executing in parallel. The attack complexity is considered low, but it requires local user privileges to exploit (NVD).

Mitigation and workarounds

The vulnerability has been patched by adding an atomic_t count named 'cancelling' in bpf_hrtimer to track in-flight cancellation requests. The fix implements a mechanism to detect potential deadlock situations and fail the cancellation operation with -EDEADLK error when necessary. Users should update to Linux kernel versions 6.6.41, 6.9.10, or later to receive the fix (Kernel Patch).

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-68422NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68399NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68398NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68376NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68374NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 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